Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
15
ScriptSource.axd does not have the modified Infragistics Javascript code
posted

Hi,

I have modified some javascript code in the file ig_webmenux.js. but the changes are not getting reflected when page rendered ScriptSource.axd file. It is still showing old code.

How can I use the modified infragistics javascript files to be used when rendering the ScriptSource.axd?

Parents
No Data
Reply
  • 22792
    Offline posted

    I am assuming by the name of the script file that you are using the UltraWebMenu that was retired in 2011 Volume 1.  If I am correct, you would set the JavaScriptFileName property to change the script file.

    If I am incorrect and you are using the WebDataMenu, then you would need to tell the ScripManager to load the modified script file after telling it to load all dependent scripts.  For example:

    <asp:ScriptManager ID="WebScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference
                Name="Infragistics.Web.UI.Scripts.0_igControlMain.js"
                Assembly="Infragistics45.Web.v18.1, Version=18.1.20181.48, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
            <asp:ScriptReference
                Name="Infragistics.Web.UI.Scripts.1_igControlMainClientBinding.js"
                Assembly="Infragistics45.Web.v18.1, Version=18.1.20181.48, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
            <asp:ScriptReference
                Name="Infragistics.Web.UI.Scripts.2_igCollections.js"
                Assembly="Infragistics45.Web.v18.1, Version=18.1.20181.48, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
            <asp:ScriptReference
                Name="Infragistics.Web.UI.Scripts.3_igUIBehaviors.js"
                Assembly="Infragistics45.Web.v18.1, Version=18.1.20181.48, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
            <asp:ScriptReference
                Name="Infragistics.Web.UI.Scripts.4_igEnums.js"
                Assembly="Infragistics45.Web.v18.1, Version=18.1.20181.48, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
            <asp:ScriptReference
                Name="Infragistics.Web.UI.Scripts.5_igObjects.js"
                Assembly="Infragistics45.Web.v18.1, Version=18.1.20181.48, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
            <asp:ScriptReference
                Name="Infragistics.Web.UI.Scripts.6_igObjectsClientBinding.js"
                Assembly="Infragistics45.Web.v18.1, Version=18.1.20181.48, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
            <asp:ScriptReference
                Name="Infragistics.Web.UI.Scripts.7_igClientStateManager.js"
                Assembly="Infragistics45.Web.v18.1, Version=18.1.20181.48, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
            <asp:ScriptReference
                Name="Infragistics.Web.UI.Scripts.8_igCallback.js"
                Assembly="Infragistics45.Web.v18.1, Version=18.1.20181.48, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
            <asp:ScriptReference
                Name="Infragistics.Web.UI.Scripts.9_igPropertyManagers.js"
                Assembly="Infragistics45.Web.v18.1, Version=18.1.20181.48, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
            <asp:ScriptReference
                Name="Infragistics.Web.UI.NavigationControls.WebDataMenu.js.igDataMenuItem.js"
                Assembly="Infragistics45.Web.v18.1, Version=18.1.20181.48, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
            <asp:ScriptReference
                Name="Infragistics.Web.UI.NavigationControls.WebDataMenu.js.igWebDataMenu.js"
                Assembly="Infragistics45.Web.v18.1, Version=18.1.20181.48, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
                Path="Scripts/igWebDataMenu.js" />
        </Scripts>
    </asp:ScriptManager>

Children
No Data