Thank you for the prompt reply, Dobromir.
We are on Telerik version 2011.3.1115.40 and are under .NET Framework 4.0.
The problem is most notable under IE 8, but we can also see it under FF 8.0.1 and Chrome 16.0.912.63.
I am currently just using simple anchor tags. If you have a better method to scroll a single pane to a specific section, I'd love to try it.
Attaching a very simplified page of what I am trying to achieve. To replicate, scroll the top pane to, say, topic 70 and click the link. The behavior then jumps the page down completely to the second pane. In my actual project, I added splitter.heightoffset values to control the percentage of the splitter with the other elemnts on the page, but it is not needed here to demonstrate the behavior.
Thank you in advance for looking at this, and I'm hoping that you can find a solution to my desired behavior.
-Scott
Page file:
Code Behind:
Imports System
Imports System.IO
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.Text.RegularExpressions
Imports System.Data.SqlClient
Imports System.Data
Imports Telerik.Web.UI
Public Class _index
Inherits Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
GetFAQLinksFromTopics()
End If
End Sub
Private Sub GetFAQLinksFromTopics()
'Dim strTopics As String = ""
Dim blnFirstTopic As Boolean = True
For idx As Integer = 1 to 100
Dim tblFAQAnswers As HtmlTable
Dim rowFAQAnswers As HtmlTableRow
Dim cellFAQAnswers As HtmlTableCell
Dim lblTopic As Label
Dim NewParent As New RadTreeNode
'Setup Topic treeview
NewParent.Text = "<a href='#" & "t" & idx.ToString & "' >Topic " & idx.ToString & "</a>"
tvFAQLinks.Nodes.Add(NewParent)
'Setup detail section
tblFAQAnswers = New HtmlTable
pnlAnswers.Controls.Add(tblFAQAnswers)
If Not blnFirstTopic Then
rowFAQAnswers = New HtmlTableRow
cellFAQAnswers = New HtmlTableCell
cellFAQAnswers.ColSpan = 2
cellFAQAnswers.Controls.Add(new LiteralControl("<hr/>"))
rowFAQAnswers.Cells.Add(cellFAQAnswers)
tblFAQAnswers.Rows.Add(rowFAQAnswers)
End If
rowFAQAnswers = New HtmlTableRow
cellFAQAnswers = New HtmlTableCell
cellFAQAnswers.ColSpan = 2
cellFAQAnswers.Style("padding-left") = "4px"
Dim ancTopic As New HtmlAnchor
ancTopic.Name = "t" & idx.ToString
cellFAQAnswers.Controls.Add(ancTopic)
lblTopic = New Label
lblTopic.Text = "Topic " & idx.ToString
lblTopic.Style("font-underline") = "True"
lblTopic.Style("font-weight") = "Bold"
lblTopic.Style("font-size") = "Large"
cellFAQAnswers.Controls.Add(lblTopic)
rowFAQAnswers.Cells.Add(cellFAQAnswers)
tblFAQAnswers.Rows.Add(rowFAQAnswers)
rowFAQAnswers = New HtmlTableRow
cellFAQAnswers = New HtmlTableCell
cellFAQAnswers.ColSpan = 2
Dim lblTopicDesc As New Label
lblTopicDesc.Text = " " & "This is the description for Topic " & idx.ToString
cellFAQAnswers.Style("padding-left") = "4px"
cellFAQAnswers.Controls.Add(lblTopicDesc)
rowFAQAnswers.Cells.Add(cellFAQAnswers)
tblFAQAnswers.Rows.Add(rowFAQAnswers)
Next
End Sub
End Class