We have Asp.net Ajax 2009 Q1 SP1 on our server and developer machine.
The width property is set to 100% and the page can be dynamically resized by the user. Initial window size is 100% width and height. The PanelBar width is more than 200px. On the child item, towards the right side of the panel bar (before the end of it) white area appears without styling. When the widow is resized so the PanelBar width reduces, this white area shrinks as well and at some point disappears. On expand of the window the white space reappears (dynamically). I have found a thread with (probably) similar issue but I am keep getting “Server Error” (http://www.telerik.com/community/forums/aspnet-ajax/panelbar/radpane-width-problem.aspx).
Is there a way to disable white spacing appearance?
Thanks Dejan
<asp:ScriptManager ID="popupScriptmanager" runat="server"></asp:ScriptManager> |
<telerik:RadPanelBar |
runat="server" |
ID="ViewGroupsPanelBar" |
Width="100%" |
AppendDataBoundItems="True"> |
</telerik:RadPanelBar> |
protected void Page_Load(object sender, EventArgs e) |
{ |
int xCount = 1; |
while (xCount < 10) |
{ |
RadPanelItem rpi = new RadPanelItem(); |
ViewGroupsPanelBar.Items.Add(rpi); |
rpi.Text = "Bar " + xCount.ToString(); |
rpi.PostBack = false; |
if (xCount == 1) |
rpi.Expanded = true; |
int iCount = 1; |
while (iCount < 5) |
{ |
RadPanelItem rpiChild = new RadPanelItem(); |
rpiChild.Text = "Item " + xCount.ToString() + "; " + iCount.ToString(); |
rpiChild.Value = "Item " + xCount.ToString() + "; " + iCount.ToString(); |
rpiChild.Width = Unit.Percentage(100); |
rpi.Items.Add(rpiChild); |
iCount++; |
} |
xCount++; |
} |
} |