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

Parent scrollbars are gone after radwindow is closed.

2 Answers 41 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jason Maronge
Top achievements
Rank 1
Jason Maronge asked on 05 Aug 2008, 07:43 PM
Ok, I keep running into this problem during various upgrade to different versions.  If I have a window that is maximized and modal set to true when it returns to the main page the scrollbars are gone.

Here is my code:

            function ShowInsertForm(purchaseOrderID) 
            { 
                window.scrollTo(0,0);  
                var url; 
                url  = "<%=Constants.SitePages.TruckHaulInfo%>?<%=Constants.Request.PurchaseOrderID%>=" + purchaseOrderID; 
                var oWnd = radopen (url, null); 
                oWnd.maximize(); 
                oWnd.set_behaviors(Telerik.Web.UI.WindowBehaviors.Close);  
                oWnd.set_modal(true);  
                oWnd.show(); 

            } 

I have even tried to reshow the scrollbars using the old trusty:

 document.documentElement.scroll = "yes";  
 document.documentElement.style.overflow = "visible";  
or
 document.body.scroll = "yes";  
 document.body.style.overflow = "visible";  

but this does not help.  How do I solve this issue once and forever?  When the radwindow goes away I want my scrollbars to be there if they were they before the radwindow was opened.

Help.......

Jason



2 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 06 Aug 2008, 11:15 AM
Hello Jason,

I prepared a sample test project based on the provided information in order to reproduce the reported problem but unfortunately to no avail.

Would you please examine it and either modify it in order to reproduce the problem or prepare a new, fully runnable reproduction project? Once I do this, open a new support ticket and send me a project along with a detailed explanation of the reproduction steps and some screenshots. Once I receive this information, I will help you solve it.

Best wishes,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jason Maronge
Top achievements
Rank 1
answered on 06 Aug 2008, 02:04 PM
I have reproduced it for you.  Sorry, I forgot to mention that I open the window inside of an iframe, actually a splitter pane.   I am about to open support ticket for it with the sample attached. 

Jason
Tags
Window
Asked by
Jason Maronge
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Jason Maronge
Top achievements
Rank 1
Share this question
or