PDA

View Full Version : TINYMCE HTML Editor in tab panel



CoolNoob
Nov 13, 2009, 8:24 AM
Hi,

I have a page with tabpanel, inside the tabpanel i have embeded the tinymce HTML Editor control.

but when i run the editor is like read only. i am not able to add any content to the editor.

what is the problem i don't know..

here is my code:


<form id="form1" runat="server">
<ext:ScriptManager ID="ScriptManager1" runat="server" />

<ext:TabPanel ID="TabPanel1" runat="server" ActiveTabIndex="0" Width="450">
<Tabs>
<ext:Tab ID="Tab1"
runat="server"
Title="Short Text"
AutoHeight="true"
BodyStyle="padding: 6px;">
<Body>
<tinymce:TextArea id="htmEdCtrl"
theme="advanced"
plugins="pagebreak,table,insertdatetime"
theme_advanced_buttons1="spellchecker,save,newdocument,|,bold,italic,underl ine,strikethrough,|,justifyleft,justifycenter,just ifyright,justifyfull,|,styleselect,formatselect,fo ntselect,fontsizeselect"
theme_advanced_buttons2="cut,copy,paste,pastetext,pasteword,|,search,replac e,|,bullist,numlist,|,outdent,indent,blockquote,|, undo,redo,|,link,unlink,anchor,image,cleanup,help, code,|,insertdate,inserttime,preview,|,forecolor,b ackcolor"
theme_advanced_buttons3="tablecontrols,|,hr,removeformat,visualaid,|,sub,su p,|,charmap,emotions,iespell,media,advhr,|,print,| ,ltr,rtl,|,fullscreen"
theme_advanced_buttons4="insertlayer,moveforward,movebackward,absolute,|,st yleprops,|,cite,abbr,acronym,del,ins,attribs,|,vis ualchars,nonbreaking,template,pagebreak"
theme_advanced_toolbar_location="top"
theme_advanced_toolbar_align="left"
theme_advanced_path_location="bottom"
theme_advanced_resizing="true"
runat="server"
/>
</Body>

</ext:Tab>
</Tabs>
</ext:TabPanel>



</form>

I tried putting the control outside tabpanel and it is working.

please help.

Thanks