SlideShare a Scribd company logo
A Programme Under the compumitra Series
WEB SERVER CONTROLS SET – 1
LAB WORK GUIDE
1
OUTLINE
 Web Server Control
 'ASP:HyperLink' (Page 3).
Property Setting.
2
ASP:HYPERLINK Web Server Control
 <asp:HyperLink runat="server" /> tag is used to create a
server controlled Hyperlink.
 Many Additional Properties as compared to normal <A> tag
are supported.
 Supports font and background colors.
 Supports ImageUrl.
 Supports Height Width etc.
3
 By default Your Web Site shall be saved in the Location- "C:Documents and
SettingsMy DocumentsVisual Studio 2008WebSites." Change it to
 "C:Learner<student-id>WebControlsHyperLink" folder
ASP:HyperLink -Web Site Creation-1
From Start Page Click New Website and reach this screen
2. Select 'ASP.NET Empty Web Site'
3. Select Location=File System
4. Click 'Browse..' tab to
select the location where
you want to save your Web
Site
5. click 'OK'
1. Select Language=Visual C#
4
ASP:HyperLink -Web Site Creation-2
In the Solution Explorer Window
Select the path -> Right click ->
Add New Item…
5
ASP:HyperLink -Web Site Creation-3 'Add New Item' dialog box will open
1. Select 'Web Form'
2. Simply Click on
'Add' button
6
ASP:HyperLink –Copy Code
<asp:HyperLink ID="HyperLink1" runat="server"
NavigateUrl="http://www.sunmitra.com" Font-Bold="True"
Font-Size='25' Target="_blank">
Visit sunmitra.com!
</asp:HyperLink>
Copy this Code
7
ASP:HyperLink –Paste Code
Paste the copied code between
<div> and </div> tag in the
source code view mode. Save file.
Source Code View Mode
Click Here to see properties of the
control you just added.
8
ASP:HyperLink –Run/See Output
 You can run your website by selecting 'Start Debugging'
option in 'debug' menu Or by pressing 'F5' key.
Output On Browser
This 'Text' has the link of other site
9
ASP:Hyperlink: Modification Trials - 1
 Use properties window to Change the
Font-Bold="False" and Font-Size="XX_Large"
See that properties you set are also added
automatically in the code of your .aspx file.
Run the program to see the effect.
 Using Properties Add ImageURL and NavigateURL
as
ImageUrl="http://www.sunmitra.com/images/s
unmitra.gif" and
NavigateUrl="http://www.google.com"
Run and understand the difference between two.
10
ASP:Hyperlink: Modification Trials - 2
 Using Properties, Try to set Font Name and Font
Names (for multiple fonts)
Multiple fonts are useful to set when the first ones
are not available. Fonts work only when they are
available to local system where browser is there.
 Try to see the design view when ImageUrl is set.
You will see that when ImageUrl is set the hyperlink
name you type can not be rendered.
You can however set the tooltip attribute. (Same
attribute in HTML Server control is called the Title
Attribute).
11
 Ask and guide me at
sunmitraeducation@gmail.com
 Share this information with as
many people as possible.
 Keep visiting www.sunmitra.com
for programme updates.
12

More Related Content

PDF
Apache serversideincludes(ssi)inae mpages
PPTX
Cloud hub with mule
PPTX
My journey and learnings using mule esb part 1
PPTX
Integrate with facebook connector
PPTX
Demo on Mule ESB Facebook Connector
PPTX
Integration with dropbox
PPTX
Deploy with maven
Apache serversideincludes(ssi)inae mpages
Cloud hub with mule
My journey and learnings using mule esb part 1
Integrate with facebook connector
Demo on Mule ESB Facebook Connector
Integration with dropbox
Deploy with maven

What's hot (19)

PPTX
Intro to Rails Give Camp Atlanta
PPTX
Dash of ajax
PPTX
Anypoint lessons
PPTX
Catalog display
TXT
Readme
PPTX
Integrate to retrieve data microsoft azure
PPTX
Mule management console installation
PPT
jQuery Intro
PPTX
Mule with salesforce push topic notification copy
PPT
Rails engines
PDF
Skillfeed word press-course-anouncement-april-23-2015
PDF
Pundit
PPTX
Introduction to asp
PPTX
Mule with facebook
DOC
Weblogic.deployer usage
PDF
App engine install-windows
PPT
Installing mule
DOC
Ajax pagination using j query in rails3
PDF
Ignite Talk on Chef
Intro to Rails Give Camp Atlanta
Dash of ajax
Anypoint lessons
Catalog display
Readme
Integrate to retrieve data microsoft azure
Mule management console installation
jQuery Intro
Mule with salesforce push topic notification copy
Rails engines
Skillfeed word press-course-anouncement-april-23-2015
Pundit
Introduction to asp
Mule with facebook
Weblogic.deployer usage
App engine install-windows
Installing mule
Ajax pagination using j query in rails3
Ignite Talk on Chef
Ad

Similar to Web Controls Set-1 (20)

PPSX
03 asp.net session04
PPTX
Wd & im session a3 _introduction to web page editors_april 08,2010
PPS
03 asp.net session04
PPSX
01 asp.net session01
PPTX
Web Server Controls CS Set
PPTX
Dreaweaver cs5
PPT
.Net course-in-mumbai-ppt
PPT
Creating web form
PPT
Creating web form
PPTX
PPS
01 asp.net session01
PPT
Webexpration2007 ii
PDF
Asp.net w3schools
PDF
Asp .net web form fundamentals
PDF
Introducing asp.net web pages 2
PPTX
Links - IntraSystem and Absolute
DOCX
Lesson 4 Adding Navigator and PagesAdding Links Transcript- .docx
PPTX
Web Server Controls VB Set 1
PPTX
pracc III for presentation.pptx
03 asp.net session04
Wd & im session a3 _introduction to web page editors_april 08,2010
03 asp.net session04
01 asp.net session01
Web Server Controls CS Set
Dreaweaver cs5
.Net course-in-mumbai-ppt
Creating web form
Creating web form
01 asp.net session01
Webexpration2007 ii
Asp.net w3schools
Asp .net web form fundamentals
Introducing asp.net web pages 2
Links - IntraSystem and Absolute
Lesson 4 Adding Navigator and PagesAdding Links Transcript- .docx
Web Server Controls VB Set 1
pracc III for presentation.pptx
Ad

More from sunmitraeducation (20)

PPTX
Java Introduction
PPTX
Installing JDK and first java program
PPTX
Project1 VB
PPTX
Project1 CS
PPTX
Grid Vew Control VB
PPTX
Grid View Control CS
PPTX
PPTX
Database Basics Theory
PPTX
Visual Web Developer and Web Controls VB set 3
PPTX
Visual Web Developer and Web Controls CS set 3
PPTX
Progamming Primer Polymorphism (Method Overloading) VB
PPTX
Programming Primer EncapsulationVB
PPTX
Programming Primer Encapsulation CS
PPTX
Programming Primer Inheritance VB
PPTX
Programming Primer Inheritance CS
PPTX
ProgrammingPrimerAndOOPS
PPTX
Understanding IDEs
PPTX
Html Server Image Control VB
PPTX
Html Server Image Control CS
PPTX
Html Server Anchor Control VB
Java Introduction
Installing JDK and first java program
Project1 VB
Project1 CS
Grid Vew Control VB
Grid View Control CS
Database Basics Theory
Visual Web Developer and Web Controls VB set 3
Visual Web Developer and Web Controls CS set 3
Progamming Primer Polymorphism (Method Overloading) VB
Programming Primer EncapsulationVB
Programming Primer Encapsulation CS
Programming Primer Inheritance VB
Programming Primer Inheritance CS
ProgrammingPrimerAndOOPS
Understanding IDEs
Html Server Image Control VB
Html Server Image Control CS
Html Server Anchor Control VB

Recently uploaded (20)

PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PPTX
Cloud computing and distributed systems.
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Spectroscopy.pptx food analysis technology
Unlocking AI with Model Context Protocol (MCP)
Advanced methodologies resolving dimensionality complications for autism neur...
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Chapter 3 Spatial Domain Image Processing.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Programs and apps: productivity, graphics, security and other tools
20250228 LYD VKU AI Blended-Learning.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Digital-Transformation-Roadmap-for-Companies.pptx
Review of recent advances in non-invasive hemoglobin estimation
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Cloud computing and distributed systems.
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Empathic Computing: Creating Shared Understanding
The Rise and Fall of 3GPP – Time for a Sabbatical?
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Spectroscopy.pptx food analysis technology

Web Controls Set-1

  • 1. A Programme Under the compumitra Series WEB SERVER CONTROLS SET – 1 LAB WORK GUIDE 1
  • 2. OUTLINE  Web Server Control  'ASP:HyperLink' (Page 3). Property Setting. 2
  • 3. ASP:HYPERLINK Web Server Control  <asp:HyperLink runat="server" /> tag is used to create a server controlled Hyperlink.  Many Additional Properties as compared to normal <A> tag are supported.  Supports font and background colors.  Supports ImageUrl.  Supports Height Width etc. 3
  • 4.  By default Your Web Site shall be saved in the Location- "C:Documents and SettingsMy DocumentsVisual Studio 2008WebSites." Change it to  "C:Learner<student-id>WebControlsHyperLink" folder ASP:HyperLink -Web Site Creation-1 From Start Page Click New Website and reach this screen 2. Select 'ASP.NET Empty Web Site' 3. Select Location=File System 4. Click 'Browse..' tab to select the location where you want to save your Web Site 5. click 'OK' 1. Select Language=Visual C# 4
  • 5. ASP:HyperLink -Web Site Creation-2 In the Solution Explorer Window Select the path -> Right click -> Add New Item… 5
  • 6. ASP:HyperLink -Web Site Creation-3 'Add New Item' dialog box will open 1. Select 'Web Form' 2. Simply Click on 'Add' button 6
  • 7. ASP:HyperLink –Copy Code <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="http://www.sunmitra.com" Font-Bold="True" Font-Size='25' Target="_blank"> Visit sunmitra.com! </asp:HyperLink> Copy this Code 7
  • 8. ASP:HyperLink –Paste Code Paste the copied code between <div> and </div> tag in the source code view mode. Save file. Source Code View Mode Click Here to see properties of the control you just added. 8
  • 9. ASP:HyperLink –Run/See Output  You can run your website by selecting 'Start Debugging' option in 'debug' menu Or by pressing 'F5' key. Output On Browser This 'Text' has the link of other site 9
  • 10. ASP:Hyperlink: Modification Trials - 1  Use properties window to Change the Font-Bold="False" and Font-Size="XX_Large" See that properties you set are also added automatically in the code of your .aspx file. Run the program to see the effect.  Using Properties Add ImageURL and NavigateURL as ImageUrl="http://www.sunmitra.com/images/s unmitra.gif" and NavigateUrl="http://www.google.com" Run and understand the difference between two. 10
  • 11. ASP:Hyperlink: Modification Trials - 2  Using Properties, Try to set Font Name and Font Names (for multiple fonts) Multiple fonts are useful to set when the first ones are not available. Fonts work only when they are available to local system where browser is there.  Try to see the design view when ImageUrl is set. You will see that when ImageUrl is set the hyperlink name you type can not be rendered. You can however set the tooltip attribute. (Same attribute in HTML Server control is called the Title Attribute). 11
  • 12.  Ask and guide me at sunmitraeducation@gmail.com  Share this information with as many people as possible.  Keep visiting www.sunmitra.com for programme updates. 12