30 August 2008

If you want to apply theme to Ajax Controls Toolkit, You may get following error.


Parser Error


Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Unknown server tag 'ajaxToolkit:ControlName'.


This is because it is required to register all custom user controls in to the web.config file.

So, under "pages" element create "controls" and add folofing tag in to it.

add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" tagPrefix="ajaxToolkit"/>

Done, refresh the page. error is solved.

0 comments :

Post a Comment