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

Rad Window - Set Modal

2 Answers 258 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jessie
Top achievements
Rank 1
Jessie asked on 30 Oct 2009, 07:32 AM
Hi,

May I know how to set the (Modal = true and AutoReszie=true) in javascript OpenWindow()?

<script type="text/javascript">  
 
  function OpenWindow()  
  {  
     var wnd = window.radopen("http://www.google.com", null);            
     wnd.setSize(400,400);  
     return false;  
  }  
 
</script> 
 
<button onclick="return OpenWindow()" id="button2">Open with radopen</button> 
 

Thanks.

Regards,
Jessie

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 30 Oct 2009, 07:56 AM
Hello Jessie,

You can use the set_modal() and autoSize() methods in order to set the properties Modal and AutoSize from client-side. The autoSize() method cannot be used with pages from other domains due to browsers' security restrictions.
Checkout the following documentation for more information about important client-side methods of RadWindow.
RadWindow Methods

Thanks,
Princy.
0
Jessie
Top achievements
Rank 1
answered on 30 Oct 2009, 08:13 AM
Hello Princy,

Thanks for your information.

This is the method that I wanted.

Thank you for your help.

Regards,
Jessie
Tags
Window
Asked by
Jessie
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Jessie
Top achievements
Rank 1
Share this question
or