Font change optionshttp://forums.asp.net/t/1772438.aspx/1?Font+change+optionsThu, 23 Feb 2012 06:39:51 -050017724384844822http://forums.asp.net/p/1772438/4844822.aspx/1?Font+change+optionsFont change options <p>Hello,</p> <p></p> <p>How to add a font change options like, when type messages in microsoft asp.net Forums?</p> <p></p> <p>thanks</p> 2012-02-22T09:25:56-05:004844844http://forums.asp.net/p/1772438/4844844.aspx/1?Re+Font+change+optionsRe: Font change options <p>hi,</p> <p>&nbsp;use tinymce HTML Editor. refer <a target="_blank" title="http://www.tinymce.com/" href="http://www.tinymce.com/"> here</a></p> <p>Thanks&amp;Regards,</p> <p>Arunabathan.G</p> 2012-02-22T09:37:09-05:004846206http://forums.asp.net/p/1772438/4846206.aspx/1?Re+Font+change+optionsRe: Font change options <p>thanks arunabathan</p> <p></p> <p></p> <p>regards</p> <p>sujila</p> 2012-02-23T03:51:58-05:004846350http://forums.asp.net/p/1772438/4846350.aspx/1?Re+Font+change+optionsRe: Font change options <p>Hello..</p> <p>I used &nbsp;used tinymce HTML Editor.But I don't know how to save this file..Can you please help me</p> <p></p> <p>regards</p> <p>Sujiila</p> 2012-02-23T05:16:16-05:004846493http://forums.asp.net/p/1772438/4846493.aspx/1?Re+Font+change+optionsRe: Font change options <p>hi,</p> <p>&nbsp;just place jscripts, css,lists,media&amp;templates(inside of example) to you project folder..</p> <p>the follow this code.</p> <p>set false these two <strong>ValidateRequest=&quot;false&quot; EnableEventValidation=&quot;false&quot;</strong> also place textarea in <strong>runat=&quot;server&quot; </strong></p> <pre class="prettyprint">&lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; CodeBehind=&quot;test.aspx.cs&quot; Inherits=&quot;app1.test&quot; ValidateRequest=&quot;false&quot; EnableEventValidation=&quot;false&quot; %&gt; &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt; &lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt; &lt;head runat=&quot;server&quot;&gt; &lt;title&gt;&lt;/title&gt; &lt;script type=&quot;text/javascript&quot; src=&quot;jscripts/tiny_mce/tiny_mce.js&quot;&gt;&lt;/script&gt; &lt;script type=&quot;text/javascript&quot;&gt; tinyMCE.init({ // General options mode: &quot;textareas&quot;, theme: &quot;advanced&quot;, plugins: &quot;autolink,lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wordcount,advlist,autosave&quot;, // Theme options theme_advanced_buttons1: &quot;save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect&quot;, theme_advanced_buttons2: &quot;cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor&quot;, theme_advanced_buttons3: &quot;tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen&quot;, theme_advanced_buttons4: &quot;insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft&quot;, theme_advanced_toolbar_location: &quot;top&quot;, theme_advanced_toolbar_align: &quot;left&quot;, theme_advanced_statusbar_location: &quot;bottom&quot;, theme_advanced_resizing: true, // Example content CSS (should be your site CSS) content_css: &quot;css/content.css&quot;, // Drop lists for link/image/media/template dialogs template_external_list_url: &quot;lists/template_list.js&quot;, external_link_list_url: &quot;lists/link_list.js&quot;, external_image_list_url: &quot;lists/image_list.js&quot;, media_external_list_url: &quot;lists/media_list.js&quot;, // Style formats style_formats: [ { title: 'Bold text', inline: 'b' }, { title: 'Red text', inline: 'span', styles: { color: '#ff0000'} }, { title: 'Red header', block: 'h1', styles: { color: '#ff0000'} }, { title: 'Example 1', inline: 'span', classes: 'example1' }, { title: 'Example 2', inline: 'span', classes: 'example2' }, { title: 'Table styles' }, { title: 'Table row 1', selector: 'tr', classes: 'tablerow1' } ], // Replace values for the template plugin template_replace_values: { username: &quot;Some User&quot;, staffid: &quot;991234&quot; } }); &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;div&gt; &lt;textarea id=&quot;elm1&quot; name=&quot;elm1&quot; rows=&quot;15&quot; cols=&quot;80&quot; style=&quot;width: 80%&quot; runat=&quot;server&quot;&gt;&lt;/textarea&gt; &lt;asp:Button ID=&quot;btn_submit1&quot; runat=&quot;server&quot; Text=&quot;Button&quot; onclick=&quot;btn_submit1_Click&quot; /&gt; &lt;/div&gt; &lt;/body&gt;</pre> <p>in code behind</p> <pre class="prettyprint"> protected void btn_submit1_Click(object sender, EventArgs e)<br /> {<br /> <br /> string html = elm1.Value.ToString();<br />//then store these value to database..<br /> }</pre> <p></p> <p>Thanks&amp;Regards,</p> <p>Arunabathan.G</p> <p>(please mark if you got answer)</p> 2012-02-23T06:39:51-05:00