Ajax contol

  • Thread starter Thread starter bbawa1
  • Start date Start date
B

bbawa1

When I add updatePanel control in my aspx page it gives me following
error.

Unknown server tag 'ajax:UpdatePanel
 
(e-mail address removed)-

When you added your UpdatePanel control, was your page aware of the AJAX
framework already?

If you are creating a new web project, be sure to use the AJAX-Enabled version
(found under your language of choice). Further information can be found
at http://ajax.asp.net/docs/tutorials/CreateSimpleAJAXApplication.aspx.

If you have an existing web site that you need to add AJAX to, you can find
the web.config information to add at: http://ajax.asp.net/docs/ConfiguringASPNETAJAX.aspx.

A quick way to verify would be to look at the top of your .aspx page for
the Register tag. Using v2.0 of AJAX, it should look similar to:

<%@ Register Assembly="System.Web.Extensions, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %>

HTH.

-dl
 
(e-mail address removed)-

When you added your UpdatePanel control, was your page aware of the AJAX
framework already?

If you are creating a new web project, be sure to use the AJAX-Enabled version
(found under your language of choice). Further information can be found
athttp://ajax.asp.net/docs/tutorials/CreateSimpleAJAXApplication.aspx.

If you have an existing web site that you need to add AJAX to, you can find
the web.config information to add at:http://ajax.asp.net/docs/ConfiguringASPNETAJAX.aspx.

A quick way to verify would be to look at the top of your .aspx page for
the Register tag. Using v2.0 of AJAX, it should look similar to:

<%@ Register Assembly="System.Web.Extensions, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %>

HTH.

-dl

---
David R. Longnecker
Web Developerhttp://blog.tiredstudent.com





- Show quoted text -

Yes, I verified my page The follwing code is there in my aspx page
but still I have this error.

<%@ Register Assembly="System.Web.Extensions, Version=2.0.0.0,
Culture=neutral,
PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI"
TagPrefix="asp" %>
 
Your prefix...
<%@ Register Assembly="System.Web.Extensions, Version=2.0.0.0,
Culture=neutral,
PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI"
TagPrefix="asp" %>

You have a tagprefix of asp

Your said your panel is:
Unknown server tag 'ajax:UpdatePanel-

Try changing it to asp:UpdatePanel. The TagPrefix and your server tags must
match.

-dl
 
Back
Top