problem with PanelBar displayed text

2 posts, 0 answers
  1. Ramakrishna
    Ramakrishna avatar
    16 posts
    Member since:
    Aug 2008

    Posted 24 Aug 2010 Link to this post

    Hi All,

    I have used PanelBar in my application to display some static text and i'm binding the panelbar from xml. This is working very much fine as long as the text was small. If the text width is more than the panelbar width, instead of wrapping the text it was truncating. Should i have to enable any op'n to wrap the text..

  2. Kalina
    Kalina avatar
    918 posts

    Posted 27 Aug 2010 Link to this post

    Hello Ramakrishna,

    I am afraid that in the scenario that you describe items with long texts are not supported.
    However you can try overriding the .rpText CSS style of the RadPanelBar in order to apply some word wrapping. Additionally I will recommend you use the "Sitefinity" or "Simple" Skin in order to ensure better appearance of the long texts.
    <head runat="server">
        <style type="text/css">
             word-wrap: break-word;
        <form id="form1" runat="server">
         <telerik:RadScriptManager ID="ScriptManager1" runat="server"/>
         <telerik:RadPanelBar runat="server" ID="RadPanelBar1" 
           Skin="Sitefinity" ></telerik:RadPanelBar>

    I hope this helps.

    All the best,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top