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

To Add Blank spaces in the Listbox text value

1 Answer 147 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Manishkumar
Top achievements
Rank 1
Manishkumar asked on 21 Apr 2011, 07:19 AM
Hi;
We are using RADLIST box we have an unusal requirement after everyword inside the listbox there has to be some white spaces in betwwen the word for example "Hello                                                                         World".
but when I give this inside the listbox the spaces get truncated to "Hello World".
Can you please tell me that how can I acihve this functionality as it is very urgent for me.
please let me know ASAP.

1 Answer, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 02 May 2011, 01:33 PM
Hi Manishkumar,

In order to deal with this problem, please try the following CSS:
.rlbGroup
{
    word-wrap: break-word !important
}
 
.rlbText, .rlbItem
{
    white-space: pre-wrap !important;
                 
}

I hope this would help you out.

Greetings,
Dimitar Terziev
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
General Discussions
Asked by
Manishkumar
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Share this question
or