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

Enable Modaling Via Javascript

1 Answer 20 Views
Window
This is a migrated thread and some comments may be shown as answers.
Chase Florell
Top achievements
Rank 1
Chase Florell asked on 15 Nov 2008, 07:47 PM
Is there a way to enable Modaling via Javascript?  I am using a RadWindowManager in my MasterPage and calling it from various pages throughout the site.  One of my windows requires the window to be modaled but the rest of the site does not require this.

This is what I am using for JavaScript right now
<script type="text/javascript" language="javascript">  
    //<![CDATA[  
    function openTerms(url) {  
        var oWnd = radopen(url, "RadWindowTerms");  
        oWnd.setSize(610, 600);  
        oWnd.Center();  
    }  
    //]]>  
</script> 

Thanks

1 Answer, 1 is accepted

Sort by
0
Chase Florell
Top achievements
Rank 1
answered on 15 Nov 2008, 08:19 PM
Nevermind.  I found it in the doc's section.
function openTerms(url) {  
    var oWnd = radopen(url, "RadWindowTerms");  
    oWnd.setSize(610, 600);  
    oWnd.set_modal(true);  
    oWnd.Center();  
Tags
Window
Asked by
Chase Florell
Top achievements
Rank 1
Answers by
Chase Florell
Top achievements
Rank 1
Share this question
or