none
How to modify .masterpage directly to add ajaxtoolkit

    Question

  • I want to develop a visual webpart and want to add some ajax functionality so to add ajax functionality i need to add a ajaxtoolkit tag like the following in body section of masterpage.

    <ajaxToolkit:ToolkitScriptManagerid="ScriptManager"runat="server"EnablePageMethods="false"EnablePartialRendering="true"EnableScriptGlobalization="false"EnableScriptLocalization="true"/>


    here is the snapshot in designer.


    but when I checkout the .master and try to add the above script it says

    and it doesn't allow .html to accept this tag as it requires .aspx

    Please tell me how to modify .master directly or other method to include the above tag.


    Friday, August 08, 2014 10:24 PM

All replies

  • I was able to add the ajaxtoolkit tag..but now I want to remove the already exist scriptmanager tab in body ..i tried dis-associate html and made changed in master but as soon as I re associated the html the changes got revert back :(

    whats the solution guys.

    Saturday, August 09, 2014 1:59 AM