This is the issue with Visual Studio 2005. Install SP1. Else do this as per this link.
http://weblogs.asp.net/scottgu/archive/2006/11/16/gotcha-lost-html-intellisense-within-asp-net-ajax-controls.aspx
I use the first method. Sometimes I have to open Master file, sometimes I have to close the master file from VS.NET, then only all the intellisenses are working.
Changing web.config to ajax tag, required me to change in every place, so I dont prefer this web.config solution.
Subscribe to:
Post Comments (Atom)
2 comments:
Web.Config
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</controls>
i) Change the tagprefix='asp' in web.config to tagprefix="ajaxToolkit" or whatever u want.
<controls>
<add tagPrefix="ajaxToolkit" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</controls>
ii)Then you have to change <asp:UpdatePanel> to <ajaxToolkit:UpdatePanel>, this removes the redline.But you will get require permissions error.
iii)To avoid 'requirePermission' error ,In the site master page define the register tag used for ajaxControlToolkit.
iv)In Master page change <asp:ScriptManager> to <ajaxToolkit:ScriptManager>
v)Now the errors and warnings in errorlist is completely avoided.
Thnx for such great ans....
Post a Comment