<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="HA.Web.WebForm1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
Select School:
<asp:DropDownList ID="ddlSchool" runat="server" class="form-control input-sm" AutoPostBack="True"
OnSelectedIndexChanged="ddlSchool_SelectedIndexChanged">
</asp:DropDownList>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ForeColor="Red"
ControlToValidate="ddlSchool" Font-Size="X-Small" ErrorMessage="***" InitialValue="0"
ValidationGroup="valid"></asp:RequiredFieldValidator>
<br />
Select Class:
<asp:DropDownList ID="ddl_Class" runat="server" class="form-control input-sm" AutoPostBack="true"
OnSelectedIndexChanged="ddl_Class_SelectedIndexChanged">
</asp:DropDownList>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ForeColor="Red"
ControlToValidate="ddl_Class" Font-Size="X-Small" ErrorMessage="***" InitialValue="0"
ValidationGroup="valid"></asp:RequiredFieldValidator>
<br />
Select Section:
<asp:DropDownList ID="ddl_Section" runat="server" class="form-control input-sm">
</asp:DropDownList>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ForeColor="Red"
ControlToValidate="ddl_Section" Font-Size="X-Small" ErrorMessage="***" InitialValue="0"
ValidationGroup="valid"></asp:RequiredFieldValidator>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</form>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
Select School:
<asp:DropDownList ID="ddlSchool" runat="server" class="form-control input-sm" AutoPostBack="True"
OnSelectedIndexChanged="ddlSchool_SelectedIndexChanged">
</asp:DropDownList>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ForeColor="Red"
ControlToValidate="ddlSchool" Font-Size="X-Small" ErrorMessage="***" InitialValue="0"
ValidationGroup="valid"></asp:RequiredFieldValidator>
<br />
Select Class:
<asp:DropDownList ID="ddl_Class" runat="server" class="form-control input-sm" AutoPostBack="true"
OnSelectedIndexChanged="ddl_Class_SelectedIndexChanged">
</asp:DropDownList>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ForeColor="Red"
ControlToValidate="ddl_Class" Font-Size="X-Small" ErrorMessage="***" InitialValue="0"
ValidationGroup="valid"></asp:RequiredFieldValidator>
<br />
Select Section:
<asp:DropDownList ID="ddl_Section" runat="server" class="form-control input-sm">
</asp:DropDownList>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ForeColor="Red"
ControlToValidate="ddl_Section" Font-Size="X-Small" ErrorMessage="***" InitialValue="0"
ValidationGroup="valid"></asp:RequiredFieldValidator>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</form>
</body>
</html>
No comments:
Post a Comment