Search

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

Matching Posts

  • Re: Error Handling in global.asax

    I found out i was only missing a line of code (ctx.Server.ClearError();) to get it to display my custom error view intead of the default asp.net yellow screen of death. This code in the global.asax.cs will work on IIS6 and on IIS7 with the default app pool in the integrated pipeline mode. So no fussing with or need to do any of the following: - decorating controllers or action methods with the HandleError attribute. - subclassing every controller in a base controller class that overrides the OnException
    Posted to ASP.NET MVC (Forum) by jackh on 12/22/2009
  • Re: Error Handling in global.asax

    Thanks Ricka6. We're trying to avoid using customErrors in the web.config and decorating controllers with the HandlerError attribute. I tried subclassing all controllers in a custom controller base class that overrides the OnException method as follows. It works in all situations, but this being that it will catch only errors in controllers. It would be nice to be able to show the error view from the global.asax's Error event handler itself. Thanks again. protected override void OnException
    Posted to ASP.NET MVC (Forum) by jackh on 12/19/2009
  • Error Handling in global.asax

    Hi all, I'm currently trying to centralize error handling in the global.asax in my asp.net MVC app. It has the following code to display a custom Error view in the default location (~/Views/Shared/Error.aspx) without using the HandleError attribute in the Controllers and specifying the <customErrors> node in the web.config. The code works under the following conditions: - Visual studio 2008 built-in development Web Server - IIS 6 with wildcard script mapping. - IIS 7 with classic pipeline
    Posted to ASP.NET MVC (Forum) by jackh on 12/18/2009
  • Controls working in the UpdatePanel

    Dear all, I've been looking through this forum trying to find a post that lists the ASP.NET 2.0's intrinsic controls that are known to be working when placed inside the current version of UpdatePanel. Anyone has a list of the controls supported by the UpdatePanel? The control I am particularly interested in is the GridView working in the UpdatePanel. Thanks a lot.
    Posted to ASP.NET AJAX UI (Forum) by jackh on 10/26/2006
    Filed under: updatepanel
  • Re: Sys.WebForms.PageRequestManagerParserErrorException

    Not being able to use response.write or the controls that use it, i feel, is rather limiting. I hope this is an issue that the asp.net ajax team is currently working on.
    Posted to ASP.NET AJAX UI (Forum) by jackh on 10/24/2006
  • Re: Sys.WebForms.PageRequestManagerParserErrorException

    Thanks a lot for all your inputs. I was able to resolve the PageRequestManagerParserErrorException error message issue by including all the involving dropdownlists (asp:DropDownList) in the UpdatePanel, not just the ones that do postback on selectedIndexChanged. That made the PageRequestManagerParserErrorException message box go away. However, i do encounter something else with the PageRequestManagerParserErrorException. I found out that if i select something from the dropdownlists and make the dropdownlist
    Posted to ASP.NET AJAX UI (Forum) by jackh on 10/24/2006
  • Sys.WebForms.PageRequestManagerParserErrorException

    Hi all, I have an aspx page that uses a nested master page. On that page, I added an UpdataPanel to house a few DropDownLists whose selected values depend on the selected values of other DropDownList within the same UpdatePanel. On first partial update of the page in the UpdatePanel when a value is selected from a DropDownList, all the DropDownLists updated correctly without incident. However, on the second select of a DropDownList, I get the following error on a popup message box: Sys.WebForms.PageRequestManagerParserErrorException
    Posted to ASP.NET AJAX UI (Forum) by jackh on 10/24/2006
    Filed under: asp.net ajax, udpdatepanel partialrendering
  • Re: cant log in... help please....

    Howdy everyone, I am having the same problem as zuzu. Entering in a valid user and password keeps making the default page refresh and display the same login controls. The only time I am getting the proper behaviour is when the site is running within the localhost (i.e. http://localhost ). Anyone have any ideas on how to fix this? I am runnung the PWS on IIS with SQL Server 2000 and VS.NET 2005 Beta 2 June 2005 CTP. Thanks.
    Posted to Personal Site Starter Kit (Forum) by jackh on 6/23/2005
Page 1 of 1 (8 items)