Hello, I am new to Telerik controls, and need some help. I am a science teacher, and trying to be a programmer. I am having a problem with the RadWindow losing its vertical scroll bars after an Ajax return. The page I have written is fairly complex:
Main window has a RadSplitter with a left pane containing a RadTree, and the right pane containing a targeted page from whatever the client clicked on the tree view. The process would be something like this: User clicks tree node, client side target of the right content pane with a new page. The page contains a RadGrid. When the user selects a row in the Grid and Clicks Edit, a new RadWindow is opened maximized over the right pane. That sets the stage for the problem I am having. I picked up a nice trick for full screen from the Telerik examples:
Now in this page there is a RadText box, and three Images. When a user clicks on the image client side code goes to the parent page (right pane), and gets a handle on the main browser window, and opens a modal maximized RadWindow over the whole screen. The page it loads is similar to the above, having a splitter (left pane a tree view housing image categories), and the right pane a page targeted from whatever the user selected in the tree view. Everything works fine as the user selects a tree item, the right pane loads the page, and if the user wants to select a color for the image, then they click on a link which opens a RadWindow Modal Maximized over the right pane. The user goes on until they have selected a skin and container for their site.
Once they are done, and the user selects a container, the container selector page makes an Ajax call to save their selection, and then on the Ajax return all the windows are closed all the way back to the original opened window over the two pane main window, which if the argument from the "Skin Selector" has a given value, the page makes an Ajax call to the server to save the selections, and refresh the page with the correct images that they selected. This is where the problem lies. The page is rather long, and before the Skin Selector window is opened there are vertical and based on whether their window is full screen or not, they may have a horizontal scroll bar. When the AjaxManager Ajax request is completed and returned to the client all of my scroll bars go away and the user cannot see or click on the save button at the bottom of the page.
Am I doing something wrong here? This didn't seem to happen until I started using the Ajax call back for the window.
My System is as follows:
Windows XP SP3
Visual Studio 2005 Pro
SQL Server 2005 ENTERPRISE
Internet Explorer 6.0.2900.5512.xpsp.080413-2111
I have not tried this in IE 7.0 yet or the other browsers I use to test the site before deployment (Firefox, Opera, Netscape 7).
Main window has a RadSplitter with a left pane containing a RadTree, and the right pane containing a targeted page from whatever the client clicked on the tree view. The process would be something like this: User clicks tree node, client side target of the right content pane with a new page. The page contains a RadGrid. When the user selects a row in the Grid and Clicks Edit, a new RadWindow is opened maximized over the right pane. That sets the stage for the problem I am having. I picked up a nice trick for full screen from the Telerik examples:
<style type="text/css">
html, body, form
{
height: 100%;
margin: 0px;
padding: 0px;
overflow: hidden;
}
</style>
Now in this page there is a RadText box, and three Images. When a user clicks on the image client side code goes to the parent page (right pane), and gets a handle on the main browser window, and opens a modal maximized RadWindow over the whole screen. The page it loads is similar to the above, having a splitter (left pane a tree view housing image categories), and the right pane a page targeted from whatever the user selected in the tree view. Everything works fine as the user selects a tree item, the right pane loads the page, and if the user wants to select a color for the image, then they click on a link which opens a RadWindow Modal Maximized over the right pane. The user goes on until they have selected a skin and container for their site.
Once they are done, and the user selects a container, the container selector page makes an Ajax call to save their selection, and then on the Ajax return all the windows are closed all the way back to the original opened window over the two pane main window, which if the argument from the "Skin Selector" has a given value, the page makes an Ajax call to the server to save the selections, and refresh the page with the correct images that they selected. This is where the problem lies. The page is rather long, and before the Skin Selector window is opened there are vertical and based on whether their window is full screen or not, they may have a horizontal scroll bar. When the AjaxManager Ajax request is completed and returned to the client all of my scroll bars go away and the user cannot see or click on the save button at the bottom of the page.
Am I doing something wrong here? This didn't seem to happen until I started using the Ajax call back for the window.
My System is as follows:
Windows XP SP3
Visual Studio 2005 Pro
SQL Server 2005 ENTERPRISE
Internet Explorer 6.0.2900.5512.xpsp.080413-2111
I have not tried this in IE 7.0 yet or the other browsers I use to test the site before deployment (Firefox, Opera, Netscape 7).