Last post Jan 16, 2014 08:00 AM by valuja
Jan 15, 2014 05:23 AM|pecko2006|LINK
I am trying to add a file - AjaxControlToolkit.config to the root of the application in ASP.NET and when i type in the first tag <ajaxControlToolkit> in that config file, it gives me an error saying the element is not declared. I tried to build and rebuild
the project but no luck. Do i need to declare something in the web.config. i added CombineScriptsHandler.axd in the web.config.
All the ajax controls work as expected when i run the project but i wanted to speed it up a bit by creating the ajaxControlToolkit.config file but i can`t.
Am i missing something?
Thanks for your reply
Jan 16, 2014 03:03 AM|Fuxiang Zhang - MSFT|LINK
Thank you post the issue to asp.net forum.
According to your description, I see you want to define an AjaxControlToolkit.config file and define the control bundles
for improve your web ability.
<control name="CalendarExtender" />
<control name="ComboBox" />
For this issue, Stephen has writed an article for how to do it.
You can also refer to below toturial and take more information.
Hope this helps, thanks.
Jan 16, 2014 07:20 AM|pecko2006|LINK
Thanks for your reply.
I followed Stephen instructions but when i type in the <ajaxControlToolkit> up the top, i get a blue squiggly line underneath saying "the tag element is not declared". The project builds successfully but the blue line is not going away, therefore i am not
sure if the ajaxControlToolkit.config file is effective or not.
Jan 16, 2014 08:00 AM|valuja|LINK
The blue line is only Visual Studios way of saying that it can not find any source for the intellisence functionality, so the file may still be ok but you won't get any intellisence.