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:614254
More Search Options
RSS Available
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)
Silverlight:
Polling Video – A Viable sub-second alternative?
TechNet Edge:
Windows Server 2008 R2 Quick Look #2 - Active Directory Recycle Bin
Channel 10:
I'm a Windows 7 PC Themes
Channel 10:
24 Years of Windows Box Art
WindowsClient:
Silverlight tutorial: HOW TO build CommandLink Control in Silverlight with Expression Blend 3 and Behaviors
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
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online