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

A Couple of Bugs

5 Answers 95 Views
Window
This is a migrated thread and some comments may be shown as answers.
Robert Faulkner
Top achievements
Rank 1
Robert Faulkner asked on 29 May 2008, 09:45 AM
Have noticed a couple of bugs whilst developing a wrapper for your Window controls.

I think it would help you to know that with my wrapper, every window gets spawned from window.top where there is an instance of RadWindowManager exposed.  This is to prevent dialogs opening inside each other.

Bug 1:
When multiple modal windows are open (non-modal can be open too) and I call the cascade() function, the modal windows become non-modal.

Bug 2:
To see this bug you need to do the following...
- Open a Modal Dialog that has a link inside that will spawn another modal dialog (from window.top).
- Ok, so we've got a dialog open - now click the link to spawn the second dialog and then quickly right click in some whitespace of the first dialog, before the second one has appeared.   Wait for dialog 2 to render and load. Your browsers context menu should still be visible.  If you then click on Refresh (IE), or This Frame > Reload (FF) the first dialog will reload and re-render itself on-top of dialog 2!

I am personally not overly bothered about bug 2, but bug one is a little annoying, as I want our clients to have an always-on-top global controls panel that contains a Cascade Windows button.

Any help is greatly appreciated!

5 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 02 Jun 2008, 01:30 PM
Hello Robert,

Can you please open a new support ticket and send us a small project where we can reproduce these problems? I tried reproducing them locally with RadWindow for ASP.NET AJAX but to no avail.





Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
AShish
Top achievements
Rank 1
answered on 29 Jun 2009, 11:45 AM
Hi Georgi Tunev, 

                         Radwindow will not get close on close button when the page contains the Modalpopup. Where others page which don't have modal popup will get close. Even the page shows js error ";" expected.
                             Can u please find the solution for this. Again for the first time to load the page in widow it will took around 3mins.
                        Where as in second time took just 3 sec.


Regards,
Ashish

 
0
Georgi Tunev
Telerik team
answered on 29 Jun 2009, 02:10 PM
Hi Ashish,

To be able to help we need to have a better view over your exact setup and logic. Please isolate the problem in a small sample project, open a support ticket and send it to us with a reference to this forum thread. We will check it right away and do our best to help.


Regards,
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.
0
AShish
Top achievements
Rank 1
answered on 29 Jun 2009, 03:02 PM
Hi Georgi,

                     

<

radW:RadWindowManager ID="mainWindowManager" Skin="Office2007" runat="Server" Behavior="Close" Modal="true" VisibleOnPageLoad="true" >

 

 

 

</radW:RadWindowManager>

                               this is rad window tag on default.aspx page widows path we are calling dynamically.
                              by object ref.
                    On buttonclick event we show radwindow.                       

                     Now  test.aspx page displayed inside radwindow and test.aspx contain gridview and may other controls like ajax modal popup extender.
                           <asp:Button ID="HideOK" runat="server" Style="display: none" />
                            <asp:Button ID="HideCancel" runat="server" Style="display: none" />
                            <ajaxToolkit:ModalPopupExtender ID="popupMBox" runat="server" PopupControlID="pnltestUC"
                                TargetControlID="HideOK" BackgroundCssClass="modalBackground" CancelControlID="HideCancel"
                                Enabled="false">
                            </ajaxToolkit:ModalPopupExtender>
                            <asp:Panel ID="pnltestUC" Style="text-align: center; height: 150px; width: 310px;"
                                runat="server" Visible="false">
                                <div>
                                    <UC:MsBox ID="MsgBoxEX" runat="server" />
                                </div>
                            </asp:Panel>
         Whenevr the page load in radwindow i got javascript error ';" expected.

Please have look this code
Regards,
Ashish Tasare

 

 

0
Georgi Tunev
Telerik team
answered on 30 Jun 2009, 10:21 AM
Hi Ashish,

The portions of the code that you posted seem OK. I don't know whether you get this JavaScript error on the main page or in the content but I suggest to try opening the content page not in a RadWindow but in a standard browser's popup or IFRAME. If you still experience this error, then you need to check your code to see where is the problem.
If the problem can be reproduced only with RadWindow, please open a support ticket and send us a sample project that we could examine locally.

Kind regards,
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
Window
Asked by
Robert Faulkner
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
AShish
Top achievements
Rank 1
Share this question
or