<%@ Page Language="c#" Inherits="Web.User.manageWebResear" CodeBehind="manageWebResear.aspx.cs" %>

<!DOCTYPE html>
<!--[if lt IE 9]><html class="lte-ie8"><![endif]-->
<!--[if gt IE 8]><!-->
<html>
<!--<![endif]-->
<head>
    <title>问卷管理</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!--#include file="../Css/userCssList.htm"-->

    <script type="text/javascript">
    
        jQuery(function($) {       
          
             $("#btnAdd").click().fancybox({
                'width'		: 800,
				'height'	: 430,
				'hideOnOverlayClick': false,
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'fade',
				'type'		: 'iframe',
				'padding':'0',
				'href'      : 'addWebResear.aspx?bigClassId=<%= bigClassId %>&menuId=<%= menuId %>'
            });
            
            $(".FBox").click().fancybox({
                'width'		: 800,
				'height'	: 430,
				'hideOnOverlayClick': false,
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'fade',
				'type'		: 'iframe',
				'padding':'0'
            });
    
        });
        
    </script>
    
</head>
<body>
    <div class="list-func-box func-box">
        <form id="newsMange" method="post" runat="server">
        <div class="hd">
            <div class="breadcrumb">
                <asp:PlaceHolder ID="placeHead" runat="server"></asp:PlaceHolder>
            </div>
            <!--/breadcrumb-->
            <div class="user-service">
                <a class="help" href="#">帮助</a>
            </div>
            <!--/user-service-->
        </div>
        <div class="bd">
            <div class="function-hd">
                <div class="action-field">
                <input type="button" value="添 加" class="btn" id="btnAdd" runat="server" />
                </div>
                <!--/action-field-->
            </div>
            <div class="function-bd" style="height: 592px; overflow: auto;">
                <!--[if lte IE 7]><div style="zoom:1"><![endif]-->
                <asp:DataGrid ID="newsGrid" runat="server" CssClass="list-table" 
                        AutoGenerateColumns="False" AllowSorting="True" 
                        OnItemCommand="linkGrid_ItemCommand" 
                        OnPageIndexChanged="linkGrid_PageIndexChanged">
                    <Columns>
                        <asp:BoundColumn DataField="pkId" HeaderText="问卷ID号" HeaderStyle-CssClass="title">
                        </asp:BoundColumn>
                        <asp:BoundColumn DataField="questionnaireSpecialName" HeaderText="问卷主题名称" HeaderStyle-CssClass="title">
                        </asp:BoundColumn>
                        <asp:BoundColumn DataField="name" HeaderText="新闻页模板" HeaderStyle-CssClass="title">
                        </asp:BoundColumn>
                        <asp:BoundColumn DataField="QuestionCount" HeaderText="问题数目" HeaderStyle-CssClass="title">
                        </asp:BoundColumn>
                        <asp:TemplateColumn HeaderText="管理" HeaderStyle-CssClass="title" ItemStyle-CssClass="td-a">
                            <ItemTemplate>
                                <%--<a ID="edit" class="FBox" runat="server">修改</a>--%>
                                <asp:HyperLink ID="edit" runat="server" CssClass="FBox">编辑</asp:HyperLink>
                                <%--<asp:LinkButton ID="edit" runat="server" CommandName="edit" CausesValidation="False" CssClass="FBox" ></asp:LinkButton>--%>&nbsp;&nbsp;
                                <asp:LinkButton ID="del" runat="server" CommandName="del" CausesValidation="False" OnClientClick="return confirm('您确认要删除本问卷及其相关信息吗？');">删除</asp:LinkButton>&nbsp;&nbsp;
                                <asp:LinkButton ID="QuestionManage" runat="server" CommandName="Manage" CausesValidation="False">问题管理</asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateColumn>
                    </Columns>
                    <PagerStyle Mode="NumericPages" />
                </asp:DataGrid>
                <!--[if lte IE 7]></div><![endif]-->
            </div>
            <!--/function-bd-->
        </div>
        <div class="ft">
            <div class="action-field txt-c">
            
            </div>
        </div>
        </form>
    </div>
</body>
</html>