Rad Window - Set Modal

3 posts, 0 answers
  1. Jessie
    Jessie avatar
    26 posts
    Member since:
    Mar 2009

    Posted 30 Oct 2009 Link to this post

    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. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 30 Oct 2009 Link to this post

    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.
  3. Jessie
    Jessie avatar
    26 posts
    Member since:
    Mar 2009

    Posted 30 Oct 2009 Link to this post

    Hello Princy,

    Thanks for your information.

    This is the method that I wanted.

    Thank you for your help.

    Regards,
    Jessie
Back to Top