Sameer

Sameer

  • NA
  • 1
  • 741

I can only see the navbar when I run this.

May 11 2016 8:42 AM
  1. <%@ Page Language="C#" AutoEventWireup="true" Inherits="preview_dotnet_templates_registration_Form_index" Codebehind="index.aspx.cs" CodeFile="index.aspx.cs" %>  
  2.   
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
  4. <html xmlns="http://www.w3.org/1999/xhtml">  
  5. <head runat="server">  
  6.       
  7.     <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->  
  8.     <!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en"> <![endif]-->  
  9.     <!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en"> <![endif]-->  
  10.     <!--[if IE 9]> <html class="no-js ie9 oldie" lang="en"> <![endif]-->  
  11.     <meta charset="utf-8">  
  12.     <!-- Set the viewport width to device width for mobile -->  
  13.     <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">  
  14.     <meta name="description" content="Securely encrypt your file.">  
  15.     <title>FileCrypt</title>  
  16.     <!-- ============ Google fonts ============ -->  
  17.     <link href='http://fonts.googleapis.com/css?family=EB+Garamond' rel='stylesheet'  
  18.         type='text/css' />  
  19.     <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300,800'  
  20.         rel='stylesheet' type='text/css' />  
  21.     <!-- ============ Add custom CSS here ============ -->  
  22.     <link href="css/bootstrap.min.css" rel="stylesheet" type="text/css" />  
  23.     <link href="css/style.css" rel="stylesheet" type="text/css" />  
  24.     <link href="css/font-awesome.css" rel="stylesheet" type="text/css" />  
  25. </head>  
  26. <body>  
  27.     <form id="form1" runat="server">  
  28.     <div id="custom-bootstrap-menu" class="navbar navbar-default " role="navigation">  
  29.         <div class="container">  
  30.             <div class="navbar-header">  
  31.                 <a class="navbar-brand" href="#">FileCrypt</a>  
  32.                 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-menubuilder">  
  33.                     <span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span  
  34.                         class="icon-bar"></span><span class="icon-bar"></span>  
  35.                 </button>  
  36.             </div>  
  37.             <div class="collapse navbar-collapse navbar-menubuilder">  
  38.                 <ul class="nav navbar-nav navbar-right">  
  39.                     <li><a href="index.aspx">Home</a> </li>  
  40.                      
  41.                 </ul>  
  42.             </div>  
  43.         </div>  
  44.     </div>  
  45.     <div class="container">  
  46.         <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 text-center">  
  47.             <div id="banner">  
  48.                 <h1>  
  49.                     FileCrypt <strong>Upload File</strong> </h1>  
  50.                  
  51.             </div>  
  52.         </div>  
  53.         <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">  
  54.             <div class="registrationform">  
  55.                 <div class="form-horizontal">  
  56.                     <fieldset>  
  57.                         <legend>Registration Form <i class="fa fa-pencil pull-right"></i></legend>  
  58.                         <div class="form-group">  
  59.                             <asp:Label ID="Label1" runat="server" Text="Browse" CssClass="col-lg-2 control-label"></asp:Label>  
  60.                             <div class="col-lg-10">  
  61.                                 <asp:FileUpload ID="FileUpload1" runat="server" Height="28px" Width="391px" CssClass="form-control" />  
  62.                                 <asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ControlToValidate="FileUpload1" ErrorMessage="You must select a file" ForeColor="Red" Display="Static" Text="." ></asp:RequiredFieldValidator>  
  63.                                 <asp:Label ID="Label3" runat="server" Text=""></asp:Label>  
  64.                             </div>  
  65.                         </div>  
  66.                         <div class="form-group">  
  67.                               
  68.                             <asp:Label ID="Label2" runat="server" Text="Passphrase" CssClass="col-lg-2 control-label"></asp:Label>  
  69.                             <div class="col-lg-10">  
  70.                                 <asp:TextBox ID="password" runat="server" TextMode="Password" CssClass="form-control"   />  
  71.                                  <asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ControlToValidate="password" ErrorMessage="You must enter a password" ForeColor="Red" Display="Static" Text="." ></asp:RequiredFieldValidator>  
  72.                                  <asp:RegularExpressionValidator ID="RegExp1" runat="server" ErrorMessage="Password must be atleast 8 characters long. Must contain at least one one lower case letter, one upper case letter, one digit and one special character. Valid special characters are –   @#$%^&+=" ControlToValidate="password"  ValidationExpression="^.*(?=.{8,})(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[@#$%^&+=]).*$" ForeColor="Red" Display="Static" Text="." />  
  73.                                 <asp:ValidationSummary runat="server" ID="validationSummary" ShowMessageBox="true" ShowSummary="false" />  
  74.                             </div>  
  75.                         </div>  
  76.                           
  77.                         
  78.                         <div class="form-group">  
  79.                              
  80.                             <div class="col-lg-10">  
  81.                                 <div class="radio">  
  82.                                     <label>  
  83.                                           
  84.                                         <asp:RadioButtonList ID="RadioButtonList1" runat="server">  
  85.                                             <asp:ListItem Selected="True">Encryption</asp:ListItem>  <asp:ListItem>Decryption</asp:ListItem>  
  86.                                         </asp:RadioButtonList>  
  87.                                               
  88.   
  89.                                           
  90.                                     </label>  
  91.                                 </div>  
  92.                             </div>  
  93.                         </div>  
  94.                         <div class="form-group">  
  95.                                                      
  96.                             <div class="col-lg-10">  
  97.                                                                
  98.                             </div>  
  99.                         </div>  
  100.                         <div class="form-group">  
  101.                             <div class="col-lg-10 col-lg-offset-2">  
  102.                                 <asp:Button ID="btnSubmit" runat="server" CssClass="btn btn-primary" Text="Submit" OnClick="btnSubmit_Click" />  
  103.                                   <asp:Button ID="btnCancel" runat="server" CssClass="btn btn-warning" Text="Clear" OnClick="btnCancel_Click" CausesValidation="False" />      
  104.                                 <asp:Button ID="download" runat="server" CssClass="btn btn-primary" Text="Download" OnClick="download_Click" Visible="false" />                            
  105.                             </div>  
  106.                         </div>  
  107.                     </fieldset>  
  108.                 </div>  
  109.             </div>  
  110.         </div>  
  111.     </div>  
  112.     <script src="js/jquery.js" type="text/javascript"></script>  
  113.     <script src="js/bootstrap.min.js" type="text/javascript"></script>  
  114.     <script src="js/jquery.backstretch.js" type="text/javascript"></script>  
  115.     <script type="text/javascript">  
  116.         'use strict';  
  117.   
  118.         /* ========================== */  
  119.         /* ::::::: Backstrech ::::::: */  
  120.         /* ========================== */  
  121.         // You may also attach Backstretch to a block-level element  
  122.         $.backstretch(  
  123.         [  
  124.             "img/44.jpg",  
  125.             "img/colorful.jpg",  
  126.             "img/34.jpg",  
  127.             "img/images.jpg"  
  128.         ],  
  129.   
  130.         {  
  131.             duration: 4500,  
  132.             fade: 1500  
  133.         }  
  134.     );  
  135.     </script>  
  136.     </form>  
  137. </body>  
  138. </html>  
Please help me out. Thanks in advance. When I run it, I can only see the navbar. 

Answers (1)