Guest User

Untitled

a guest
Dec 7th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 3.11 KB | None | 0 0
  1.  <div style="height: 540px">
  2.     <div>
  3.          <asp:Panel ID="pnlGather" runat="server" Height="407px">
  4.              <asp:Label ID="lblFName" runat="server" Text="Please Enter your First Name: "></asp:Label>
  5.              <asp:TextBox ID="txtbxFName" runat="server"></asp:TextBox>
  6.              <br />
  7.              <asp:Label ID="lblLName" runat="server" Text="Please Enter Your Last Name: "></asp:Label>
  8.              <asp:TextBox ID="txtBxLName" runat="server"></asp:TextBox>
  9.              <br />
  10.              <asp:Label ID="lblSenecaID" runat="server" Text="Please Enter Your Seneca ID: "></asp:Label>
  11.              <asp:TextBox ID="txtBxSenID" runat="server"></asp:TextBox>
  12.              <br />
  13.              <asp:Label ID="lblStudNo" runat="server"
  14.                  Text="Please Enter Your Student Number: "></asp:Label>
  15.              <asp:TextBox ID="txtBxStudNo" runat="server" ValidationGroup="CorrectSyntax"></asp:TextBox>
  16.              <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"
  17.                  ControlToValidate="txtBxStudNo" ErrorMessage="RegularExpressionValidator"
  18.                  ForeColor="#FF3300"
  19.                  ValidationExpression="^(0\d\d\d\d\d\d\d\d){1}|(0\d\d-\d\d\d-\d\d\d){1}\r?$"
  20.                  ValidationGroup="CorrectSyntax">Please enter in the format of 0nnnnnnnn or 0nn-nnn-nnn please!</asp:RegularExpressionValidator>
  21.              <br />
  22.              <asp:DropDownList ID="ddlProgram" runat="server"
  23.                  onselectedindexchanged="ddlProgram_SelectedIndexChanged"
  24.                  ValidationGroup="CorrectSyntax">
  25.                  <asp:ListItem Selected="True" Value="0">Please Choose Your Program</asp:ListItem>
  26.                  <asp:ListItem>BSD</asp:ListItem>
  27.                  <asp:ListItem>IFS</asp:ListItem>
  28.                  <asp:ListItem>CPA</asp:ListItem>
  29.                  <asp:ListItem>CTY</asp:ListItem>
  30.                  <asp:ListItem>DAD</asp:ListItem>
  31.              </asp:DropDownList>
  32.              <asp:Label ID="lblDrpDwnError" runat="server" ForeColor="Red"></asp:Label>
  33.              <br />
  34.              <asp:Label ID="lblSemesterNo" runat="server" Text="Which Semester Are You In?"
  35.                  Visible="False"></asp:Label>
  36.              <br />
  37.              <asp:RadioButtonList ID="rblSemester" runat="server" Visible="False">
  38.                  <asp:ListItem Value="1">1</asp:ListItem>
  39.                  <asp:ListItem>2</asp:ListItem>
  40.                  <asp:ListItem Enabled="False">3</asp:ListItem>
  41.                  <asp:ListItem Enabled="False">4</asp:ListItem>
  42.                  <asp:ListItem Enabled="False">5</asp:ListItem>
  43.                  <asp:ListItem Enabled="False">6</asp:ListItem>
  44.                  <asp:ListItem Enabled="False">7</asp:ListItem>
  45.                  <asp:ListItem Enabled="False">8</asp:ListItem>
  46.              </asp:RadioButtonList>
  47.              
  48.              <br />
  49.              <br />
  50.              <br />
  51.          
  52.  
  53.          </asp:Panel>
  54.      </div>
  55.      <div>
  56.          <asp:Panel ID="pnlDisplay" runat="server" Height="149px" Visible="False">
  57.              </asp:Panel>
  58.      </div>
  59.      <div></div>
  60. </div>
Add Comment
Please, Sign In to add comment