Adding scriptManager tag to Non ajax enabled web application
-
Hi, My application is created using ASP.Net Web Application template. I want script Manager to be added in one of my page. I did the following to make My existing ASP.Net web application to Ajax enabled. But it is not working. Installed ASPAJAXExtSetup.msi added below config in web.config <httpHandlers> <remove verb="*" path="*.asmx"/> <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> <add verb="GET" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler" validate="false"/> </httpHandlers> <compilation defaultLanguage="c#" debug="true"> <assemblies> <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> </assemblies> </compilation> When i am tring to add a <asp:ScriptManager runat="server" /> Under form tag , I am not getting this tag in intellisence. Please help how I can add scriptManager to my existing ASp.net web application. Thanks, Salmon.
-
Hi, My application is created using ASP.Net Web Application template. I want script Manager to be added in one of my page. I did the following to make My existing ASP.Net web application to Ajax enabled. But it is not working. Installed ASPAJAXExtSetup.msi added below config in web.config <httpHandlers> <remove verb="*" path="*.asmx"/> <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> <add verb="GET" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler" validate="false"/> </httpHandlers> <compilation defaultLanguage="c#" debug="true"> <assemblies> <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> </assemblies> </compilation> When i am tring to add a <asp:ScriptManager runat="server" /> Under form tag , I am not getting this tag in intellisence. Please help how I can add scriptManager to my existing ASp.net web application. Thanks, Salmon.
Looks like you forgot: I would suggest you to create a new project that is AJAX Enabled(using AJAX Enabled template), and then just copy the Web.Config file from there in your project. After that you can add/update any other stuff like Appsetting section/Authentication/Authorization sections as it was earlier in your project.
-
Looks like you forgot: I would suggest you to create a new project that is AJAX Enabled(using AJAX Enabled template), and then just copy the Web.Config file from there in your project. After that you can add/update any other stuff like Appsetting section/Authentication/Authorization sections as it was earlier in your project.
Thank you I will do that