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

splitter page scrolling issue

8 Answers 68 Views
Editor
This is a migrated thread and some comments may be shown as answers.
rob
Top achievements
Rank 1
rob asked on 06 Jan 2009, 03:54 PM
Hi

I have a floating splitter (via an MSAjax:AlwaysVisibleControlExtender) with sliding zones in tab format, all works rather nicely except that if I scroll the page and then open a sliding zone it appears in the same part of the screen and is no longer at the top.

whereas if I open the sliding zone at the top of the page it appears in the right place (under the tab)

is there some javascript or a setting to keep the zone that slides out under the tab at the top of the browser (rather than the page) even if i scroll to the end of the page.

Strangly if i open the sliding pane and then scroll then it keeps its top of the browser position

any help would be appreciated

thanx

8 Answers, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 09 Jan 2009, 11:16 AM
Hi rob,
I created a simple test page, based on the information you have provided, but unfortunately, I was not able to reproduce the problem you describe. Below is the code of my page:
<body> 
    <form id="form1" runat="server">  
        <asp:ScriptManager ID="ScriptManager1" runat="server" /> 
        text<br /> text<br /> text<br /> text<br /> text<br /> text<br />   
        text<br /> text<br /> text<br /> text<br /> text<br /> text<br /> 
        text<br /> text<br /> text<br /> text<br /> text<br /> text<br /> 
        text<br /> text<br /> text<br /> text<br /> text<br /> text<br /> 
        text<br /> text<br /> text<br /> text<br /> text<br /> text<br />   
        text<br /> text<br /> text<br /> text<br /> text<br /> text<br /> 
        text<br /> text<br /> text<br /> text<br /> text<br /> text<br /> 
        text<br /> text<br /> text<br /> text<br /> text<br /> text<br /> 
        text<br /> text<br /> text<br /> text<br /> text<br /> text<br /> 
        text<br /> text<br /> text<br /> text<br /> text<br /> text<br /> 
          
        <asp:Panel ID="Panel1" BorderStyle="solid" BorderWidth="2" runat="server" Height="600px" 
            Width="600px" BackColor="yellow" BorderColor="red">  
            <telerik:RadSplitter ID="RadSplitter1" runat="server">  
                <telerik:RadPane ID="RadPane1" runat="server" Width="22px">  
                    <telerik:RadSlidingZone ID="RadSlidingZone1" runat="server">  
                        <telerik:RadSlidingPane ID="RadSlidingPane1" runat="server" Title="Test"></telerik:RadSlidingPane> 
                    </telerik:RadSlidingZone> 
                </telerik:RadPane> 
                <telerik:RadPane ID="RadPane2" runat="server"></telerik:RadPane> 
            </telerik:RadSplitter> 
        </asp:Panel> 
        <div> 
            <ajaxToolkit:alwaysvisiblecontrolextender scrolleffectduration=".1" horizontalside="Right" 
                verticalside="Top" targetcontrolid="Panel1" 
                id="AlwaysVisibleControlExtender1" runat="server">  
         </ajaxToolkit:alwaysvisiblecontrolextender> 
        </div> 
    </form> 
</body> 

I tested with the latest version of the suite, namely version 2008.3 1125.

In order to be able to help you, I will need a simple running project, demonstrating the problem together with detailed steps I need to follow in order to reproduce it.

Greetings,
Tsvetie
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
rob
Top achievements
Rank 1
answered on 12 Jan 2009, 09:43 AM
Hi

I have used the code that you have posted above (exact no changes) and have the same identical issue, let me clarify::

when the browser scrollbar is at the top of the screen the sliding zone pops out at the correct place, but if you then scroll your test page down the sliding zone will not keep its top position and will be out of alignment and halfway down the page

this is not a problem for mozilla based browsers (firefox, safari) or google chrome

however if you try your test page in IE7 and IE8 the problem is evident in the normal way that IE doesnt appreciate the need to stick to standards, do we have a fix or work around yet and can you reproduce the problem in IE7???

thanks
Rob
0
rob
Top achievements
Rank 1
answered on 12 Jan 2009, 11:22 AM
PS we are using Q12008 release, just in case this is something that has been fixed in Q2
0
Svetlina Anati
Telerik team
answered on 13 Jan 2009, 03:00 PM
Hi Rob,

In this case we suggest to upgrade to later version of RadControls or best - wait until our new release, SP2, is available which is scheduled for this week, most probably for tomorrow and upgrade to it. Please, also note that we strongly recommend to upgrade to latest versions, because they have a lot of problems fixed and also provide improved performance when possible and also new features.

Kind regards,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
rob
Top achievements
Rank 1
answered on 13 Jan 2009, 03:08 PM
Hi

we are basically waiting for release 2009 Q1 before upgrading,
however
you didnt answer my question,

does your code work in Internet Explorer??

also

when is the 2009 Q1 release due?
and could you suggest a workaround whilst we are waiting for this?

all help appreciated
Rob
0
rob
Top achievements
Rank 1
answered on 15 Jan 2009, 09:35 AM
Hi

could you please reply to this as you are making it very hard for me to justify to my boss why we should continue using your controls when you have glaring bugs that can only be fixed by paying for a new version (which in his mind we shouldnt have to do just to get a bug fix). 

Please suggest a work around, and confirm that you have checked this in IE7 so that if we do upgrade we are not left with the same issue.  You are leaving me in a difficult position where by we may be forced to stop using your controls.

thanks
Rob
0
Svetlina Anati
Telerik team
answered on 15 Jan 2009, 04:52 PM
Hello Rob,

Yes, we tested the setup under IE6, IE7 and IE8 and the problem does not exist with later version. We also tested it with the latest release, Q3 2008 SP2 which was published yesterday and everything works fine there. There actually was a problem when the RadSlidingPane is in an absolute parent but it was fixed and that is why we suggested to upgrade. We also understand that you are in hurry but if you have noted the version of RadControls you are using in your initial post, we could provide you with a faster solution. Please, also note that forums are considered public resources and we do not guarantee a timely response here because support tickets are with priority.

We created a fix for you, you can find it below:

 <script type="text/javascript">  
      
    Telerik.Web.UI.RadSlidingPane.prototype._moveRootToParent = function(toOriginalParent)  
    {  
         
        var newParent = (toOriginalParent) ? this._originalParent : document.body;  
        var root = this.get_element();  
 
        if(!root) return;  
 
        var parent = root.parentNode;  
 
        if(!newParent || !parent || newParent.id == parent.id) return;  
 
        parent.removeChild(root);  
        newParent.appendChild(root);  
    };  
    </script> 


Kind regards,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
rob
Top achievements
Rank 1
answered on 16 Jan 2009, 09:03 AM
sorry bout that .. didn't realise about the support tickets .. just had my boss going ape over that issue .. I will test out ur fix ASAP .. many thanx for the timely response
Tags
Editor
Asked by
rob
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
rob
Top achievements
Rank 1
Svetlina Anati
Telerik team
Share this question
or