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

problem with PanelBar displayed text

1 Answer 24 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Ramakrishna
Top achievements
Rank 1
Ramakrishna asked on 24 Aug 2010, 02:26 PM
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.

1 Answer, 1 is accepted

Sort by
0
Kalina
Telerik team
answered on 27 Aug 2010, 02:51 PM
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
Tags
PanelBar
Asked by
Ramakrishna
Top achievements
Rank 1
Answers by
Kalina
Telerik team
Share this question
or