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

Setting behavior.

1 Answer 15 Views
Window
This is a migrated thread and some comments may be shown as answers.
Saravanan
Top achievements
Rank 1
Saravanan asked on 08 Aug 2013, 08:40 AM
Hi

How to set the radwindow behavior to close from javascript?

Thanks
Saravanan

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 08 Aug 2013, 09:20 AM
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.
Tags
Window
Asked by
Saravanan
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Share this question
or