Wednesday, March 28, 2012

Tab Container and IE Scrollbars

I am looking for any guidance in resolving an issue that I have run into with the Tab Container. The page that is using this container cannot be navigated using the Browser Scrollbar by clicking on the bar and dragging or using the arrows. Navigation can be done by using the wheel on the mouse or by double clicking on a position on the scroll bar.

Any help is greatly appreciated.

Regards,

Mike

Hi Mrheihardt,

mrheinhardt:

The page that is using this container cannot be navigated using the Browser Scrollbar by clicking on the bar and dragging or using the arrows.

We cannot reproduce your issue. Here is my test sample and it works pretty well on IE 7 and Firefox 2.0.

<%@. Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<ajaxToolkit:TabContainer ID="TabContainer1" runat="server">
<ajaxToolkit:TabPanel ID="TabPanel1" runat="server">
<HeaderTemplate>
Tab1</HeaderTemplate>
<ContentTemplate>
<asp:Panel ID="Panel1" runat="server" Height="900" Width="100%">
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</asp:Panel>
</ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="TabPanel2" runat="server" >
<HeaderTemplate>
Tab2</HeaderTemplate>
<ContentTemplate>
<asp:Panel ID="Panel2" runat="server" Height="200" Width="100%" style="overflow:auto">
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
</asp:Panel>
</ContentTemplate>
</ajaxToolkit:TabPanel>
</ajaxToolkit:TabContainer>

</form>
</body>
</html>

Please compare my sample with yours. I use Ajax ControlToolkit V10618. If your version is lower, would you please upgrate it? In this sample ,I use a Panel to shown the content. If it doesn't work on your machine, please provide your sample and system environments here.

I hope this help.

Best regards,

Jonathan


I also face this problem under IE6. But it works fine under IE7.

No comments:

Post a Comment