3 Comments

If you use an *.ascx user control to add new rows to the Telerik RadGrid and want to use javascript dynamically loaded, you can use the Telerik “RadScriptBlock”:

    <telerik:RadScriptBlock ID="radScriptBlock" runat="server">
        <script language="javascript" type="text/javascript">
            alert('Hello');
        </script>
    </telerik:RadScriptBlock>

3 Replies to “Use javascript in *.ascx user control for a Telerik RadGrid EditForm”

  1. Was having problems in my UserControl that always showed the code as undefined, and had not found the solution. had sought in the Telerik forums and finding nothing, had lost more than an hour on this problem.

    In short, your code solved my problem. Congratulations friend, and thank you. great contribution to the community.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Posts