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

[Solved] using TelerikModalOverlay

1 Answer 184 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Matthias S
Top achievements
Rank 1
Matthias S asked on 05 Aug 2009, 08:30 PM
Hi,

Is it possible to use your ModalOverlay which is used for modal radwindows within a aspx website?
I have a frameset like the following scheme:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
x     xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
x     xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
x    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Now I would like to disable e.g. the left and the top with your modaloverlay in some circumstances.
Maybe I can use some of your controls to achieve that?

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 06 Aug 2009, 08:32 AM
Hello Matthias S,

In general RadWindow can be used for such purpose - what you could do is to open a new modal RadWindow and to move it outside of the viewport.
e.g:

<form id="form1" runat="server"
<telerik:RadScriptManager ID="ScriptManager" runat="server"
</telerik:RadScriptManager> 
 
<script type="text/javascript"
    function showWin() 
    { 
        var oWnd = $find("<%= hiddenwindow.ClientID %>"); 
        oWnd.show(); 
        oWnd.moveTo(-10000, -10000); 
 
    }  
</script> 
 
<telerik:RadWindow ID="hiddenwindow" Modal="true" runat="server"
</telerik:RadWindow> 
<button onclick="showWin(); return false;"
    test</button> 
</form> 

Since the frameset contains separate pages, you will need to have a RadWindow in every page you wish to "disable" and to call such JavaScript function in that frame.


Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Matthias S
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or