Question:
Asp.net /Ajax Problem?
Nirmo
2008-09-06 01:17:39 UTC
hi

when i inserted ajax update panel or script manger i was given following error....

Error 2 Element 'UpdatePanel' is not a known element. This can occur if there is a compilation error in the Web site. C:\Documents and Settings\admin\Desktop\BDSGame\BDSWebUI\test123.aspx 3 10 C:\...\BDSWebUI\

and also i dnt get folowing dll's added to My web site bin as i have seen in other ajax projects

web.extentions.design.dll

system.web.extentions.dll



i used visual studio 2005 and instaleed asp.net ajax 1.0 extention

please gve me a favorable reply
Three answers:
bassthathz
2008-09-06 02:51:44 UTC
I fairly sure that the System.web.extentions namspace defines the UpdatePanel element, and since that dll is not referenced that's why it is causing compile errors.



Your web.config might be corrupt.



Delete the .Net Temp files and do a build and then rebuild.



Try creating a new web project, if the error still happens then you have install problems. This is microsoft, so try rebooting :)
goodman
2008-09-06 15:31:38 UTC
I Guess you started a project and later installed your ajax extensions.

so your web.config doesnt have all the required assemblies.



1. create a new website , by selecting ASP.net Ajax enabled website a new web.config file will be created.



2. now copy all the difference from this to your existing web.config file.



3. now rebuild your project.
skl8159
2008-09-06 09:14:50 UTC
Please visit www.asp.net


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...