This is a migrated thread and some comments may be shown as answers.

Item width 100% witespace

2 Answers 214 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Dejan
Top achievements
Rank 1
Dejan asked on 26 May 2009, 07:43 AM

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++;  
   }  
}  
 

2 Answers, 1 is accepted

Sort by
0
Accepted
Paul
Telerik team
answered on 26 May 2009, 01:46 PM
Hi Dejan,

There was an issue with the skins' images that is already addressed. You can download and try the latest internal build or wait for the official SP2 due to be released later this week.

Sincerely yours,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Dejan
Top achievements
Rank 1
answered on 02 Jun 2009, 06:25 AM

Paul,

We have installed SP2 today and this issue is solved as you stated.

Thanks for your assistance.

Dejan

Tags
PanelBar
Asked by
Dejan
Top achievements
Rank 1
Answers by
Paul
Telerik team
Dejan
Top achievements
Rank 1
Share this question
or