I notice that my asp.net project comes with UpdatePanels and a few other controls, but if I want other controls, like an extender that converts a textbox into a full-fledged html editor, I have to use the Ajax Control Toolkit from Codeplex.
The problem I run into is this.
Suppose my web page needs an update panel. If I drag in onto the form, I get an "asp:" prefix to it. It also requires that I drag a "scriptmanager" to the form. That also has an "asp:" prefix.
Now, suppose in the same form I want to put in the full-fledged html editor I mentioned above.
To do that, I have to download the ajaxcontroltoolkit using the Nuget package manager, and install it in my project. I drag the html-extender onto my form, and it does not have the "asp:" prefix, instead it has the "ajaxcontroltoolkit:" prefix. And it then demands that I also drag a "toolkitscriptmanager", which ALSO has the "ajaxcontroltoolkit" prefix. When I compile and run this, I get an error message that I can only have one script manager on a page.
Looking at my web.config, I notice that Nuget put in the following line:
<add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />
So what I'd like to know is, how do I resolve this? How can I use both native and codeplex controls in the same page?
Thanks.