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..


    Regards,
    sagi.
  2. Kalina
    Admin
    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">
        <title></title>
        <style type="text/css">
        .rpText
        {
             word-wrap: break-word;
        }   
        </style>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
         <telerik:RadScriptManager ID="ScriptManager1" runat="server"/>
         <telerik:RadPanelBar runat="server" ID="RadPanelBar1" 
           Skin="Sitefinity" ></telerik:RadPanelBar>
        </div>
        </form>
    </body>

    I hope this helps.

    All the best,
    Kalina
    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top