PC Review


Reply
Thread Tools Rate Thread

Adding httphandler in Web.config file

 
 
Valli
Guest
Posts: n/a
 
      10th Oct 2007
Hi,

I am new to asp.net

I have a created a new project & a new form containing a ScriptManager,
Updatepanel, Textbox, Button.
When I execute this page, the button click event fires. But in the status
bar , a warning message gets displayed. The messsage was 'sys is not
defined'. I viewed the source of the page.The error statement is -
Sys.WebForms.PageRequestManager._initialize('ScriptManager1',
document.getElementById('form1'));

So I added an httphandler in Web.config file to fix the error in the status
bar.
The httphandler added is
<httpHandlers>
<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>

After this, I didnt get the error in the status bar. But the button click
does not work now. I found that the Button is not working since it is placed
inside the Updatepanel,

What is this Httphandler means? Why this is not firing the Button click
event inside the updatepanel?

When I copy the same project in another pc, the button click works fine even
when the httphandler is added to web.config file.
But its not working in my pc.

My main objective is to fix the error in the status bar.

Can anybody help me?

--
Regards
Valli


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding property to the app config file Sharon Microsoft C# .NET 10 4th Jan 2010 03:10 AM
Adding user credentials to web.config file Andrus Microsoft C# .NET 2 28th Apr 2009 01:16 PM
App wont run when adding 'appSettings' to config file moondaddy Microsoft Dot NET 7 29th Mar 2007 03:59 AM
adding a HTTPHandler ASP.NET 2.0 Alexandre Microsoft ASP .NET 2 1st Feb 2006 01:58 AM
Is there a way to add httpHandler programmatically instead of web.config Konstantin Microsoft ASP .NET 0 8th Jul 2004 06:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:29 AM.