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

line break Description Field in Radscheduler

1 Answer 72 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Hoang
Top achievements
Rank 1
Hoang asked on 07 Jul 2015, 07:10 AM

Hi all,

I'm trying to get field Description in Calendar List Sharepoint site, then bind them to webpart.

But when show it, the description field has a problem.

Description in Calendar List has line breark , space , etc...  when show it to webpart, it has <div>, <br>  , &#160; , &#58; ... 

Ex: 

Description in Item on Calendar List : 

" Time:
•9:00 a.m. – 10:00 a.m. PDT
•10:00 a.m. – 11:00 a.m. MDT
•11:00 a.m. – 12:00 p.m. CDT
•12:00 p.m. – 1:00 p.m. EDT
•1:00 p.m. – 2:00 p.m. ADT
•1:30 p.m. – 2:30 p.m. NDT " 

 .... and when show it to webpart : 

" <div>Time&#58;<br>•9&#58;00 a.m. – 10&#58;00 a.m. PDT<br>•10&#58;00 a.m. – 11&#58;00 a.m. MDT<br>•11&#58;00 a.m. – 12&#58;00 p.m. CDT<br>•12&#58;00 p.m. – 1&#58;00 p.m. EDT<br>•1&#58;00 p.m. – 2&#58;00 p.m. ADT<br>•1&#58;30 p.m. – 2&#58;30 p.m. NDT</div> " 

 How I show it exactly like Above? I don't like <div> , &#58; ... 

Sorry for my English , it's not good :|

Tks for help!

Anh Nguyen

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 09 Jul 2015, 02:41 PM
Hello Anh,

I am afraid that the encoding in this scenario is not supported. In order to manage it in a preferable manner, whoever, you can use a RadEditor in the custom advance form the RadScheduler. For more information on how this could be implemented, please refer to the following KB article:

http://www.telerik.com/support/kb/aspnet-ajax/scheduler/details/integrating-radeditor-in-the-advanced-form-of-radscheduler

Regards,
Nencho
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Scheduler
Asked by
Hoang
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or