TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Pramod Kumar Nandagiri
NA
484
0
Send Html content from browser to asp.net code behind
Mar 16 2012 2:43 AM
Hi Friends,
Iam using iframe control to enter some data and to format the data to bold,italic etc....
and i want to store the formatted data in the database for that i want to store the html content of the iframe control instead of data, so that the text will be saved with all it's formats(bold, italic,textcolor etc....)
So to access the innerHtml of the iframe in asp.net code behind i have assigned the iframe innerhtml to asp:HiddenField using javascript and posted back the page but it is giving error like bellow:
A potentially dangerous Request.Form value was detected from the client (hdValue="<span style="color: ...").
Could any one please tell me how to send the html content form browser to asp.net code behind (after wards it can be saved in database)
please tell me if any other way...
Reply
Answers (
4
)
Redirecting to Page Problem
Issue in DataSet(.xsd) File