Oct 27, 2009, 12:01 PM
[CLOSED] Accordian Items Scroll Redraw mess
I have an accordian on a page:
Any ideas why this is please? (IE7 on Windows XP with Visual Studio 2008 SP1)
<ext:Panel ID="Panel551" runat="server" Height="400" Width="400">
<Body>
<ext:Accordion ID="AccordionMainMenu" runat="server"/>
</Body>
</ext:Panel>
That is built in codebehind like: Dim mnuItem As Coolite.Ext.Web.MenuItem
Dim pnl As Coolite.Ext.Web.MenuPanel
For intCount As Integer = 1 To 2
pnl = New Coolite.Ext.Web.MenuPanel
pnl.ID = "Menu" & intCount.ToString
pnl.Title = "Main Menu" & intCount.ToString
pnl.Collapsed = False
pnl.Icon = Icon.Application
pnl.BodyStyle = "overflow-x:hidden;"
pnl.AutoScroll = True
For i As Integer = 1 To 100
mnuItem = New Coolite.Ext.Web.MenuItem
mnuItem.Text = "Menu" & intCount.ToString & i.ToString
mnuItem.ID = "Menu" & intCount.ToString & i.ToString
pnl.Menu.Items.Add(mnuItem)
Next
Me.AccordionMainMenu.Items.Add(pnl)
Next
Now if I scroll to the bottom of one of the panels the background changes to white and when I mouse over the items they start redrawing funny and jump me back to the top of the accordian. Any ideas why this is please? (IE7 on Windows XP with Visual Studio 2008 SP1)