.PopUpPanel {
position:absolute;
background-color: #ccc;
top:250px;
left:0;
right:0;
margin:0 auto;
z-index:2001;
padding:5px;
width:1200px;
-moz-box-shadow:3.5px 4px 5px #000000;
-webkit-box-shadow:3.5px 4px 5px #000000;
box-shadow:3.5px 4px 5px #000000;
border-radius:5px;
-moz-border-radiux:5px;
-webkit-border-radiux:5px;
border: 1px solid #CCCCCC;
}
<div>
<asp:UpdatePanel ID="upPopUps" runat="server" UpdateMode="Conditional">
<Triggers>
<%--<asp:AsyncPostBackTrigger ControlID="cmdClosePopUp" EventName="Click" />--%>
<%--<asp:PostBackTrigger ControlID="cmdClosePopUp" />--%>
</Triggers>
<ContentTemplate>
<asp:Panel ID="panelOverlay1" runat="server" CssClass="Overlay" Visible="false" ></asp:Panel>
<asp:Panel ID="panelPopUpPanel1" runat="server" CssClass="PopUpPanel" Visible="false" style="left: 5%; top: 100px">
<asp:Panel ID="panelPopUpTitle" runat="server" style="width:100%;height:20px;text-align:right;">
<asp:ImageButton ID="cmdClosePopUp" runat="server" ImageUrl="~/View/CertificationAgency/images/Close.gif" Height="15px" Width="20px"
onclick="cmdClosePopUp_Click" />
</asp:Panel>
<div style="border:1px dotted #000000">
<fieldset class="basic_d" id="fsRequestDetails" runat="server">
<legend>Batch Details of Training Partner</legend>
<div>
<center>
<table align="center" class="table table-bordered table-condensed table-hover table-responsive" cellpadding="3" cellspacing="1">
<tr>
<td>
<asp:GridView AutoGenerateColumns="false" CssClass="table table-bordered table-condensed table-hover table-responsive"
ID="grdTPBatchDetails" runat="server"
onrowcommand="grdTPBatchDetails_RowCommand"
onrowdatabound="grdTPBatchDetails_RowDataBound"
onselectedindexchanged="grdTPBatchDetails_SelectedIndexChanged">
<EmptyDataTemplate>
<h6>Sorry No Records Found................</h6>
</EmptyDataTemplate>
<Columns>
<asp:TemplateField HeaderText="Sl.No">
<ItemTemplate>
<%# (grdTPBatchDetails.PageSize * grdTPBatchDetails.PageIndex) + (Container.DisplayIndex + 1)%>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="KIA Name">
<ItemTemplate>
<asp:Label ID="lblCaId" runat="server" Text='<%#FetchCertifyingAgencyName(Eval("Agency_id")) %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="State Name">
<ItemTemplate>
<asp:Label ID="lblState" runat="server" Text='<%#FetchStateName(Eval("State_id")) %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Batch ID">
<ItemTemplate>
<asp:Label ID="lblbatchcode" runat="server" Text='<%#Eval("Batch_Code") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Course Name">
<ItemTemplate>
<asp:Label ID="lblCoursename" runat="server" Text='<%#GetCourseName(Eval("Course_id")) %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Course Code">
<ItemTemplate>
<asp:Label ID="lblCoursecode" runat="server" Text='<%# GetCourseCode(Eval("Course_id")) %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Course Level">
<ItemTemplate>
<asp:Label ID="lblCourselevelname" runat="server" Text='<%#GetLevelName(Eval("Course_id")) %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Batch Start Date">
<ItemTemplate>
<asp:Label ID="lblbatchstartdate" runat="server" Text='<%#Eval("Batch_Start_date","{0:dd/MM/yyyy}") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Batch End Date">
<ItemTemplate>
<asp:Label ID="lblbatchendate" runat="server" Text='<%#Eval("Batch_End_Date","{0:dd/MM/yyyy}") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Purposed Exam Date">
<ItemTemplate>
<asp:Label ID="lblpurposedExamdate" runat="server" Text='<%#Eval("purposedExamdate","{0:dd/MM/yyyy}") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Maxium Student">
<ItemTemplate>
<asp:Label ID="lblmaxstudent" runat="server" Text='<%#Eval("Max_student_allowed") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Action">
<ItemTemplate>
<asp:RadioButtonList ID="rblist" RepeatDirection="Horizontal" runat="server">
<asp:ListItem Text="Approve" Value="Approve"></asp:ListItem>
<asp:ListItem Text="Reject" Value="Reject"></asp:ListItem>
</asp:RadioButtonList>
<asp:HiddenField ID="hfld" runat="server" Value='<%#Eval("RequestStatus") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Remarks">
<ItemTemplate>
<asp:TextBox ID="lbl_remarks" Text='<%#Eval("Remarks") %>' TextMode="MultiLine" Width="150px" runat="server"></asp:TextBox>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField >
<ItemTemplate>
<asp:ImageButton CommandArgument='<%#Eval("Batch_Code") %>' CommandName="save"
ID="ImgSave" runat="server" Width="25px"
ImageUrl="~/View/CertificationAgency/images/submit.jpg"
/>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</td>
</tr>
</table>
</center>
</div>
</fieldset>
</div>
</asp:Panel>
</ContentTemplate>
</asp:UpdatePanel>
</div>
No comments:
Post a Comment