By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,069 Members | 1,716 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,069 IT Pros & Developers. It's quick & easy.

Ajax contol

P: n/a

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

Unknown server tag 'ajax:UpdatePanel

May 7 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
bb****@yahoo.com-

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/C...plication.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 Developer
http://blog.tiredstudent.com
When I add updatePanel control in my aspx page it gives me following
error.

Unknown server tag 'ajax:UpdatePanel

May 7 '07 #2

P: n/a
You need to add the AJAX entries to your web.config file.
Here's more info:
http://ajax.asp.net/docs/ConfiguringASPNETAJAX.aspx

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net

<bb****@yahoo.comwrote in message
news:11**********************@e51g2000hsg.googlegr oups.com...
>
When I add updatePanel control in my aspx page it gives me following
error.

Unknown server tag 'ajax:UpdatePanel
May 7 '07 #3

P: n/a
On May 7, 2:52 pm, David Longnecker <dlongnec...@community.nospam>
wrote:
bba...@yahoo.com-

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
When I add updatePanel control in my aspx page it gives me following
error.
Unknown server tag 'ajax:UpdatePanel- Hide quoted text -

- 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" %>

May 7 '07 #4

P: n/a
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

---
David R. Longnecker
Web Developer
http://blog.tiredstudent.com
On May 7, 2:52 pm, David Longnecker <dlongnec...@community.nospam>
wrote:
>bba...@yahoo.com-

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
>>When I add updatePanel control in my aspx page it gives me following
error.

Unknown server tag 'ajax:UpdatePanel- Hide quoted text -
- 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" %>

May 8 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.