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

How do Telerik controls add their embedded scripts?

2 Answers 48 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jonathan
Top achievements
Rank 1
Jonathan asked on 27 Apr 2016, 07:30 PM

How do Telerik controls programmatically register their ScriptReferences with the ScriptManager? The only way I can seem to get it to work is by explicitly referencing the script in the ScriptManager like so:

<asp:ScriptManager runat="server" ID="ScriptManager1">
    <Scripts>
<asp:ScriptReference Assembly="Atl.Core.WebBase" Name="Atl.Core.Resources.Scripts.ScriptTest.js" />
</Scripts>
</asp:ScriptManager>

2 Answers, 1 is accepted

Sort by
0
Jonathan
Top achievements
Rank 1
answered on 27 Apr 2016, 07:36 PM
Please disregard this partial post. The full post is http://www.telerik.com/forums/how-do-telerik-controls-add-their-embedded-scripts-5fcc9618d11b
0
Vessy
Telerik team
answered on 28 Apr 2016, 05:02 AM
Hi,

Thank you for the update, Jonathan. I have just answered your other post on the matter, you can refer my answer here.

Regards,
Vessy
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
General Discussions
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Jonathan
Top achievements
Rank 1
Vessy
Telerik team
Share this question
or