User control using AJAX Control Toolkit
-
Hi all, I have just started using Ajax controls toolkit. Now i have a couple of questions: 1) Can we write javascripts for user controls? 2) Can i add user controls to a web page which uses AJAX Toolkit controls? The problem that i am facing is, whenever i add the register tag in the page to register the user control, Visual studio hangs and further my machine does not responds, i have to restart the machine. I don't know what is causing this.... Please if someone cud answer the above questions and also tell me how do i add the usercontrol on a page.
Thanks & Regards, Pramod "Everyone is a genius at least once a year"
-
Hi all, I have just started using Ajax controls toolkit. Now i have a couple of questions: 1) Can we write javascripts for user controls? 2) Can i add user controls to a web page which uses AJAX Toolkit controls? The problem that i am facing is, whenever i add the register tag in the page to register the user control, Visual studio hangs and further my machine does not responds, i have to restart the machine. I don't know what is causing this.... Please if someone cud answer the above questions and also tell me how do i add the usercontrol on a page.
Thanks & Regards, Pramod "Everyone is a genius at least once a year"
Yadav Pramod wrote:
Can we write javascripts for user controls?
Of course.
Yadav Pramod wrote:
Can i add user controls to a web page which uses AJAX Toolkit controls?
Also, of course. ASP.NET is just an engine for HTML and javascript. The end page does not care where the script came from . If you can't write your own AJAX, if you must let the toolkit do it for you, then you probably need to take some care not to stomp what it does with your script, that's the risk of using a black box. But, there's no reason you can't do it, and probably little chance you'll break anything.
Yadav Pramod wrote:
and also tell me how do i add the usercontrol on a page.
The same way you always have. You're surely not playing with the AJAX toolkit prior to knowing how to define your own control ?
Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp