This is a migrated thread and some comments may be shown as answers.

Set the enableembeddedscripts property to false for entire page

3 Answers 86 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ramprasad
Top achievements
Rank 1
Ramprasad asked on 07 Jul 2011, 09:16 AM
Hi Team,
I can see a way for each of the individual control, we can set the enableembeddedscripts to false. Then we can register the corresponding .js file using script manager. I just want to understand is there a way by which we can set the enableembeddedscripts=false for all the controls in a page instead of giving at the control level.

Regards,
Prasad

3 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 07 Jul 2011, 09:37 AM
Hi Ramprasad,

You can do that via web.config configuration setting as depicted in the bottom section of this documentation topic.

Best regards,
Sebastian
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Ramprasad
Top achievements
Rank 1
answered on 07 Jul 2011, 09:48 AM
Thanks Sebastian. I am just wondering how the appsettings changes will have an impact in the control as we are not going to access the value of the appsettings anywhere in the code behind. Is there any internal mechanism which takes care of the same. I am interested in knowing abt that.

Regards,
Prasad
0
Sebastian
Telerik team
answered on 07 Jul 2011, 09:57 AM
Hello Ramprasad,

This setting should produce the same effect as when you set it directly via the corresponding Telerik AJAX control's property. I hope this clarification helps.

Best wishes,
Sebastian
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
General Discussions
Asked by
Ramprasad
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Ramprasad
Top achievements
Rank 1
Share this question
or