May 14, 2013, 7:21 PM
[CLOSED] Scrollbar issue with Chrome and SetTheme
Hi,
I found a strange issue testing with Chrome (26.0.1410.64 m) and thought I should let you guys know. If you have CleanResourceUrl="false" in your ResourceManager and then set a theme in your Page_Load you will have both vertical and horizontal scrollbars on the page. The scrollbars that do appear are not active and cannot be used.
I was able to reproduce this with the following markup:
I tested in Firefox 20.1 and IE 8 and there were no issues.
Thanks.
I found a strange issue testing with Chrome (26.0.1410.64 m) and thought I should let you guys know. If you have CleanResourceUrl="false" in your ResourceManager and then set a theme in your Page_Load you will have both vertical and horizontal scrollbars on the page. The scrollbars that do appear are not active and cannot be used.
I was able to reproduce this with the following markup:
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html>
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
ResourceManager.SetTheme((Theme)Enum.Parse(typeof(Theme), "Default", true));
}
</script>
<html>
<head runat="server">
<title>Index</title>
</head>
<body>
<div>
<ext:ResourceManager ID="ResourceManager" runat="server" CleanResourceUrl="false" />
<ext:Viewport runat="server" Layout="BorderLayout">
<Items>
<ext:Container Region="North" Height="110" Header="false" runat="server">
<Items>
<ext:Panel runat="server" Header="false"></ext:Panel>
</Items>
</ext:Container>
<ext:Panel runat="server" Region="West" />
<ext:Panel runat="server" Region="Center" />
</Items>
</ext:Viewport>
</div>
</body>
</html>
Running this code generates this:I tested in Firefox 20.1 and IE 8 and there were no issues.
Thanks.
Last edited by Baidaly; May 14, 2013 at 11:21 PM.
Reason: [CLOSED]