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

Modal popup control

11 Answers 253 Views
Window
This is a migrated thread and some comments may be shown as answers.
Paresh Patel
Top achievements
Rank 1
Paresh Patel asked on 04 Sep 2009, 10:42 AM
Hi,
I need Modalpopup extender like control in my application. 
Is there anyway to use RadWindow as modal popup (without creating separate page) ?

I tried using RadDoc, but it is not looking good as RadWindow and main thing is, it does not provide modality. user can click controls on backside of the popup.


Thanks,

11 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 04 Sep 2009, 11:18 AM
Hi Paresh,

We are currently working on that feature and it should be available with the Q3 release.


Greetings,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Paresh Patel
Top achievements
Rank 1
answered on 04 Sep 2009, 11:44 AM
Hi,
Can you suggest how apply modality to RadDoc which i am using as popup so user can not click control behind RadDoc popup?

or can you suggest something else..?

Thanks,
0
Georgi Tunev
Telerik team
answered on 04 Sep 2009, 01:13 PM
Hi Paresh,

RadDock does not support modality. You could use RadToolTip for that purpose.


Regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Paresh Patel
Top achievements
Rank 1
answered on 05 Sep 2009, 04:37 AM
Hi,
I used RadDoc as popup. and i want to use RadAjaxLoadingPanel to give modality to it.
my javascript code is
function showDoc()
        {
            var rDoc = $find("<%= rDoc.ClientID %>"); //-- RadDoc object - Popup
            rDoc.set_closed(false);
            showLoadingPanel();

        }
        function showLoadingPanel()
        {
            var lPanel = $find("<%= rl.ClientID %>"); //--RadAjaxLoadingPanel 
            if (lPanel)
                lPanel.show('Body');
        }

here the only problem i am facing is RadAjaxLoadingPanel has the highest z-index (90000).
Can you please suggest how i can set RadDoc on it.. ?

Thanks,
0
Georgi Tunev
Telerik team
answered on 07 Sep 2009, 08:42 AM
Hi Paresh Patel,

Try setting the following property in RadDock's declaration:
style="z-index:10000"

More information on the subject is available here
http://www.telerik.com/help/aspnet-ajax/controlling-absolute-positioning-with-zindex.html


Greetings,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Paresh Patel
Top achievements
Rank 1
answered on 21 Nov 2009, 04:35 AM
Hi,

Is Modalpopup extender like functionality released with Q3 as you said ?
0
Georgi Tunev
Telerik team
answered on 23 Nov 2009, 12:46 PM
Hello Paresh,

Yes, this feature is present in Q3 2009 - you can see it in action here:
http://demos.telerik.com/aspnet-ajax/window/examples/internalcontent/defaultcs.aspx



Best wishes,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Roland
Top achievements
Rank 1
answered on 23 Nov 2009, 04:43 PM
Hi,

Im trying to use that feature, however I got couple of issues:

- cannot open radwindow from codebehind in normal way like wnd.Open() :S
- setting OpenerElementId = server button shows and closes the window immediately
0
Georgi Tunev
Telerik team
answered on 24 Nov 2009, 12:28 PM
Hello Roland,

I am not quite sure that I understand your scenario, so I would like to ask you to open a support ticket and send me a small sample project that illustrates the problems that you report. I will check it and get back to you right away.


All the best,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Roland
Top achievements
Rank 1
answered on 24 Nov 2009, 03:00 PM
I have solved the problem.

OpenerElementId was set to asp button. The button required OnClientClick = return false.

Regarding the second thing.
It would be nice if there was a method RadWidow.Show() in the code behind (like the tooltip) instead of doing client radopen, especially that window now implements INamingContainer.


0
Georgi Tunev
Telerik team
answered on 25 Nov 2009, 02:14 PM
Hi Roland,

If the OpenerElementID is set, there should be no need to cancel the postback for the control set in that property. Could you please send me a small sample project where this behavior can be reproduced? I will check it and if there is a bug in the RadWindow control, we will do our best to fix it right away.

As for server-side Show() method, we are considering to add such feature in one of the future releases.

All the best,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Window
Asked by
Paresh Patel
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Paresh Patel
Top achievements
Rank 1
Roland
Top achievements
Rank 1
Share this question
or