Search

You searched for the word(s): userid:854096

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)