| Server IP : 190.92.174.109 / Your IP : 216.73.217.175 Web Server : Microsoft-IIS/10.0 System : Windows NT P3613 10.0 build 20348 (Windows Server 2016) AMD64 User : IWPD_2296(hkwrmyfr) ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Inetpub/vhosts/aargeesapps.com/klesssmscollege.edu.in/ |
Upload File : |
<%@ page title="" language="C#" masterpagefile="~/MasterAdminPage.master" autoeventwireup="true" inherits="DeleteCoCurricularPhoto, App_Web_3x2nap5d" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style>
.jumbotron, .details1 {
margin: 0px;
padding: 0px;
margin-top: -50px;
}
</style>
<script type="text/javascript">
function BlockUI(elementID) {
var prm = Sys.WebForms.PageRequestManager.getInstance();
prm.add_beginRequest(function () {
$("#" + elementID).block({
message: '<table align = "center"><tr><td>' +
'<img src="images/loadingAnim.gif"/></td></tr></table>',
css: {},
overlayCSS: {
backgroundColor: '#ff0000', border: '3px solid #63B2EB'
}
});
});
prm.add_endRequest(function () {
$("#" + elementID).unblock();
});
}
$(document).ready(function () {
BlockUI("dvGrid");
$.blockUI.defaults.css = {};
});
</script>
<script src="LatestJS/jquery-1.3.2.min.js"></script>
<script src="LatestJS/jquery.blockUI.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="container">
<div class="row">
<div class="col-xs-10 col-xs-offset-1">
<div class="list-group">
<div class="row">
<div class="col-xs-12">
<div class="panel panel-danger">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<br />
<div id="dvGrid" style="padding: 10px; width: 950px">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:GridView ID="Grid_Photo" runat="server" AutoGenerateColumns="False" CssClass="table table-bordered" OnPageIndexChanging="OnPaging">
<Columns>
<asp:TemplateField HeaderText="PhotoID">
<ItemTemplate>
<asp:Label ID="lblPhotoID" runat="server" Text='<%# Eval("PhotoID")%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="PhotoName">
<ItemTemplate>
<asp:Label ID="lblPhotoName" runat="server" Text='<%# Eval("PhotoName")%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:ImageField HeaderText="Image" DataImageUrlField="Photo" ItemStyle-Width="50px"
ControlStyle-Width="100" ControlStyle-Height="100">
</asp:ImageField>
<asp:TemplateField>
<ItemTemplate>
<asp:LinkButton ID="lnkRemove" runat="server" CommandArgument='<%# Eval("PhotoID")%>'
OnClientClick="return confirm('Do you want to delete?')" Text="Delete" OnClick="lnkRemove_Click"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:SqlDataSource ID="sqldataImages" runat="server" ConnectionString="<%$ConnectionStrings:KleSSMSConnectionString %>"
SelectCommand="select * from [CoCurricularPhotoAlbum]"></asp:SqlDataSource>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="Grid_Photo" />
</Triggers>
</asp:UpdatePanel>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</asp:Content>