Click here to Skip to main content
15,897,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I created a website using Asp.net(C#)

I want to use ajax toolkit in my project, I added update panel and put all the controls in it to avoid page refreshing. And added ajax assembly file in html part,but when i created update panel, Asp assembly file also created automatically. When I deleted it, it makes an error "Unknown Server Tag asp"

When the assembly tag is used,it works finely but the ajax is not working.

Kindly give me the steps to add ajax to a website.

Kishore R
Posted
Updated 21-Jul-10 21:42pm
v2

Dude, you don't need to drag-drop the Ajax assembly in the HTML page.

Follow the steps:
1. Refer the ajaxToolkit assembly in your project.
2. Go to designer of ASPX.
3. Drag/double-click the toolkit control you want to use

Done!
By doing step 3, automatically assembly tag reference will be shown in HTML. Don't remove it.

Now, assuming, all the needed controls are in UpdatePanel, run the application.
 
Share this answer
 
hey...
Which version of vs are you using, if you are using vs 2005 or later then you no need to add any reference for ajax.
Simply drag scriptManager toolkit and update panel from toolbox and

enjoy working without referesh.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900