Setting behavior.

2 posts, 0 answers
  1. Saravanan
    Saravanan avatar
    26 posts
    Member since:
    Mar 2013

    Posted 08 Aug 2013 Link to this post

    Hi

    How to set the radwindow behavior to close from javascript?

    Thanks
    Saravanan
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 08 Aug 2013 Link to this post

    Hi Saravanan,

    You can try the following JavaScript to set the RadWindow behavior from JavaScript.

    JavaScript:
    <script type="text/javascript">
        function setBehaviorRadwindow() {
            var radwindow = $find('<%=RadWindow1.ClientID %>');
            radwindow.set_behaviors(Telerik.Web.UI.WindowBehaviors.Close);
        }
    </script>

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