Set property from JavaScript

2 posts, 1 answers
  1. Dona
    Dona avatar
    23 posts
    Member since:
    Apr 2013

    Posted 08 Apr 2013 Link to this post

    Hi,

    Using JavaScript, How to set the NavigateUrl property of RadWindow in a RadButton Click?

    Thanks,
    Dona
  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 08 Apr 2013 Link to this post

    Hi Dona,

    Please try the following JavaScript.

    JavaScript:
    <script type="text/javascript">
        function OnClientClicked(sender, args) {
            var radWindow1 = $find("<%= RadWindow1.ClientID %>");
            radWindow1.set_navigateUrl("http://www.telerik.com");
        }
    </script>

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top