Item width 100% witespace

3 posts, 1 answers
  1. Dejan
    Dejan avatar
    10 posts
    Member since:
    Apr 2009

    Posted 26 May 2009 Link to this post

    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. Answer
    Paul
    Admin
    Paul avatar
    4281 posts

    Posted 26 May 2009 Link to this post

    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.
  3. Dejan
    Dejan avatar
    10 posts
    Member since:
    Apr 2009

    Posted 02 Jun 2009 Link to this post

    Paul,

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

    Thanks for your assistance.

    Dejan

Back to Top