<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_EExam_QuestionMasterBulk, App_Web_quontze1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/EExam/DataBankDetail.ascx" TagName="DataBankDetailControl" TagPrefix="DB" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="QuestionListUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="145"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft">
                    <DB:DataBankDetailControl ID="DataBankDetailUserControl" runat="server" Visible="true" />
                    <div class="himssuHeader1WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <asp:Label ID="Label3" runat="server" Text="Bulk Question Entry"></asp:Label>
                                    </header>
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">
                                    <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ClassLabel" runat="server" Text="Class" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="ClassDropDownList" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" class="form-control" onmouseenter="showHideTooltip()"
                                                    AutoPostBack="true" OnSelectedIndexChanged="ClassDropDownList_OnSelectedIndexChanged">
                                                </asp:DropDownList>
                                                <asp:HiddenField runat="server" ID="ButtonIdHiddenField" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SubjectLabel" runat="server" Text="Subject" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SubjectDropDownList" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" class="form-control" onmouseenter="showHideTooltip()"
                                                    AutoPostBack="true" OnSelectedIndexChanged="ClassDropDownList_OnSelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="TopicLabel" runat="server" Text="Topic" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="TopicDropDownList" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" class="form-control" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                         <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="TestTypeLabel" runat="server" Text="Question Type" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="QuestionTypeDropDownList" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" class="form-control" onmouseenter="showHideTooltip()"
                                                    OnSelectedIndexChanged="QuestionTypeDropDownList_OnSelectedIndexChanged" AutoPostBack="true">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="cBoth">
                                        </div>
                                    </asp:Panel>
                                

                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="Panel3" runat="Server">
                                <div class="contentHolder">
                                    <div class="tableContainer">
                                        <cc1:TabContainer Width="100%" ID="FeeAllocationTabContainer" runat="server" CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox ajax__tab_container ajax__tab_default"
                                            AutoPostBack="true" meta:resourcekey="FeeAllocationTabContainerResource1" ActiveTabIndex="0">
                                            <cc1:TabPanel Width="100%" ID="ImportStuentTabPanel" runat="server" HeaderText="Divisionwise Fee">
                                                <HeaderTemplate>
                                                    <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                        <li class="fancyTab"><a><i class="fas fa-money-bill-alt"></i>&nbsp;Bulk Quetion Entry </a></li>
                                                    </ul>
                                                </HeaderTemplate>
                                                <ContentTemplate>
                                                    <asp:Panel ID="Panel1" runat="server">
                                                        <div class="contentHolder">
                                                             <div id="Div1" class="himssuHeader6WireBox col-md-12" runat="server">
                                                                 <div id="ReasonMasterDetailDiv" runat="server">

                                                                    <div class="himsBoxHeader  card-head inner" id="PatientRelationDiv" runat="server">
                                                                        <div class="leftdiv">
                                                                        </div>
                                                                        <div class="himsBoxTitle">
                                                                            <div class="headerText fLeft">
                                                                                <header>
                                                                                    <asp:Label ID="GridViewLabel" Text="Question List" runat="server" />
                                                                                </header>
                                                                            </div>
                                                                        </div>

                                                                    </div>
                                            <div class="col-md-12">
                                                <div class="">
                                                    <div class="pRight5 fRight">
                                                        <asp:Button ID="AddButton" runat="server" OnClick="AddButton_Click"
                                                        Text="&#xf067; Add" SkinID="0" CssClass="btn btn-add fas" />
                                                    &nbsp;&nbsp;&nbsp;
                                                    </div>
                                                    <div class="controlLabelWidth col-md-3">
                                                        <asp:Label ID="Label4" runat="server" Text="No.Of Que"></asp:Label>

                                                        <asp:DropDownList ID="AddRowsToGridDropDownList" SkinID="CustomWidthDropDownList"
                                                            class="form-control" runat="server">
                                                            <asp:ListItem Text="1" Value="1" Selected="True"></asp:ListItem>
                                                            <asp:ListItem Text="5" Value="5"></asp:ListItem>
                                                            <asp:ListItem Text="10" Value="10"></asp:ListItem>
                                                            <asp:ListItem Text="15" Value="15"></asp:ListItem>
                                                        </asp:DropDownList>
                                                    </div>
                                                    &nbsp;&nbsp;&nbsp;
                                                    <div class="controlLabelWidth col-md-3">
                                                        <asp:Label ID="Label1" runat="server" Text="Difficulty Level" SkinID="MandatoryLabel"></asp:Label>
                                                        <asp:DropDownList runat="server" ID="SearchDifficultyLevelDropDownList" SkinID="0"
                                                            onmouseleave="showHideTooltip()" class="form-control" onmouseenter="showHideTooltip()">
                                                        </asp:DropDownList>
                                                    </div>
                                                      &nbsp;&nbsp;&nbsp;
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="Label2" runat="server" Text="Marks"></asp:Label>

                                                        <asp:TextBox ID="SearchMarksTextBox" runat="server" SkinID="CustomWidthTextBox" Width="60px"
                                                            onkeypress="javascript:return MaskDecimal(event,4,2)"></asp:TextBox>
                                                    </div>
                                                      
                                                </div>
                                            </div>
                                            <div class="himsBoxContent col-md-12 pTop15">
                                                <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                    <ContentTemplate>
                                                        <div id="Div5" runat="server" class="table-responsive">
                                                            <asp:GridView ID="QuestionListGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                OnRowDataBound="QuestionListGridView_RowDataBound" EmptyDataText="No records found"
                                                                AllowPaging="false" SkinID="" ShowHeader="true" PagerSettings-Visible="false"
                                                                CssClass="table table-striped table-bordered table-hover" DataKeyNames="QuestionId,Index">
                                                                <Columns>
                                                                    <asp:TemplateField HeaderText="Difficulty Level" ItemStyle-Wrap="true"
                                                                        HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:DropDownList runat="server" ID="DifficultyLevelDropDownList" SkinID="CustomWidthDropDownList"
                                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" CssClass="form-control">
                                                                            </asp:DropDownList>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Marks" ItemStyle-Wrap="true"
                                                                        HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="MarksTextBox" runat="server" Text='<%# Bind("Marks") %>' SkinID="CustomWidthTextBox"
                                                                                onkeypress="javascript:return MaskDecimal(event,4,2)"></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Order Index" ItemStyle-Wrap="true"
                                                                        HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="OrderIndexTextBox" runat="server" Text='<%# Bind("OrderIndex") %>'
                                                                                SkinID="CustomWidthTextBox" onkeypress="return isNumberKey(event)"
                                                                                MaxLength="4"></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Question Description" ItemStyle-Wrap="true"
                                                                        HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="QuestionDescriptionTextBox" runat="server" Text='<%# Bind("QuestionDescription") %>'
                                                                                SkinID="MultiLineTextBox" TextMode="MultiLine" Height="50px" ToolTip='<%# Bind("QuestionDescription") %>'></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Choice 1 Description" ItemStyle-Wrap="true"
                                                                        HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="Choice1DescriptionTextBox" runat="server" Text='<%# Bind("Choice1Description") %>'
                                                                                SkinID="MultiLineTextBox" TextMode="MultiLine" Height="50px" ToolTip='<%# Bind("Choice1Description") %>'></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Choice 2 Description" ItemStyle-Wrap="true"
                                                                        HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="Choice2DescriptionTextBox" runat="server" Text='<%# Bind("Choice2Description") %>'
                                                                                SkinID="MultiLineTextBox" TextMode="MultiLine" Height="50px" ToolTip='<%# Bind("Choice2Description") %>'></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Choice 3 Description" ItemStyle-Wrap="true"
                                                                        HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="Choice3DescriptionTextBox" runat="server" Text='<%# Bind("Choice3Description") %>'
                                                                                SkinID="MultiLineTextBox" TextMode="MultiLine" Height="50px" ToolTip='<%# Bind("Choice3Description") %>'></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Choice 4 Description" ItemStyle-Wrap="true"
                                                                        HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="Choice4DescriptionTextBox" runat="server" Text='<%# Bind("Choice4Description") %>'
                                                                                SkinID="MultiLineTextBox" TextMode="MultiLine" Height="50px" ToolTip='<%# Bind("Choice4Description") %>'></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Key *" ItemStyle-Wrap="true"
                                                                        HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:DropDownList runat="server" ID="KeyDropDownList" SkinID="CustomWidthDropDownList"
                                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" CssClass="form-control">
                                                                                <asp:ListItem Text="Select" Value="0" Selected="True"></asp:ListItem>
                                                                                <asp:ListItem Text="1" Value="1"></asp:ListItem>
                                                                                <asp:ListItem Text="2" Value="2"></asp:ListItem>
                                                                                <asp:ListItem Text="3" Value="3"></asp:ListItem>
                                                                                <asp:ListItem Text="4" Value="4"></asp:ListItem>
                                                                            </asp:DropDownList>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField ShowHeader="true" HeaderText="Delete">
                                                                        <ItemTemplate>
                                                                            <asp:ImageButton SkinID="DeleteImage" ID="DeleteImageButton" runat="server" OnClick="DeleteImageButton_Click"
                                                                                ToolTip="Delete" />
                                                                        </ItemTemplate>
                                                                        <ItemStyle HorizontalAlign="Center" />
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                    </ContentTemplate>
                                                </asp:UpdatePanel>
                                            </div>
                                        </div>
                                                            </div>

                                                        </div>
                                                    </asp:Panel>

                                                    </div>
                                                 
                                                </ContentTemplate>
                                            </cc1:TabPanel>
                                            <cc1:TabPanel Width="100%" ID="ImportQuestionManditoryTabPanel" runat="server" HeaderText="Divisionwise Fee">
                                                <HeaderTemplate>
                                                    <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                        <li class="fancyTab"><a><i class="fas fa-money-bill-alt"></i>&nbsp;Bulk Quetion Import </a></li>
                                                    </ul>
                                                </HeaderTemplate>
                                                <ContentTemplate>
                                                    <asp:Panel ID="ManditoryDetailPanel" runat="Server">
                                                        <div class="contentHolder">
                                                           <div class="col-md-12 bg-lghtgrey radiobtn">
                                                                <div class="col-md-3 controlLabelWidth">
                                                                    <asp:RadioButtonList ID="TypeRadioButtonManditoryList" runat="server" RepeatDirection="Horizontal"
                                                                        AutoPostBack="true">
                                                                        <asp:ListItem Text="Excel" Value="1" Selected="True"></asp:ListItem>
                                                                        <%--<asp:ListItem Text="csv" Value="2"></asp:ListItem>--%>
                                                                    </asp:RadioButtonList>
                                                                </div>
                                                                <div class="col-md-3 controlLabelWidth" >
                                                                    <asp:RadioButtonList ID="InsertUpdateManditoryRadioButtonList" runat="server" RepeatDirection="Horizontal">
                                                                        <asp:ListItem Text="Insert" Value="1" Selected="True"></asp:ListItem>
                                                                        <%--<asp:ListItem Text="Update" Value="2" Selected="False"></asp:ListItem>--%>
                                                                    </asp:RadioButtonList>
                                                                </div>
                                                            </div>
                                                            <div class="cBoth">
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:HyperLink ID="HyperLink3" runat="server" Text="&#xf101; Download Template" NavigateUrl="~/ContentTemplates/Import/BulkQuetionEntry_Template.xls" CssClass="pointer fas"></asp:HyperLink>
                                                                    <asp:HyperLink ID="HyperLink4" runat="server" Text="&#xf101; Download Template" NavigateUrl="~/ContentTemplates/Import/BulkQuetionEntry_Template_ForSubjectiveExam.xls"  CssClass="pointer fas" visible="false"></asp:HyperLink>
                                                                    
                                                                </div>
                                                            </div>
                                                            <div class="cBoth">
                                                            </div>
                                                           <%-- <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <a href="javascript:;" onclick="OpenFileUpload();" class="btn btn-browser">
                                                                        <i class="fa fa-arrow-down"></i>Browse</a>
                                                                    <asp:FileUpload ID="FileUpload1" runat="server" onChange="readURL(this);" ClientIDMode="Static" Style="display: none;" />
                                                                </div>
                                                                <asp:Label ID="Label5" runat="server" Text="" Style="padding-left: 10px; font-size: medium;"></asp:Label>
                                                            </div>--%>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <a href="javascript:;" onclick="OpenFileUpload();" class="btn btn-browser">
                                                                        <i class="fa fa-arrow-down"></i>Browse</a>
                                                                    <asp:FileUpload ID="flUpload" runat="server" onChange="readURL(this);" ClientIDMode="Static" Style="display: none;" />
                                                                    <asp:Label ID="Label5" runat="server" Text="" Style="padding-left: 10px; font-size: medium;"></asp:Label>
                                                                </div>
                                                             </div>

                                                            <div class="pTop5 col-md-6 outerBox">
                                                                <asp:Button ID="ImportManditoryButton" runat="server" Text="&#xf019; Question Import" CssClass="btn btn-examcommon fas"  OnClick="ImportManditoryButton_OnClick"
                                                                    SkinID="0" />
                                                               
                                                            </div>
                                                            <div class="cBoth">
                                                            </div>
                                                            <div id="ExportMasterGridManditoryDiv" runat="server" >

                                                                <div class="himssuHeader6WireBox col-md-12">
                                                                   <%-- <div class="himsBoxHeader" id="Div2" runat="server">
                                                                        <div class="leftdiv">
                                                                        </div>
                                                                        <div class="himsBoxTitle">
                                                                            <div class="gridHeaderText fLeft">
                                                                                <asp:Label ID="Label6" Text="List" runat="server" Font-Bold="True" meta:resourcekey="GridViewLabelResource1" />
                                                                            </div>
                                                                            <div class="fRight">
                                                                            
                                                                            </div>
                                                                        </div>
                                                                    </div>--%>
                                                    <div class="himsBoxContent">
                                                        <div id="Div3" runat="server" class="table-responsive">
                                                            <asp:GridView ID="ExportDataGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                EmptyDataText="No records found" OnRowDataBound="ExportDataGridView_RowDataBound"
                                                                AllowPaging="false" SkinID="" ShowHeader="true" PagerSettings-Visible="false"
                                                                CssClass="table table-striped table-bordered table-hover" >
                                                                <Columns>
                                                                  
                                                                    <asp:TemplateField HeaderText="Difficulty Level" ItemStyle-Wrap="true"
                                                                        HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblDifficultyLevel" runat="server" Text='<%# Bind("DifficultyLevel") %>' visible="false" />
                                                                            <asp:DropDownList runat="server" ID="DifficultyLevelDropDownList" SkinID="CustomWidthDropDownList" 
                                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" CssClass="form-control">
                                                                            </asp:DropDownList>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Marks" ItemStyle-Wrap="true"
                                                                        HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="MarksTextBox" runat="server" Text='<%# Bind("Marks") %>' SkinID="CustomWidthTextBox"
                                                                                onkeypress="javascript:return MaskDecimal(event,4,2)"></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Order Index" ItemStyle-Wrap="true"
                                                                        HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="OrderIndexTextBox" runat="server" Text='<%# Bind("OrderIndex") %>'
                                                                                SkinID="CustomWidthTextBox" onkeypress="return isNumberKey(event)"
                                                                                MaxLength="4"></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Question Description" ItemStyle-Wrap="true"
                                                                        HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="QuestionDescriptionTextBox" runat="server" Text='<%# Bind("QuestionDescription") %>'
                                                                                SkinID="MultiLineTextBox" TextMode="MultiLine" Height="50px" ToolTip='<%# Bind("QuestionDescription") %>'></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Choice 1 Description" ItemStyle-Wrap="true"
                                                                        HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="Choice1DescriptionTextBox" runat="server" Text='<%# Bind("Choice1Description") %>'
                                                                                SkinID="MultiLineTextBox" TextMode="MultiLine" Height="50px" ToolTip='<%# Bind("Choice1Description") %>'></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Choice 2 Description" ItemStyle-Wrap="true"
                                                                        HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="Choice2DescriptionTextBox" runat="server" Text='<%# Bind("Choice2Description") %>'
                                                                                SkinID="MultiLineTextBox" TextMode="MultiLine" Height="50px" ToolTip='<%# Bind("Choice2Description") %>'></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Choice 3 Description" ItemStyle-Wrap="true"
                                                                        HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="Choice3DescriptionTextBox" runat="server" Text='<%# Bind("Choice3Description") %>'
                                                                                SkinID="MultiLineTextBox" TextMode="MultiLine" Height="50px" ToolTip='<%# Bind("Choice3Description") %>'></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Choice 4 Description" ItemStyle-Wrap="true"
                                                                        HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="Choice4DescriptionTextBox" runat="server" Text='<%# Bind("Choice4Description") %>'
                                                                                SkinID="MultiLineTextBox" TextMode="MultiLine" Height="50px" ToolTip='<%# Bind("Choice4Description") %>'></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Key *" ItemStyle-Wrap="true"
                                                                        HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblKey" runat="server" Text='<%# Bind("Key") %>' visible="false" />
                                                                            <asp:DropDownList runat="server" ID="KeyDropDownList" SkinID="CustomWidthDropDownList"
                                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" CssClass="form-control">
                                                                                <asp:ListItem Text="Select" Value="0" Selected="True"></asp:ListItem>
                                                                                <asp:ListItem Text="1" Value="1"></asp:ListItem>
                                                                                <asp:ListItem Text="2" Value="2"></asp:ListItem>
                                                                                <asp:ListItem Text="3" Value="3"></asp:ListItem>
                                                                                <asp:ListItem Text="4" Value="4"></asp:ListItem>
                                                                            </asp:DropDownList>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                  
                                                                </Columns>
                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                    
                                                                   <%--for Subjective Exam--%>

                                                              <div class="himsBoxContent">
                                                        <div id="Div2" runat="server" class="table-responsive">
                                                            <asp:GridView ID="SubjectiveExamGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                EmptyDataText="No records found" OnRowDataBound="SubjectiveExamGridView_RowDataBound"
                                                                AllowPaging="false" SkinID="" ShowHeader="true" PagerSettings-Visible="false"
                                                                CssClass="table table-striped table-bordered table-hover" >
                                                                <Columns>
                                                                  
                                                                    <asp:TemplateField HeaderText="Difficulty Level" ItemStyle-Wrap="true"
                                                                        HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblDifficultyLevel" runat="server" Text='<%# Bind("DifficultyLevel") %>' visible="false" />
                                                                            <asp:DropDownList runat="server" ID="DifficultyLevelDropDownList" SkinID="CustomWidthDropDownList" 
                                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" CssClass="form-control">
                                                                            </asp:DropDownList>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Marks" ItemStyle-Wrap="true"
                                                                        HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="MarksTextBox" runat="server" Text='<%# Bind("Marks") %>' SkinID="CustomWidthTextBox"
                                                                                onkeypress="javascript:return MaskDecimal(event,4,2)"></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                   
                                                                    <asp:TemplateField HeaderText="Question Description" ItemStyle-Wrap="true"
                                                                        HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="QuestionDescriptionTextBox" runat="server" Text='<%# Bind("QuestionDescription") %>'
                                                                                SkinID="MultiLineTextBox" TextMode="MultiLine" Height="50px" ToolTip='<%# Bind("QuestionDescription") %>'></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                 
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                    </div>
                                                                </div>
                                                            </div>

                                                           
                                                            <div class="col-md-12">
                                                                <div class="alert alert-info">
                                                                    <span class="pTop15">
                                                                        <i class="material-icons pos-rel">info</i> |&nbsp;
                                                <b>Note  : </b>Only xls format is imported and also give the sheet name as for <b>Bulk Question Import : Sheet1</b>.
                                                                    </span>
                                                                   
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </asp:Panel>

                                                  
                                                </ContentTemplate>
                                            </cc1:TabPanel>
                                        </cc1:TabContainer>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                                </div>
                      
                        </asp:Panel>
                    </div>
                </div>
              
            </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--  <script data-main="../../JavaScript/rjs/encrypt/question-masterbulk-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/question-masterbulk")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>

</asp:Content>
