<%@ page language="C#" autoeventwireup="true" inherits="Learn_ConversionKnowledge, App_Web_motn9een" stylesheettheme="Themes" theme="Themes" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>个人知识管理</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="../css/layout.css" rel="stylesheet" type="text/css" />
    <link href="../css/layerDiv.css" rel="stylesheet" type="text/css" />

    <script src="../js/LayerDiv.js" type="text/javascript"></script>

    <script src="../js/calendar.js" type="text/javascript"></script>

    <script type="text/javascript" src="../js/jquery.js"></script>

    <script type="text/javascript" src="../js/jquery.pngFix.pack.js"></script>

    <script type="text/javascript" src="../js/WebValidator.js"></script>

    <script type="text/javascript" src="../js/InterfaceContrl.js"></script>

    <script src="../js/common.js" type="text/javascript"></script>

    <script language="javascript">

        function CheckAll() {
            var cked = false;
            cked = document.getElementById("chkSelAll").checked;
            for (var i = 0; i < document.getElementsByTagName("*").length; i++) {
                var e = document.getElementsByTagName("*")[i];
                try {
                    if (e.name.substring(e.name.length - 6, e.name.length) == "chkSel") {
                        e.checked = cked;
                    }
                }
                catch (exception) {
                }
            }
        }

        function CheckSelect() {
            var count = 0;
            for (var i = 0; i < document.getElementsByTagName("*").length; i++) {
                var e = document.getElementsByTagName("*")[i];
                try {
                    if (e.name.substring(e.name.length - 6, e.name.length) == "chkSel") {
                        if (e.checked == true) {
                            count++;
                        }
                    }
                }
                catch (exception) {
                }
            }
            if (count == 0) {
                alert("请选择您要删除的项！");
                return false;
            }
            else {
                return confirm('您确定要删除所选项吗?');
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server" enctype="multipart/form-data" method="post">
    <asp:Panel ID="panelAdd_Edit" runat="server" Height="100%" CssClass="table_box">
        <table width="100%" cellpadding="0" cellspacing="0">
            <tr>
            <td class="right_bg">
                <span class="right_title">
                    <img src="../Images/homen.gif" class="img_style" />
                    您的当前位置：个人知识转化</span>
            </td>
        </tr>
        <tr>
            <td class="r_top_box">
                <table cellspacing="0" cellpadding="5" class="r_top_title_box">
                <tr>
                    <td align="center" id="tab_title">个人知识转化
                    </td>
                    <td align="right">
                        <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" />
                    </td>
                </tr>
            </table>
            </td></tr>
            <tr>
                <td class="margintop5">
                <table border="0" cellpadding="0" cellspacing="1" width="100%" class="table_notitle">
                <tr>
                    <td align="right" bgcolor="#ffffff" width="200px" class="td01">
                        个人知识分类:
                    </td>
                    <td bgcolor="#ffffff" width="300">
                        <asp:Label ID="lblClassName" runat="server" Text=""></asp:Label>
                        <asp:Button ID="btnSelectClas" runat="server" OnClick="btnSelectClas_Click" Text="选择分类" />
                    </td>
                    <%--<td width="100" bgcolor="#ffffff">
            &nbsp;</td>--%>
                </tr>
                <tr>
                    <td align="right" bgcolor="#ffffff" class="td01">
                        标题:
                    </td>
                    <td bgcolor="#ffffff">
                        <asp:TextBox ID="txtName" runat="server" CssClass="input1" MaxLength="50" Width="550px"></asp:TextBox>
                        <%--<span style="color:Red; font-size:12px;">*</span>--%>
                    </td>
                    <%--<td width="100" bgcolor="#ffffff" align="right">
            &nbsp;</td>--%>
                </tr>
                <tr>
                    <td align="right" bgcolor="#ffffff" class="td01">
                        内容:
                    </td>
                    <td bgcolor="#ffffff">
                        <asp:TextBox ID="txtDescription" runat="server" CssClass="input1" Height="129px"
                            TextMode="MultiLine" Width="550px"></asp:TextBox>
                    </td>
                </tr>
            </table>
                </td>
            </tr></table>
    </asp:Panel>
    <div id="LayerShow" runat="server" style="width: 400px; top: 8%; overflow: auto;
        padding-left: 10px; padding-right: 10px; padding-top: 10px; display: none; background-color: #fff;">
        <div id="m_onlineuser" class="b2">
            <div class="rct">
                <div class="l tl1">
                </div>
                <div class="r tr1">
                </div>
            </div>
            <div class="cnt f14">
                <div style="color: #666" align="center">
                    <table class="" cellpadding="5" height="400">
                        <tr>
                            <td>
                                <div style="overflow: auto; height: 400px;">
                                    <asp:TreeView ID="TreeView1" runat="server" ShowLines="True" DataSourceID="XmlDataSource2"
                                        ExpandDepth="1"  >
                                        <LevelStyles>
                                            <asp:TreeNodeStyle Font-Underline="False" />
                                            <asp:TreeNodeStyle Font-Underline="False" />
                                        </LevelStyles>
                                        <SelectedNodeStyle BackColor="Gainsboro" ForeColor="" />
                                        <NodeStyle ForeColor="Black" />
                                        <RootNodeStyle HorizontalPadding="0px" />
                                        <DataBindings>
                                            <asp:TreeNodeBinding DataMember="Item" TextField="ClassName" ValueField="ID" />
                                            <asp:TreeNodeBinding DataMember="Root" TextField="ClassName" ValueField="ID" />
                                        </DataBindings>
                                    </asp:TreeView>
                                    <asp:XmlDataSource ID="XmlDataSource2" runat="server" EnableCaching="False"></asp:XmlDataSource>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Button ID="btnSelectClass" runat="server" Text="确 定" OnClick="btnSelectClass_Click" />
                                <asp:Button ID="btnCancel" runat="server" Text="取 消" OnClick="btnCancel_Click" />
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="rcb">
                <div class="l bl1">
                </div>
                <div class="r br1">
                </div>
            </div>
        </div>
    </div>
    <div id="LayerAll" runat="server">
    </div>
    <asp:TextBox ID="txtClassID" runat="server" Visible="false"></asp:TextBox>
    <asp:TextBox ID="txtProductID" runat="server" Visible="false"></asp:TextBox>
    </form>
</body>
<%--<script language="javascript" type="text/javascript">
    $(document).ready(function()
    {
        Validator();
    });
    function Validator()
    {
        $('#<%= btnSave.ClientID %>').bind('click', function()
        {

            return GetValidatorMessage();
        });
        $("#<%=txtDescription.ClientID %>").textlimit(500);
    }
    </script>--%>
</html>
