KoenV

Browse by Tags

All Tags » ASP.NET (RSS)
Error pages in ASP.NET
In ASP.NET you can retrieve the last unhandled exception via: ( HttpContext .Current.)Server.GetLastError() // Server object is available as a property in Page and UserControl context This obviously only works in the same roundtrip. If you want to retrieve...
DataSource parameter for code-behind property
Here's some code for a server control "PropertyParameter" that you can use as a SelectParameter in your xyzDataSource that binds (one-way!) to a property value that is defined in code behind. This is something I need sometimes and isn't available out...
CS0426: The type name 'Web' does not exist in the type 'ASP....
I've been having this problem with ASP.NET themes that block my web applications from working. I always get this error when opening any page: CS0426: The type name 'Web' does not exist in the type 'ASP.Foo' . When I set the default language to vb (web...
Posted: Feb 12 2008, 06:03 PM by koevoeter | with 1 comment(s)
Filed under:
More Posts