Want a Rich TextBox in a normal <textarea> control
visit this link
http://www.codeproject.com/KB/scripting/htmlarea.aspx
for Rendering the HTML back into the formatted manner
<label id="emailsumPrev" runat="server" ><%= HttpUtility.HtmlDecode(getRequestFormValue()) %></label>
THe HtmlArea value will be viewed from Server side through
Page.Previous.Request.Form["htmlarea1"] and only if the EnableViewState of the htmlarea is set to True
public string getRequestFormValue()
{
return Page.Previous.Request.Form["htmlarea1"];
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment