Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:854096
More Search Options
RSS Available
Matching Posts
Re: UpdatePanel alert not showing when server exception thrown
Hi there, Thanks for the response. I realise that int res = a/b will throw the exception, but this is the point of this example. I've taken the code 'as is' from the example Microsoft have on their site called 'Customizing Error Handling for ASP.NET UpdatePanel Controls' which can be seen here 'http://msdn.microsoft.com/en-us/library/bb398934.aspx'. In their example, they say at step10 an alert box should be shown with the message. However, I don't get this - I get
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
dezza
on 2/9/2009
Re: UpdatePanel alert not showing when server exception thrown
Thanks for the response. The idea behind the example is to show that an alert() is shown by the update panel when a server side exception is thrown. Thus I am expecting an exception to be thrown when I enter 12/0, but I am also expecting the update panel to show an alert() which it does not. I'm trying to work out why the alert() is not shown. Thanks
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
dezza
on 2/9/2009
UpdatePanel alert not showing when server exception thrown
XP 32bit Visual Studio 2008 .NET 3.5 SP1 IE 7.0 I have not installed the AJAX toolkit from this site - I am using what came 'out of the box' with Visual Studio 2008. I am attempting a simple test with the UpdatePanel. I have set up the example outlined here: http://msdn.microsoft.com/en-us/library/bb398934.aspx However, when I cause an exception to be thrown on the server (by performing a calculation like 12/0), the alert box is not shown. Instead the text 'Error on page.' is shown
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
dezza
on 2/9/2009
Filed under: Update Panel Events, "Visual Studio 2008", Alert, UpdatePanel
Page 1 of 1 (3 items)
ASP.NET:
Converting an RGB Color To Hex With JavaScript
Silverlight:
Silverlight HVP Design – Configuration & Scenarios
Channel 9:
Channel 9 Live at PDC09: Day 3 Welcome
Channel 9:
Channel 9 Live at PDC09: TWoC9 Day 3
Channel 10:
Microsoft's Mobicast: Stiched Cell Streams
Channel 10:
Festive Bing
TechNet Edge:
How Microsoft Reduces Operational Risk through Business Continuity Management
Channel 9:
Jeffrey Van Gogh and Bart De Smet: Inside System.Interactive
WindowsClient:
Runtime Fault Injection using TestAPI
TechNet Edge:
TechNet Radio: Community Corner with John Weston (Episode 1)
TechNet Edge:
Windows Firestarter Events (Part 3 of 5): IE8 - Browse the Web in Style!
WindowsClient:
The year ahead, 2010.
TechNet Edge:
FOPE Policies Deep Dive Interview
Silverlight:
Silverlight HVP Design Update
WindowsClient:
Windows Client Developer Roundup for 12/28/2009
WindowsClient:
Snoop with 64 bit support
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online