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

Splitter crashed, when page gets to big!!!

5 Answers 79 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Jan Fockaert
Top achievements
Rank 1
Jan Fockaert asked on 24 Feb 2010, 09:58 AM
Hey,

When my page contains not much data, the splitter works fine. But when the page data increased (no Pagin in Gridview) and I open and close the slidingzonePane, the slidingzonepane won't collapse, it stays open with a white background color!

In attachment you can see 2 pictures:

    Collapsed.jpg: The collapsed slidingzone (correct)
    Collapsed-problem.jpg: The collapsed slidingzone when the page data is to big, it has just a white background and I must reload refresh the page!

Can someone help me?

Thanks,
Jan

5 Answers, 1 is accepted

Sort by
0
Jan Fockaert
Top achievements
Rank 1
answered on 26 Feb 2010, 08:45 AM
Can someone please help me with this ..... !!!
0
Tsvetie
Telerik team
answered on 02 Mar 2010, 10:54 AM
Hello Jan Fockaert,
As you have not sent your code, I created a simple test page with a RadSplitter control and two RadGrid controls with 5000 rows each in order to test your scenario. I tested my page with 2009.3 1314 version of the Telerik.Web.UI assembly in IE7, IE8 and FF. Unfortunately, I was not able to reproduce the problem you have - I have attached my test page for your reference. Increasing the rows in the two grid controls to 10000 led to increasing the time for the sliding pane to show and to hide, but again the sliding pane hid as expected.

In case you open a new support ticket and send me a simple running project, I can check if your configuration is correct. However, in case the problem is that you try to show too much HTML in the splitter, the only thing that I can suggest, is that you reduce the HTML - using paging functionality, load on demand, etc.

Best wishes,
Tsvetie
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Jan Fockaert
Top achievements
Rank 1
answered on 04 Mar 2010, 09:26 AM

 

Hey,

Thanks for your response.

The code of my test page:

 

        <script type="text/javascript">  
            function SplitterLoaded(splitter, arg) {  
                SplitterLoaded2(splitter, arg, true);  
            }  
 
            function UnDock(pane, arg) {  
                //debugger;  
                var splitter = $find("<%=RadSplitterMain.ClientID %>");  
                SplitterLoaded2(splitter, null, false);  
                //pane.set_width(0);  
            }  
 
            function Dock(pane, arg) {  
                //debugger;  
                var splitter = $find("<%=RadSplitterMain.ClientID %>");  
                SplitterLoaded2(splitter, null, false);  
                 
            }  
 
            function SplitterLoaded2(splitter, arg, jep) {  
                var pane = splitter.getPaneById('<%= MiddlePane1.ClientID %>');  
                var height = pane.getContentElement().scrollHeight;  
                var width = pane.getContentElement().scrollWidth;  
                if(jep)  
                    splitter.set_height(height);  
                pane.set_height(height);  
                  
                if(jep)  
                    splitter.set_width(width);  
                pane.set_width(width);  
            }     
        </script>    
 
      <telerik:RadSplitter ID="RadSplitter1" FullScreenMode="false" BorderSize="0" OnClientLoad="SplitterLoaded" runat="server" CssClass="RadPaneTest" > 
          
          <telerik:RadPane ID="RadPane1" runat="server" Width="22px" Scrolling="None">  
                <telerik:RadSlidingZone ClickToOpen="true" SlideDuration="0" ID="RadSlidingZone1" runat="server" Width="22px">  
                    <telerik:RadSlidingPane OnClientDocked="Dock" OnClientUndocked="UnDock" CssClass="TestSlidingPane" Title="FILTERING" runat="server" Width="225px">  
                      
                        Filtering for GridView,  
                          
                        DropDownlist with AutoPostback 'Number of Entries shown', 
                        if I select 'All', the splitter crashes, because to much HTML is shown in the GridView.
                        So I limited the number of entries to 100 for now! 100 entries is much much to less!!!
                          
                      
                    </telerik:RadSlidingPane> 
                </telerik:RadSlidingZone> 
          </telerik:RadPane> 
            
          <telerik:RadPane ID="RadPane2" runat="server" CssClass="RadPaneTest2" Scrolling="None">  
            
            GridView  
            
          </telerik:RadPane> 
      </telerik:RadSplitter> 
    

Is the size of the HTML data in the splitter limited?

Thanks,
Jan Fockaert

 

 

 

0
Tsvetie
Telerik team
answered on 10 Mar 2010, 12:38 PM
Hi Jan Fockaert,
Generally, the HTML content that you can display in the splitter is not limited. However, the more HTML that you add to your page/splitter, the slower the page/splitter will become. As the splitter calculates and sets the size of its elements with JavaScript, at some point, you might even get the "Do you want to abort this script" error message. I have not seen the problem you describe and I was not able to reproduce it with the code you provided. That is why, I would like to ask you once again to open a new support ticket and send me a simple running project that demonstrates the problem.

Kind regards,
Tsvetie
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Jan Fockaert
Top achievements
Rank 1
answered on 10 Mar 2010, 12:40 PM
Hi,

Next week I'll try to make an example project.

Thanks,
Jan Fockaert
Tags
Splitter
Asked by
Jan Fockaert
Top achievements
Rank 1
Answers by
Jan Fockaert
Top achievements
Rank 1
Tsvetie
Telerik team
Share this question
or