ASP.NET Splitter - Knowledge Base

« Back to Knowledge Base list

RememberScrollPosition and SynchronizeScroll features not working

Q:

The RememberScrollPosition and the SynchronizeScroll features not working. What can I do?

A:

Please make sure you set RememberScrollPosition = true. Default value is false.
Example code

<obspl:Splitter RememberScrollPosition="true" id="spl1" runat="server" StyleFolder="styles/default">
<LeftPanel>
<Content>
... Left Panel content here ...
...

VB.NET
spl1.RememberScrollPosition = true

C#
spl1.RememberScrollPosition = true;


Please make sure you set SynchronizeScroll = true. Default value is false.
Example code

<obspl:Splitter SynchronizeScroll="true" id="spl1" runat="server" StyleFolder="styles/default">
<LeftPanel>
<Content>
... Left Panel content here ...
...

VB.NET
spl1.SynchronizeScroll = true

C#
spl1.SynchronizeScroll = true;


These features also work in horizontal splitter.
For security reasons both features don't work if inside one of the panels is loaded a page from other domain.


"Let me say that your package is fantastic. I was surprised to find so many examples. "

Lionel Dalmas