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
Cien S
NA
19
0
How to Save and retrieve Fckeditor value in Cookies.
Sep 14 2010 11:24 AM
Hi,
I want to save fckeditor value in cookies. And fckeditor have value as " Hi <name>, and so on .."
I am using following code :
My Code:
Save:
private void CookiesCreated()
{
//Create a new cookie, passing the name
HttpCookie cookie = new HttpCookie("BodyText");
//Set the cookies value
cookie.Value = Server.HtmlEncode(fckeditor.Value);
//Set the cookie to expire in 1 minute
cookie.Expires = DateTime.Now.AddMinutes(1);
//Add the cookie
Response.Cookies.Add(cookie);
}
Retrieve:
if (Request.Cookies["BodyText"] != null)
{
fckeditor.Value = Server.HtmlDecode(Request.Cookies["BodyText"].Value);
}
But i am uncomfortable to get the original value, i am getting only (<) this.
Please help me.
Thanks in advance
Reply
Answers (
0
)
display image and link in asp.net like this link
List box control