<%@ page title="Speciality Master" language="C#" masterpagefile="~/MasterPage.master" autoeventwireup="true" inherits="SpecialityMaster, App_Web_fzfkhksa" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
     <div class="main-content container-fluid">
        <div class="page-title">
            <h3>Speciality Master</h3>
        </div>
        <section class="section">
            <div class="row bspace">
                <div class="col-md-8">
                    <div class="divider">
                        <div class="divider-text">Speciality Details</div>
                    </div>
                    <div class="row bspace">
                        <div class="col-md-4">
                            <label class="label">Speciality Name</label>
                        </div>
                        <div class="col-md-8">
                            <asp:TextBox ID="txtSpecialityName" runat="server" CssClass="form-control" placeholder="Speciality Name" required></asp:TextBox>
                        </div>
                    </div>

                    <div class="row form-group">
                        <asp:Label ID="lblError" runat="server" ForeColor="Red"></asp:Label>
                        <asp:Label ID="lblID" runat="server" Visible="false"></asp:Label>
                        <asp:Label ID="lblUserID" runat="server" Visible="false"></asp:Label>
                        <asp:Label ID="lblMsg" runat="server" ForeColor="Green"></asp:Label>
                    </div>
                    <div class="row bspace">
                        <div class="col-md-6 float-md-right">
                            <asp:Button ID="btnSave" runat="server" Text="Save" CssClass="btn btn-primary" OnClick="btnSave_Click" />
                            <asp:Button ID="btnReset" runat="server" Text="Reset" CssClass="btn btn-primary" OnClick="btnReset_Click" />
                            <asp:Button ID="btnDelete" runat="server" Text="Delete" CssClass="btn btn-primary" OnClick="btnDelete_Click"  />
                        </div>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="divider">
                        <div class="divider-text">Speciality List</div>
                    </div>
                    <div class="row">
                        <asp:GridView ID="GridSpecialityMaster" runat="server" AutoGenerateColumns="false" CssClass="table table-responsive table-bordered" OnSelectedIndexChanged="GridSpecialityMaster_SelectedIndexChanged">
                            <Columns>
                                <asp:CommandField SelectText="<<" ShowSelectButton="true" />
                                <asp:BoundField DataField="SpecialityID" HeaderText="SpecialityID" SortExpression="SpecialityID" HeaderStyle-CssClass="hideGridColumn" ItemStyle-CssClass="hideGridColumn" />
                                <asp:BoundField DataField="SpecialityName" HeaderText="SpecialityName" SortExpression="SpecialityName" />
                            </Columns>
                        </asp:GridView>
                    </div>
                </div>
            </div>
        </section>
    </div>

</asp:Content>

