Click here to Skip to main content
15,888,803 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
XML
<script type="text/javascript" language="javascript">
      tinyMCE.init({
          mode: "textareas",
        theme: "advanced",
          plugins: "safari,spellchecker,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,imagemanager,filemanager",
          theme_advanced_buttons1: "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect",
          theme_advanced_buttons2: "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",
          theme_advanced_buttons3: "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
          theme_advanced_buttons4: "insertlayer,moveforward,movebackward,absolute,|,styleprops,spellchecker,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,blockquote,pagebreak,|,insertfile,insertimage",
          theme_advanced_toolbar_location: "top",
          theme_advanced_toolbar_align: "left",
          theme_advanced_statusbar_location: "bottom",
          theme_advanced_resizing: false,
          template_external_list_url: "js/template_list.js",
          external_link_list_url: "js/link_list.js",
          external_image_list_url: "js/image_list.js",
          media_external_list_url: "js/media_list.js"
      });


      function Close() {
          document.getElementById("Tr").style.visibility = "hidden";
          document.getElementById("Tr").style.display = "none";
          return false;
      }
</script>
        <ajaxtoolkit:toolkitscriptmanager ID="sc" runat="server" EnablePageMethods="true">
    </ajaxtoolkit:toolkitscriptmanager>


<asp:UpdatePanel ID="UpTree" runat="server" OnLoad="UpTree_Load">
<contenttemplate>
<asp:TreeView
ID="TreeView1"
ExpandDepth="0"
runat="server" Font-Size="15px"
OnTreeNodePopulate="TreeView1_TreeNodePopulate" ImageSet="BulletedList4" Width="100%">
<parentnodestyle font-bold="False">
<hovernodestyle font-underline="False">
<SelectedNodeStyle Font-Underline="True" HorizontalPadding="0px" VerticalPadding="0px" />
<nodestyle font-names="Tahoma" forecolor="#1A4F41" font-size="8pt" horizontalpadding="5px">
NodeSpacing="0px" VerticalPadding="0px" />





<asp:HiddenField ID ="hfParentID" runat="server" />

Add/Edit Praposal Wizard

<div class ="Field" runat="server" visible="false">

<asp:Label ID="lblNode" runat="server" Text="Node"/>

<asp:Label ID="lblNodeValue" runat="server" />




<asp:Label ID ="lblMessage" runat ="server" CssClass="lblMessage">
<%--

Standard Name


<asp:Label Font-Bold="true" ID="lblStandard" runat="server">

--%>





Title*


<asp:TextBox ID="txtTitle" runat="server" CssClass="LongTextField" />




Sub Title*


<asp:TextBox ID="txtSubTitle" runat="server" CssClass="LongTextField" />



Date

<asp:TextBox ID ="txtPraposalDate" runat="server" onkeyup="return Cleartext(this,event);" Font-Names="Calibri"
onmousedown="return noCopyMouseDate(event);" onkeydown="return noCopyKeyDate(event);">
<ajaxtoolkit:calendarextender Animated="true" PopupPosition="Right" Format="dd/MM/yyyy"
ID="CalendarExtender2" TargetControlID="txtPraposalDate" runat="server">



Position

<asp:TextBox ID ="txtPosition" runat="server" Width="50px" MaxLength="2" onkeypress="return isNumberKey(event);" >





Group Structure


<asp:RadioButtonList ID="RbtnIsAccountGroup" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Selected="True" Value="1">Group
<asp:ListItem Value="0">Non Group


Status


<asp:CheckBox ID ="chbkIsActive" runat ="server" Text ="Active" />



Description



<asp:TextBox ID ="txtDescription" runat="server" TextMode="MultiLine" data-bind="tinymce: model.html">




 


 <asp:Button ID="btnSave" SkinID="Button" CssClass="ActionButton" runat="server" OnClientClick="return SaveClause(this);" Text="Save" />
      <asp:Button ID="btnClose" runat="server" SkinID="Button" CssClass="ActionButton" OnClientClick="return Close();" Text="Close"
/>



 
Posted
Comments
Sergey Alexandrovich Kryukov 22-Mar-15 19:18pm    
Not a question. I removed all your comments, because they are unreadable anyway. Please add proper description in the body of the question.
—SA
Rustam Ansari 24-Mar-15 0:46am    
I am Using TextBox <asp:TextBox ID ="txtDescription" runat="server" TextMode="MultiLine" data-bind="tinymce: model.html"> and apply tinymce and when I fetch the record through database by Java-script record is displayed check in alert but this data is not bind in description Textbox . If I removed Texmode = "MultiLine" then data will get display. My concern is why data is not diplay while applying tinymce data
Rustam Ansari 2-Apr-15 7:52am    
How to add Header and footer in each page while print the page getting problem while printing the page

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900