<%@ Page Language="C#" MasterPageFile="~/admin/admin_page.master" AutoEventWireup="true" CodeBehind="mouldinfo_edit.aspx.cs" Inherits="YXShop.Web.admin.systeminfo.mouldinfo_edit" Title="无标题页" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="stylesheet" href="../style/validator.css" type="text/css" />
    <script type="text/javascript" src="../../scripts/validate.js"></script>
    <link rel="stylesheet" href="../style/dtree.css" type="text/css" />
    <script type="text/javascript" src="../scripts/dtree.js"></script>
    <script type="text/javascript">
        var filelist=new Array();
        var objectC;
        function GetFile(control)
        {
            var y=control.offsetTop; 
            var x=control.offsetLeft; 
             
            objectC=control;
            while(control=control.offsetParent)
            {
                y+=control.offsetTop; 
                x+=control.offsetLeft;
            } 
            obj=$("fileLists");
            obj.style.visibility="visible";
            obj.style.left=x;
            obj.style.top=y+22;
        }
        function GetFileUrl(value)
        {
            objectC.value=value;
            $("fileLists").style.visibility="hidden";
        }
        
    </script>
    <style type="text/css">
    #fileLists
    {
    	height:200px;
	    width:247px;
	    overflow:auto;
    }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="pagetitle" runat="server">编辑模型
    <asp:Button ID="Button2" runat="server" CssClass="inputbutton" onclick="LinkButton1_Click" Text="保存设置" onMouseOver="javascript:document.getElementById(this.id).className='inputbutton_a'" onMouseOut="javascript:document.getElementById(this.id).className='inputbutton'"/>
    <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="mouldinfo_list.aspx"  CssClass="inputbutton" Text="返回表列" Width="65px" Height="24px" onMouseOver="javascript:document.getElementById(this.id).className='inputbutton_a'" onMouseOut="javascript:document.getElementById(this.id).className='inputbutton'"></asp:HyperLink>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="pageinfo" runat="server">编辑模型的信息&nbsp; 
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="workspace" runat="server">
    <asp:Panel ID="pnlMsg" runat="server" Visible="false" CssClass="pnlReturnMessageErr">
        <asp:Literal ID="ltlMsg" runat="server"></asp:Literal>
    </asp:Panel>
     <table  class="form_table_input" border="0" width="100%" cellspacing="0" cellpadding="0">
         <tr>
		    <td class="form_table_input_info">模型类别：<asp:HiddenField ID="txtId" runat="server" />
            </td>
		    <td>
                <asp:DropDownList ID="ddlMouldType" runat="server"></asp:DropDownList>
            </td>
		    <td>
                <div class="msgNormal">请选择该模型的模型类别</div>
            </td>
	    </tr>
	    <tr>
		    <td class="form_table_input_info">模型名称：
            </td>
		    <td>
                <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
            </td>
		    <td>
                <asp:Panel ID="txtNameTip" runat="server"></asp:Panel>
            </td>
	    </tr>
	    <tr>
		    <td class="form_table_input_info">模型路径：
            </td>
		    <td>
                <asp:TextBox ID="txtWebPagePath" CssClass="long_input" runat="server"></asp:TextBox>
                <div id="fileLists" class="dtree">
                    <asp:Literal ID="ltlFileList" runat="server"></asp:Literal>
                </div>
            </td>
		    <td>
                <asp:Panel ID="txtWebPagePathTip" runat="server"></asp:Panel>
            </td>
	    </tr>
	    <tr>
		    <td class="form_table_input_info">模型描述：
            </td>
		    <td>
                <asp:TextBox ID="txtDescription"  TextMode="MultiLine" runat="server"></asp:TextBox>
            </td>
		    <td>
                <asp:Panel ID="txtDescriptionTip" runat="server"></asp:Panel>
            </td>
	    </tr>
         <tr>
		    <td class="form_table_input_info">是否启用：
            </td>
		    <td>
                <asp:RadioButtonList ID="ckbStat" runat="server" RepeatDirection="Horizontal" 
                    RepeatLayout="Flow">
                    <asp:ListItem Value="1" Selected="True">启用</asp:ListItem>
                    <asp:ListItem Value="0">停用</asp:ListItem>
                </asp:RadioButtonList>
            </td>
		    <td>
                <div class="msgNormal">该模型是否启用</div>
            </td>
	    </tr>
    </table>
</asp:Content>
<asp:Content ContentPlaceHolderID="pagebottom" runat="server" ID="ContentBottom">
    <asp:Button ID="Button1" runat="server" CssClass="inputbutton" onclick="LinkButton1_Click" Text="保存设置" onMouseOver="javascript:document.getElementById(this.id).className='inputbutton_a'" onMouseOut="javascript:document.getElementById(this.id).className='inputbutton'"/>
    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="mouldinfo_list.aspx"  CssClass="inputbutton" Text="返回表列" Width="65px" Height="24px" onMouseOver="javascript:document.getElementById(this.id).className='inputbutton_a'" onMouseOut="javascript:document.getElementById(this.id).className='inputbutton'"></asp:HyperLink>
</asp:Content>