




Want to learn .NET but don’t know where to start? Well.. visit www.dotNETProgrammers.net a community for .NET developers. The .NET board is pretty new so don’t expect a lot of posts but it’s growing as we speak




This code snippet has been sponsored by FruitfulTime. Try out FruitfulTime ProductivityMeter Business Editiona employee monitoring software




This code snippet has been sponsored by FruitfulTime. Try out FruitfulTime TaskManager a to do list software




1. Register your handler
2. Log information about the unhandled exception. You can write the information to console or to a log file
This code snippet has been sponsored by FruitfulTime. Try out FruitfulTime TaskManager a task list software




.png)
For those that wonder how to use the UpdatePanel component in visual studio 2005 without getting an annoying 'sys' is undefined error message, this is how to get it working.
First of all u need to download the ASP.NET AJAX 1.0 here (ASPAJAXExtSetup.msi) and install it. After that you need to create a webproject and edit the web.config file so that it looks like this:
<?xml version="1.0"?>
<configuration>
<appSettings/>
<connectionStrings/>
<system.web>
<compilation debug="true">
<assemblies>
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</assemblies>
</compilation>
<authentication mode="Windows"/>
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</httpModules>
</system.web>
</configuration>
In your *.aspx file, drag and drop the ScriptManager, UpdatePanel and drap & drop a Label and a Button inside teh UpdatePanel.
Next, create a class and paste this method in the class file:
More »


More Options ...
Categories
Tag Cloud
Blog RSS
Comments RSS

Void « Default
Life
Earth
Wind
Water
Fire
Light 