How to set radwindow behaviors through ClientSide javascript


<script type=”text/javascript” language=”javascript”>
function ShowPopup() {
var oWnd = radopen(“Popups/Employees.aspx”, “radWin_Employees”);
oWnd.SetTitle(“Visitors”);
oWnd.set_initialBehaviors(Telerik.Web.UI.WindowBehaviors.None);
oWnd.set_behaviors(Telerik.Web.UI.WindowBehaviors.Close + Telerik.Web.UI.WindowBehaviors.Move);
}
</script>
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s