This is a migrated thread and some comments may be shown as answers.
Disabling Embedded resources for all telerik controls
5 Answers 54 Views
This is a migrated thread and some comments may be shown as answers.
gupta gf
Top achievements
Rank 1
gupta gf asked on 28 Nov 2009, 06:39 AM

Hi,

      this is Gupta. In my project we use maximum 7different telerik controls and if i use all those in a single page. something like i attached the screenshot..


For Disabling embedded resources , I made EnableembeddedScripts='false" to all the telerik controls and i added the custom script path to the script manager for all the controls required as written below. I added all the scripts in proper order. but its giving problems.

If i do this way , Some controls (radgrid,DatePicker etc.,)are not functioning correctly.

        <asp:ScriptManager ID="ScriptManager" runat="server">
            <Scripts>
For Menu

                <asp:ScriptReference Path="~/TelerikScripts/Common/Core.js" />
                <asp:ScriptReference Path="~/TelerikScripts/Common/jQuery.js" />
                <asp:ScriptReference Path="~/TelerikScripts/Common/jQueryPlugins.js" />
                <asp:ScriptReference Path="~/TelerikScripts/Common/Navigation/NavigationScripts.js" />
                <asp:ScriptReference Path="~/TelerikScripts/Menu/RadMenuScripts.js" />
            </Scripts>
            <Scripts>
For Multipage
                <asp:ScriptReference Path="~/TelerikScripts/TabStrip/MultiPage/RadMultiPageScripts.js" />
            </Scripts>
            <Scripts>
For TabStrip
                <asp:ScriptReference Path="~/TelerikScripts/Common/Scrolling/ScrollingScripts.js" />
                <asp:ScriptReference Path="~/TelerikScripts/Common/Navigation/NavigationScripts.js" />
                <asp:ScriptReference Path="~/TelerikScripts/TabStrip/RadTabStripScripts.js" />
            </Scripts>
            <Scripts>
For DatePicker              
                <asp:ScriptReference Path="~/TelerikScripts/Input/TextBox/RadInputScript.js" />
                <asp:ScriptReference Path="~/TelerikScripts/Input/DateInput/RadDateInputScript.js" />
                <asp:ScriptReference Path="~/TelerikScripts/Calendar/RadCalendarCommonScript.js" />
                <asp:ScriptReference Path="~/TelerikScripts/Calendar/RadCalendarScript.js" />
                <asp:ScriptReference Path="~/TelerikScripts/Calendar/RadDatePicker.js" />
            </Scripts>
            <Scripts>
 For Grid             
                <asp:ScriptReference Path="~/TelerikScripts/Grid/RadGridScripts.js" />
            </Scripts>
            <Scripts>
                <asp:ScriptReference Path="~/TelerikScripts/Common/PopUp/PopUpScripts.js" />
                <asp:ScriptReference Path="~/TelerikScripts/Common/jQuery.js" />
                <asp:ScriptReference Path="~/TelerikScripts/Common/jQueryPlugins.js" />
                <asp:ScriptReference Path="~/TelerikScripts/Common/Animation/AnimationScripts.js" />
                <asp:ScriptReference Path="~/TelerikScripts/Window/RadWindow.js" />
                <asp:ScriptReference Path="~/TelerikScripts/Window/RadWindowManager.js" />
            </Scripts>
            <Scripts>
                <asp:ScriptReference Path="~/TelerikScripts/Common/jQuery.js" />
                <asp:ScriptReference Path="~/TelerikScripts/Common/jQueryPlugins.js" />
                <asp:ScriptReference Path="~/TelerikScripts/Common/Animation/AnimationScripts.js" />
                <asp:ScriptReference Path="~/TelerikScripts/Common/PopUp/PopUpScripts.js" />
                <asp:ScriptReference Path="~/TelerikScripts/ToolTip/RadToolTip.js" />
                <asp:ScriptReference Path="~/TelerikScripts/ToolTip/RadToolTipManager.js" />
            </Scripts>
        </asp:ScriptManager>


CAn u please help me in this regard.

5 Answers, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 02 Dec 2009, 03:58 PM
Hello Gupta,

Can you please try to rename your ScriptManager to "MyScriptManager" and verify whether the issue remains. You may also provide us with some more details about what the problem actually is.

Regards,
Martin
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Bob
Top achievements
Rank 1
answered on 15 Jun 2010, 02:28 AM
Hello Telerik team,

I am trying to suppress the Embedded Skins and CSS files for *ALL* Telerik controls.  I have added the following lines to my Web.config file and it has reduced all the Embedded resources down to one.

 <add key="Telerik.EnableEmbeddedSkins" value="false"/> 
  <add key="Telerik.EnableEmbeddedBaseStylesheet" value="false"/> 

RadCombonBox_Office2007 is still being sent via a Web Resource and I would like to know how to eliminate that as well.

Please advise as to why this resource is still being requested

Thanks
Bob

0
Peter
Telerik team
answered on 15 Jun 2010, 09:19 AM
Hello Bob,

Can you try with the current version - 2010.1.519 and check if the problem still persists. We did some tests, but we could not reproduce the issue.


Kind regards,
Peter
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Bob
Top achievements
Rank 1
answered on 15 Jun 2010, 12:43 PM
I actually have Hotfix 530 installed for solving a different problem (DateTime items in ADO.Net data services)

I can send you a snapshot of Fiddler to show the Combo Box being delivered (see attached).  In this case, the CSS for a Grid was also sent.  With the App Settings I expect NO resource files to ever be sent..


Bob

0
Peter
Telerik team
answered on 15 Jun 2010, 04:34 PM
Hi Bob,

Do you have a live url which we can test?


Greetings,
Peter
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
gupta gf
Top achievements
Rank 1
Answers by
Martin
Telerik team
Bob
Top achievements
Rank 1
Peter
Telerik team
Share this question
or