Hello,
As my menu with panelbar works Ok with IE 7, I get unexpected horizontal scrollbar for first level panelItems underb FireFox ??
My first level items each have a large image associated.
The panelbar iteself is implemented like theTlerik sample for sliding panelbar: inside a div with a fixed width, all generated codebehind with:
Image Img = new Image();
HtmlGenericControl SlidingDiv = new HtmlGenericControl("div");
RadPanelBar mnu = new RadPanelBar();
Img.SkinID = "FloatButton";
Img.ID = "tbimage";
Img.AlternateText = "Menu";
Controls.Add(Img);
SlidingDiv.ID = "slidingDiv";
mnu.ID = "NavMen";
mnu.ExpandMode = Telerik.Web.UI.PanelBarExpandMode.SingleExpandedItem;
mnu.EnableTheming = true;
mnu.PersistStateInCookie = true;
then
Img.Style.Add("float","left");
Img.Style.Add("outline","0");
SlidingDiv.Style.Add(HtmlTextWriterStyle.Position,"absolute");
SlidingDiv.Style.Add(HtmlTextWriterStyle.Display,"none");
SlidingDiv.Style.Add(HtmlTextWriterStyle.Left,"50px");
SlidingDiv.Style.Add(HtmlTextWriterStyle.Top,"0");
SlidingDiv.Style.Add(HtmlTextWriterStyle.Width,"250px");
SlidingDiv.Style.Add(HtmlTextWriterStyle.Height,"600px");
why should this generate horizontal scrolls in FF ?
Any help welcome
CS
As my menu with panelbar works Ok with IE 7, I get unexpected horizontal scrollbar for first level panelItems underb FireFox ??
My first level items each have a large image associated.
The panelbar iteself is implemented like theTlerik sample for sliding panelbar: inside a div with a fixed width, all generated codebehind with:
Image Img = new Image();
HtmlGenericControl SlidingDiv = new HtmlGenericControl("div");
RadPanelBar mnu = new RadPanelBar();
Img.SkinID = "FloatButton";
Img.ID = "tbimage";
Img.AlternateText = "Menu";
Controls.Add(Img);
SlidingDiv.ID = "slidingDiv";
mnu.ID = "NavMen";
mnu.ExpandMode = Telerik.Web.UI.PanelBarExpandMode.SingleExpandedItem;
mnu.EnableTheming = true;
mnu.PersistStateInCookie = true;
then
Img.Style.Add("float","left");
Img.Style.Add("outline","0");
SlidingDiv.Style.Add(HtmlTextWriterStyle.Position,"absolute");
SlidingDiv.Style.Add(HtmlTextWriterStyle.Display,"none");
SlidingDiv.Style.Add(HtmlTextWriterStyle.Left,"50px");
SlidingDiv.Style.Add(HtmlTextWriterStyle.Top,"0");
SlidingDiv.Style.Add(HtmlTextWriterStyle.Width,"250px");
SlidingDiv.Style.Add(HtmlTextWriterStyle.Height,"600px");
why should this generate horizontal scrolls in FF ?
Any help welcome
CS