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

[Solved] How i can retrive just text without HTML code in RadEditor?

3 Answers 283 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Farshad heidary
Top achievements
Rank 1
Farshad heidary asked on 01 Feb 2010, 01:49 PM
hi guys
How i can retrive just text without HTML code in RadEditor?
wanna show just text of radeditor in lable

for ex:
in rad:
Hello.<br>
<div>Goodbye</div>
wanna show : Hello GoodBye

Tnx Support team




3 Answers, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 01 Feb 2010, 04:46 PM
Are you attempting to do this on client-side or server-side? For a server-side approach you would simply set a String object equal to RadEditor1.Content. As for the client-side I believe the best function for you to use is the get_text() one.
0
Farshad heidary
Top achievements
Rank 1
answered on 01 Feb 2010, 05:25 PM
tnx 4 ur attention
i know
wanna retrive text. but Content Function retrive HTML .

0
Schlurk
Top achievements
Rank 2
answered on 01 Feb 2010, 05:41 PM
My apologies, I meant to say that the RadEditor1.Text property is what you're looking for! :)
Tags
Editor
Asked by
Farshad heidary
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Farshad heidary
Top achievements
Rank 1
Share this question
or