<%@ Page Title="" Language="C#" MasterPageFile="Admin.Master" AutoEventWireup="true" CodeBehind="EditHtml.aspx.cs" Inherits="Portal.Admin.EditHtml" %>
<%@ Register src="~/UserControls/HtmlEdit.ascx" tagname="HtmlEdit" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

  <div class="result-wrap">
    <div class="result-title">
                <h1>编辑HTML模块</h1>
            </div>
         <div class="result-list"> 

             <asp:Panel runat="server" ID="pnlNeedJs">
             </asp:Panel>



    <asp:RadioButtonList ID="isservercode" runat="server" RepeatColumns="3" 
         AutoPostBack="True" 
        onselectedindexchanged="isservercode_SelectedIndexChanged">
    <asp:ListItem Text="Html 文本" Value="0"></asp:ListItem>
    <asp:ListItem Text="服务器端函数" Value="1"></asp:ListItem>
    <asp:ListItem Text="客户端JS脚本" Value="2"></asp:ListItem>
    </asp:RadioButtonList>


<br />

<div style="color:red">提示：按Enter是段落换行; 如果需要换行，请按Enter+Shift</div><br />
    <uc1:HtmlEdit runat="server" ID="htmltext" />

    <asp:Button ID="Button1" runat="server" Text="更新" OnClick="UpdateBtn_Click"  class="btn btn-primary"/>
    <asp:Button ID="Button2" runat="server" Text="取消" OnClick="CancelBtn_Click" class="btn" />
        <asp:Button ID="Button3" runat="server" Text="删除此模块" OnClick="DelBtn_Click" class="btn" />
    <br /><br />
    

 <asp:Panel runat="server" ID="pnl_intro">
服务器端函数允许您调用本站公开的函数<br />
实例列：
<br />
GetNews(6)
<br />

<br />
关于可用使用的函数，请访问 http://www.dotnetcms.org 查看本系统公开的函数接口.
</asp:Panel>


</div>





</asp:Content>
