Last post Jul 20, 2012 06:32 AM by Keyur Shah
Jul 20, 2012 05:38 AM|philos|LINK
per this link: http://ajaxcontroltoolkit.codeplex.com/
there is the suggestion:
"Next, for example, register the AjaxControlToolkit at the top of the page (or in the web.config for the whole project)"
what is the appropriate statement to use in the web.config?
Jul 20, 2012 05:40 AM|Keyur Shah|LINK
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="AjaxControlToolkit" %>
Write this at top of the page in .aspx file.
Jul 20, 2012 05:48 AM|philos|LINK
thanks, i do already have this statement at the top of the aspx file, but was interested in registering for the entire solution in web.config.
pasting the this statement in the web.config gives me errors:
"Illegal syntax. Expecting valid start name character."
Jul 20, 2012 05:58 AM|Keyur Shah|LINK
<compilation debug="true" targetFramework="4.0">
<add assembly="System.Windows.Forms, Version=126.96.36.199, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Write this in web.config
Jul 20, 2012 06:13 AM|philos|LINK
i do have this line in the web.config. looks like by using one of the controls in an aspx page, the web.config is updated automatically.
i am good to go. thank you!
Jul 20, 2012 06:15 AM|Ajay2707|LINK
if it is .net 2008 , then no need to registre.
if .net 2005, then add reference will automatically register in web.config.
Jul 20, 2012 06:20 AM|philos|LINK
good to know, i am using VS2010 and the same happens there with three added assemblies to the web.config. the install instructions were a little ambiguous.
Jul 20, 2012 06:32 AM|Keyur Shah|LINK
So your problem is solved or not dear?