Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Is there any way for accessing Application Object in ScriptReference of AjaxControlToolKitScriptManager

$
0
0

Hi,

I'm trying to add scripts of Telerik to AjaxControlToolKitScriptManager . I want to use an Application Object for Mentioning path to ScriptReference  like

Path= "<%= Application["JavaScript" %>/Telerik/Core.js"/>  But It is not allowing me to do so . Please help me in fixing this issue.

 <ajaxToolkit:ToolkitScriptManager ID="scriptManager" OnAsyncPostBackError="OnAsyncError" AsyncPostBackTimeout="2000" EnablePageMethods="true" EnablePartialRendering="true" runat="server" CombineScripts="true">
<asp:ScriptReference Path="~/JavaScript/Telerik/Core.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/Ajax.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/jQuery.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/jQueryPlugins.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/RadGridScripts.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/GridCellSelection.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/TouchScrollExtender.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/OverlayScript.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/NavigationScripts.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/AnimationScripts.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/RadComboBoxScripts.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/RadMenuScripts.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/RadContextMenuScripts.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/RadFilterScripts.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/RadMenuItem.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/RadAutoCompleteBoxScripts.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/PopUpScripts.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/RadToolTipScripts.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/RadToolTipManager.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/RadInputScript.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/RadDateInputScript.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/RadCalendarCommonScript.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/RadCalendarScript.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/RadDatePicker.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/RadPickersPopupDirectionEnumeration.js"/>,
                <asp:ScriptReference Path="~/JavaScript/Telerik/RadInputManagerScript.js"/>
</ajaxToolkit:ToolkitScriptManager>






Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>