Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
.NET
.NET Core
.NET MAUI
.NET Standard
Active Directory
ADO.NET
Agile Development
AI
AJAX
AlbertAGPT
Alchemy
Alexa Skills
Algorand
Algorithms in C#
Android
Angular
ArcObject
ASP.NET
ASP.NET Core
Augmented Reality
Avalanche
AWS
Azure
Backbonejs
Big Data
BizTalk Server
Blazor
Blockchain
Bootstrap
Bot Framework
Business
Business Intelligence(BI)
C#
C# Corner
C# Strings
C, C++, MFC
Career Advice
Careers and Jobs
Chapters
ChatGPT
Cloud
Coding Best Practices
Cognitive Services
COM Interop
Compact Framework
Copilot
Cortana Development
Cosmos DB
Cryptocurrency
Cryptography
Crystal Reports
CSS
Current Affairs
Custom Controls
Cyber Security
Data Mining
Data Science
Databases & DBA
Databricks
Design Patterns & Practices
DevExpress
DevOps
DirectX
Dynamics CRM
Enterprise Development
Entity Framework
Error Zone
Exception Handling
F#
Files, Directory, IO
Flutter
Games Programming
GDI+
General
Generative AI
GO
Google Cloud
Google Development
Graphics Design
Graphite Studio
Hardware
Hiring and Recruitment
HoloLens
How do I
HTML 5
Infragistics
Internet & Web
Internet of Things
Ionic
Java
Java and .NET
JavaScript
JQuery
JSON
JSP
Knockout
Kotlin
Langchain
Leadership
Learn .NET
Learn iOS Programming
LINQ
Machine Learning
Metaverse
Microsoft 365
Microsoft Fabric
Microsoft Office
Microsoft Phone
Microsoft Teams
Mobile Development
MongoDB
MuleSoft
MySQL
NEAR
NetBeans
Networking
NFT
NoCode LowCode
Node.js
Office Development
OOP/OOD
Open Source
Operating Systems
Oracle
Outsourcing
Philosophy
PHP
Polygon
PostgreSQL
Power Apps
Power Automate
Power BI
Power Pages
Printing in C#
Products
Progress
Progressive Web Apps
Project Management
Public Speaking
Python
Q#
QlikView
Quantum Computing
R
React
React Native
Reports using C#
Robotics & Hardware
RPA
Ruby on Rails
RUST
Salesforce
Security
Servers
ServiceNow
SharePoint
Sharp Economy
SignalR
Smart Devices
Snowflake
Software Architecture/Engineering
Software Testing
Solana
Solidity
Sports
SQL
SQL Server
Startups
Stratis Blockchain
Swift
SyncFusion
Threading
Tools
TypeScript
Unity
UWP
Visual Basic .NET
Visual Studio
Vue.js
WCF
Wearables
Web API
Web Design
Web Development
Web3
Windows
Windows Controls
Windows Forms
Windows PowerShell
Windows Services
Workflow Foundation
WPF
Xamarin
XAML
XML
XNA
XSharp
Register
Login
1
Answer
I can only see the navbar when I run this.
Sameer
8y
847
1
Reply
<%@ Page Language=
"C#"
AutoEventWireup=
"true"
Inherits=
"preview_dotnet_templates_registration_Form_index"
Codebehind=
"index.aspx.cs"
CodeFile=
"index.aspx.cs"
%>
<!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"
>
<!--[
if
lt IE 7]> <html
class
=
"no-js ie6 oldie"
lang=
"en"
> <![endif]-->
<!--[
if
IE 7]> <html
class
=
"no-js ie7 oldie"
lang=
"en"
> <![endif]-->
<!--[
if
IE 8]> <html
class
=
"no-js ie8 oldie"
lang=
"en"
> <![endif]-->
<!--[
if
IE 9]> <html
class
=
"no-js ie9 oldie"
lang=
"en"
> <![endif]-->
<meta charset=
"utf-8"
>
<!-- Set the viewport width to device width
for
mobile -->
<meta name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1"
>
<meta name=
"description"
content=
"Securely encrypt your file."
>
<title>FileCrypt</title>
<!-- ============ Google fonts ============ -->
<link href=
'http://fonts.googleapis.com/css?family=EB+Garamond'
rel=
'stylesheet'
type=
'text/css'
/>
<link href=
'http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300,800'
rel=
'stylesheet'
type=
'text/css'
/>
<!-- ============ Add custom CSS here ============ -->
<link href=
"css/bootstrap.min.css"
rel=
"stylesheet"
type=
"text/css"
/>
<link href=
"css/style.css"
rel=
"stylesheet"
type=
"text/css"
/>
<link href=
"css/font-awesome.css"
rel=
"stylesheet"
type=
"text/css"
/>
</head>
<body>
<form id=
"form1"
runat=
"server"
>
<div id=
"custom-bootstrap-menu"
class
=
"navbar navbar-default "
role=
"navigation"
>
<div
class
=
"container"
>
<div
class
=
"navbar-header"
>
<a
class
=
"navbar-brand"
href=
"#"
>FileCrypt</a>
<button type=
"button"
class
=
"navbar-toggle"
data-toggle=
"collapse"
data-target=
".navbar-menubuilder"
>
<span
class
=
"sr-only"
>Toggle navigation</span><span
class
=
"icon-bar"
></span><span
class
=
"icon-bar"
></span><span
class
=
"icon-bar"
></span>
</button>
</div>
<div
class
=
"collapse navbar-collapse navbar-menubuilder"
>
<ul
class
=
"nav navbar-nav navbar-right"
>
<li><a href=
"index.aspx"
>Home</a> </li>
</ul>
</div>
</div>
</div>
<div
class
=
"container"
>
<div
class
=
"col-lg-6 col-md-6 col-sm-6 col-xs-12 text-center"
>
<div id=
"banner"
>
<h1>
FileCrypt <strong>Upload File</strong> </h1>
</div>
</div>
<div
class
=
"col-lg-6 col-md-6 col-sm-6 col-xs-12"
>
<div
class
=
"registrationform"
>
<div
class
=
"form-horizontal"
>
<fieldset>
<legend>Registration Form <i
class
=
"fa fa-pencil pull-right"
></i></legend>
<div
class
=
"form-group"
>
<asp:Label ID=
"Label1"
runat=
"server"
Text=
"Browse"
CssClass=
"col-lg-2 control-label"
></asp:Label>
<div
class
=
"col-lg-10"
>
<asp:FileUpload ID=
"FileUpload1"
runat=
"server"
Height=
"28px"
Width=
"391px"
CssClass=
"form-control"
/>
<asp:RequiredFieldValidator id=
"RequiredFieldValidator1"
runat=
"server"
ControlToValidate=
"FileUpload1"
ErrorMessage=
"You must select a file"
ForeColor=
"Red"
Display=
"Static"
Text=
"."
></asp:RequiredFieldValidator>
<asp:Label ID=
"Label3"
runat=
"server"
Text=
""
></asp:Label>
</div>
</div>
<div
class
=
"form-group"
>
<asp:Label ID=
"Label2"
runat=
"server"
Text=
"Passphrase"
CssClass=
"col-lg-2 control-label"
></asp:Label>
<div
class
=
"col-lg-10"
>
<asp:TextBox ID=
"password"
runat=
"server"
TextMode=
"Password"
CssClass=
"form-control"
/>
<asp:RequiredFieldValidator id=
"RequiredFieldValidator2"
runat=
"server"
ControlToValidate=
"password"
ErrorMessage=
"You must enter a password"
ForeColor=
"Red"
Display=
"Static"
Text=
"."
></asp:RequiredFieldValidator>
<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=
"."
/>
<asp:ValidationSummary runat=
"server"
ID=
"validationSummary"
ShowMessageBox=
"true"
ShowSummary=
"false"
/>
</div>
</div>
<div
class
=
"form-group"
>
<div
class
=
"col-lg-10"
>
<div
class
=
"radio"
>
<label>
<asp:RadioButtonList ID=
"RadioButtonList1"
runat=
"server"
>
<asp:ListItem Selected=
"True"
>Encryption</asp:ListItem> <asp:ListItem>Decryption</asp:ListItem>
</asp:RadioButtonList>
</label>
</div>
</div>
</div>
<div
class
=
"form-group"
>
<div
class
=
"col-lg-10"
>
</div>
</div>
<div
class
=
"form-group"
>
<div
class
=
"col-lg-10 col-lg-offset-2"
>
<asp:Button ID=
"btnSubmit"
runat=
"server"
CssClass=
"btn btn-primary"
Text=
"Submit"
OnClick=
"btnSubmit_Click"
/>
<asp:Button ID=
"btnCancel"
runat=
"server"
CssClass=
"btn btn-warning"
Text=
"Clear"
OnClick=
"btnCancel_Click"
CausesValidation=
"False"
/>
<asp:Button ID=
"download"
runat=
"server"
CssClass=
"btn btn-primary"
Text=
"Download"
OnClick=
"download_Click"
Visible=
"false"
/>
</div>
</div>
</fieldset>
</div>
</div>
</div>
</div>
<script src=
"js/jquery.js"
type=
"text/javascript"
></script>
<script src=
"js/bootstrap.min.js"
type=
"text/javascript"
></script>
<script src=
"js/jquery.backstretch.js"
type=
"text/javascript"
></script>
<script type=
"text/javascript"
>
'use strict'
;
/* ========================== */
/* ::::::: Backstrech ::::::: */
/* ========================== */
// You may also attach Backstretch to a block-level element
$.backstretch(
[
"img/44.jpg"
,
"img/colorful.jpg"
,
"img/34.jpg"
,
"img/images.jpg"
],
{
duration: 4500,
fade: 1500
}
);
</script>
</form>
</body>
</html>
Please help me out. Thanks in advance. When I run it, I can only see the navbar.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Diff. between VS2015 SNGL OLP with and without MSDN ?
Selenium Web driver