My requirement says that i need a editor to edit xslt file. Which is generated from the database and shown in radedtior content.
The end users are allowed to edit the design mode and are allowed to save the data back to the database.
When i use ContentAreaMode="Div" as soon as the page loads the above alert message gets triggered which i
don't wanted. kindly suggest me how to fix the above issue.
I want the ContentAreaMode="Div"
<%@ Page Title="" Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPages/Normal.Master"
CodeBehind="EditEmailTemplate.aspx.cs" Inherits="EditEmailTemplate"
ValidateRequest="false" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Src="~/UserControls/metadata.ascx" TagName="Meta" TagPrefix="VT" %>
<%@ Register Src="~/UserControls/BottomPageScripts.ascx" TagName="Tracking" TagPrefix="VT" %>
<%@ Register Src="~/UserControls/SecurityControl.ascx" TagName="Security" TagPrefix="VT" %>
<
asp:Content
ID
=
"Content1"
ContentPlaceHolderID
=
"head"
runat
=
"server"
>
<
link
href
=
"App_Themes/Daimler/style.css"
rel
=
"stylesheet"
type
=
"text/css"
/>
</
asp:Content
>
<
asp:Content
ID
=
"Content3"
ContentPlaceHolderID
=
"ContentPlaceHolder2"
runat
=
"server"
>
<
hr
/>
<
asp:Panel
runat
=
"server"
ID
=
"pnlhead"
>
<
div
style
=
"vertical-align: middle"
>
<
table
style
=
"margin-left: 4%;"
class
=
"dashboard-advanced-search"
>
<
tr
>
<
td
style
=
"vertical-align: middle; width: 8%"
class
=
"label"
>
<
asp:Label
ID
=
"lblSub"
runat
=
"server"
Text
=
"Subject: "
></
asp:Label
>
</
td
>
<
td
style
=
"vertical-align: middle; width: 34%"
>
<
asp:TextBox
ID
=
"txtSubject"
runat
=
"server"
Style
=
"width: 320px;"
></
asp:TextBox
>
</
td
>
<
td
style
=
"vertical-align: middle; width: 4%"
>
</
td
>
<
td
style
=
"vertical-align: middle; width: 7%"
class
=
"label"
>
<
asp:Label
ID
=
"lblType"
runat
=
"server"
Text
=
"Name: "
></
asp:Label
>
</
td
>
<
td
style
=
"vertical-align: middle; width: 42%"
>
<
asp:TextBox
ID
=
"txtType"
runat
=
"server"
Style
=
"width: 260px;"
></
asp:TextBox
>
</
td
>
</
tr
>
</
table
>
</
div
>
</
asp:Panel
>
<
hr
/>
<
asp:Panel
ID
=
"Panel1"
runat
=
"server"
HorizontalAlign
=
"Center"
Width
=
"94%"
>
<
asp:Label
ID
=
"lblMessage"
runat
=
"server"
Text
=
"Record saved successfully."
Visible
=
"true"
Font-Bold
=
"true"
ForeColor
=
"Green"
Font-Size
=
"Small"
></
asp:Label
>
<
br
/>
</
asp:Panel
>
</
asp:Content
>
<
asp:Content
ID
=
"Content4"
ContentPlaceHolderID
=
"ContentPlaceHolder3"
runat
=
"server"
>
<
div
style
=
"padding-left: 1%; padding-right: 1%;"
>
<
telerik:RadTabStrip
ID
=
"tbtemplate"
runat
=
"server"
MultiPageID
=
"RadMultiPage1"
Skin
=
"Black"
SelectedIndex
=
"0"
OnTabClick
=
"tbtemplate_TabClick"
OnLoad
=
"tbtemplate_Load"
>
<
tabs
>
<
telerik:RadTab
Text
=
"XSLT"
CssClass
=
"tabStrip"
Selected
=
"True"
>
</
telerik:RadTab
>
<
telerik:RadTab
Text
=
"Preview"
CssClass
=
"tabStrip"
>
</
telerik:RadTab
>
</
tabs
>
</
telerik:RadTabStrip
>
<
div
style
=
"padding-bottom: 0.6%; padding-top: 0.3%;"
>
<
asp:Panel
ID
=
"Panelbtn"
runat
=
"server"
HorizontalAlign
=
"Right"
Width
=
"98%"
>
<
asp:ImageButton
ID
=
"btnSave"
runat
=
"server"
ImageUrl
=
"images/btn-save.png"
OnClick
=
"btnSave_Click"
/>
<
asp:ImageButton
ID
=
"btnCancel"
runat
=
"server"
ImageUrl
=
"~/images/btn-cancel.png"
OnClick
=
"btnCancel_Click"
/>
</
asp:Panel
>
</
div
>
<
div
>
<
telerik:RadEditor
ContentAreaMode
=
"Div"
runat
=
"server"
ID
=
"RadEditor1"
EditModes
=
"Preview,Design"
AutoResizeHeight
=
"true"
Height
=
"715"
>
<
modules
>
<
telerik:EditorModule
Enabled
=
"false"
Visible
=
"false"
/>
</
modules
>
</
telerik:RadEditor
>
</
div
>
</
div
>
</
asp:Content
>