| 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="Adding Notification" language="C#" masterpagefile="~/MasterAdminPage.master" autoeventwireup="true" inherits="Add_Notification, App_Web_3x2nap5d" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<script type="text/javascript">
function preventBack() { window.history.forward(); }
setTimeout("preventBack()", 0);
window.onunload = function () { null };
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="jumbotron details1">
<div class=" container-fluid">
<div class="row" >
<div class="col-xs-10 col-xs-offset-1">
<div class="list-group text-primary">
<div class="list-group-item">
<h3 style="margin-left: 330px;">Adding Notifications</h3>
<asp:Label ID="Notificationfmsg" runat="server"></asp:Label>
</div>
<div class="list-group-item" style="height: 200px;">
<div class="row">
<div class="col-xs-6 col-xs-offset-3">
<label>Notification</label> <asp:TextBox ID="txt_notification" class="form-control" TextMode="MultiLine" runat="server" ></asp:TextBox>
</div>
<div class="col-xs-6 col-xs-offset-3">
<div class="list-group-item" style="background-color:LIGHTBLUE;">
<div class="row">
<div class="col-xs-6 col-xs-offset-3">
<asp:FileUpload runat="server" ID="FileUpload1" runat="server" CssClass="form-control"/>
</div>
</div>
</div></div>
<div class="col-xs-6 col-xs-offset-3">
<asp:Button ID="btnSave" CssClass="btn btn-success btn-block btn-sm" runat="server" ValidationGroup="Save"
Text="Save" OnClick="btnSave_Click" />
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<div class="panel panel-danger">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<div id="dvGrid" style="padding: 10px; width: 950px">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:GridView ID="Grid_Notification" runat="server" AutoGenerateColumns="False" AllowPaging="True"
OnPageIndexChanging="OnPaging"
CssClass="table">
<Columns>
<asp:TemplateField HeaderText="srl_no">
<ItemTemplate>
<asp:Label ID="lblsrl_no" runat="server" Text='<%# Eval("srl_no")%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="notification">
<ItemTemplate>
<asp:Label ID="lblnotification" runat="server" Text='<%# Eval("notification")%>'></asp:Label>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox ID="txtnotification" runat="server" Text='<%# Eval("notification")%>'></asp:TextBox>
</EditItemTemplate>
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:LinkButton ID="lnkRemove" runat="server" CommandArgument='<%# Eval("srl_no")%>'
OnClientClick="return confirm('Do you want to delete?')" Text="Delete" OnClick="DeleteUser"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
<%-- <asp:CommandField ShowEditButton="True" />--%>
</Columns>
</asp:GridView>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="Grid_Notification" />
</Triggers>
</asp:UpdatePanel>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</asp:Content>