Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Adding httphandler in Web.config file

Reply
Thread Tools

Adding httphandler in Web.config file

 
 
Valli
Guest
Posts: n/a
 
      10-10-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('Scrip tManager1',
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

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
Programatically adding an HTTPHandler Steve C. Orr [MVP, MCSD] ASP .Net Building Controls 1 05-31-2006 10:04 PM
adding a HTTPHandler ASP.NET 2.0 Alexandre ASP .Net 2 02-01-2006 01:58 AM
ASP.NET Httphandler and file names with ampersand = 404 Error. Please help. Prasanna Padmanabhan ASP .Net 1 07-08-2004 02:30 PM
httphandler url rewriting not working : The system cannot find the file specified. Brian ASP .Net 0 06-19-2004 07:23 AM
What happens if more than one HttpHandler is registered for a file type? Peter Rilling ASP .Net 4 08-04-2003 04:37 PM



Advertisments