<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"
/>