SlideShare a Scribd company logo
1 of 12
DOT NET
FRAMEWORK
AND CONTROLS
A Programme Under the Compumitra Education Series
OUTLINE
• Concept of Dot Net Framework?
• Dot Net Framework Concept Vs
Java Concept
• Concept and purpose of Controls.
• Types of Controls
• HTML Server Controls
• Webforms ServerControls
• Validation Controls
• Other Controls
• DOT NET FRAMEWORK is an add-on
software over the operating system.
• It provides the library of software
functions (Called Classes) that can be
called from the application software to
get the desired functionality.
• It provides a unique feature to support
multiple language such as C#,
Visual Basic and many more by
providing compilation facilities for them.
• It provides compilation of user’s
application to an intermediate language
(Common Intermediate Language –
CIL) so that it is largely platform
independent.
Concept of DOT NET Framework - 1
Hardware
Operating System
Dot Net Framework
Application Code
CIL
M/C L
• By itself it follows a layered architecture to
provide various services.
• Common Language Runtime (CLR) to
understand the CIL, memory management,
security and exceptions.
• Base Class Library (BCL) to provide the basic
functionality of User Interface, Data Access,
Algorithms, Networking etc.
• WinForms for forms provided by console
applications or single machine applications.
• ASP.Net for web related functionality.
• ADO.NET for database access related
functionality.
• More components have been added in
recent releases of this stack that shall be
discussed in the advanced courses.
DOT NET Framework Stack
Common Language Runtime
Base Class Library
Win
Forms
ASP
.NET
ADO
.NET
DOT NET Framework Stack
• Concept of DOT Net is quite similar to Java Virtual Machine
Concept. The primary difference however was to focus on
language independence rather than platform independence.
DOT NET Framework Vs. Java
Hardware
MS Operating System
Dot Net Framework
Any Language
Application Code
CIL
M/C L
Hardware
Any Operating System
Java Virtual Machine
Java
Application Code
Bytecode
M/C L
Microsoft Dot Net Sun Java
Concept and Purpose of Controls
• Controls are prewritten library classes provided by the
language for providing predefined parameters to be
handled by them.
• Controls ease-up many day to day tasks for a
programmer. For e.g. a Text Box defines a predefined
area with predefined font and colors etc to enter some
text by the application user. What can be further
configured by a programmer in a control is also defined.
• Most common user interfaces are designed using forms
that are full of controls like Label, Text Box, Check Box,
Radio Control, Button, Text Area, Selection List Etc.
• Controls are also the most common components that a
programmers deal in day to day life.
• Concept of controls can be further extended to custom
defined logic building, such one may find a control to
convert Centigrade to Fahrenheit
• The main controls provided by
ASP.NET are:
– HTML Server Controls
– Webforms Server Controls
– Validation Controls
• In the advanced sections we shall
also see that ASP.NET provides a
facility of creating User’s own control
by using any combination of current
controls or completely a new control.
Major Types of ASP.NET Controls
We shall try to focus on server end controls. Client end controls are
basically provided by HTML syntax itself.
• These controls are similar in construct with the regular HTML
style forms features. The main difference is however that
these controls are interpreted and converted at the server
end itself.
• For e.g.
<a id="link1" runat="server">Visit Sunmitra Site</a>
would be an HTML Server control while
<a href=www.sunmitra.com>Visit Sunmitra Site</a>
would be an regular HTML syntax.
• In first case the id and runat attribute relate to running it at
server end and thus href declaration will also be made
separately in the programme code.
• Other HTML server controls are for button, checkbox,
radiobutton, image, table,textarea etc.
HTML Server Controls
• These controls are exclusively defined by ASP.NET library
only.
• Things like AdRotator, Calendar, Datalist, ListBox, XML,
Imagebutton and extended forms of Table, CheckBox,
Radiobutton etc are classified here.
• Here ASP.NET designers have taken full liberty to design
their own set of attributes that may be quite different from
HTML syntax.
• These controls provide the real power to web-based forms
designing.
• Remember that even these controls will finally be depicted
on the web browser side using standard HTML syntax only.
Webforms Server Controls
• These controls provide an easy way for form entry validations that was earlier
required to be provided by client side programming such as javascript etc.
• For e.g. syntax like below
<asp:RangeValidator
ControlToValidate="tbox1"
MinimumValue="1"
MaximumValue=“60"
Type="Integer"
Text="The value must be from 1 to 60!"
runat="server" />
Can validate that a user fills the value between 1 to 60 only.
• Actually a validation control is a neat way to tell the server to automatically
add the required client side script (usually the javascript) before sending the
data towards the browser.
• The validation control is powerful as it is efficient and saves a lot of server time
to check petty things that can be done at the client end itself.
Validation Controls
Other Controls
• There is a big range of other controls that are
available free or paid from 3rd party developers.
• These include things like
– Colour selection.
– Multiline Text Editing.
– Image Editing.
– Progressbar
– Tickers.
– Imagecombobox.
– Map Controls.
– Mediaplayer controls.
– Popupmenus.
– Graph Displays etc.
• 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.

More Related Content

Similar to Dot Net Framework and Controls: A Complete Guide

introasp_net-7364068.ppt
introasp_net-7364068.pptintroasp_net-7364068.ppt
introasp_net-7364068.pptIQM123
 
introasp_net-6563550.ppt
introasp_net-6563550.pptintroasp_net-6563550.ppt
introasp_net-6563550.pptIQM123
 
introaspnet-3030384.ppt
introaspnet-3030384.pptintroaspnet-3030384.ppt
introaspnet-3030384.pptIQM123
 
introaspnet-5856912.ppt
introaspnet-5856912.pptintroaspnet-5856912.ppt
introaspnet-5856912.pptIQM123
 
introaspnetkjadbfksdjkfaskjdbfkajsbfkjfjkswa.ppt
introaspnetkjadbfksdjkfaskjdbfkajsbfkjfjkswa.pptintroaspnetkjadbfksdjkfaskjdbfkajsbfkjfjkswa.ppt
introaspnetkjadbfksdjkfaskjdbfkajsbfkjfjkswa.pptAvijitChaudhuri3
 
introaspnet.ppt
introaspnet.pptintroaspnet.ppt
introaspnet.pptasmachehbi
 
Tech presentation (part 1)
Tech presentation (part 1)Tech presentation (part 1)
Tech presentation (part 1)Abhijit Roy
 
Intro to Microsoft.NET
Intro to Microsoft.NET Intro to Microsoft.NET
Intro to Microsoft.NET rchakra
 
Effective admin and development in iib
Effective admin and development in iibEffective admin and development in iib
Effective admin and development in iibm16k
 
Methodologies and flows for chip design
Methodologies and flows for chip designMethodologies and flows for chip design
Methodologies and flows for chip designDerek Pappas
 
Asp.net and .Net Framework ppt presentation
Asp.net and .Net Framework ppt presentationAsp.net and .Net Framework ppt presentation
Asp.net and .Net Framework ppt presentationabhishek singh
 

Similar to Dot Net Framework and Controls: A Complete Guide (20)

introasp_net-7364068.ppt
introasp_net-7364068.pptintroasp_net-7364068.ppt
introasp_net-7364068.ppt
 
introasp_net-6563550.ppt
introasp_net-6563550.pptintroasp_net-6563550.ppt
introasp_net-6563550.ppt
 
introaspnet-3030384.ppt
introaspnet-3030384.pptintroaspnet-3030384.ppt
introaspnet-3030384.ppt
 
introaspnet-5856912.ppt
introaspnet-5856912.pptintroaspnet-5856912.ppt
introaspnet-5856912.ppt
 
Introaspnet
IntroaspnetIntroaspnet
Introaspnet
 
Aspintro
AspintroAspintro
Aspintro
 
introaspnetkjadbfksdjkfaskjdbfkajsbfkjfjkswa.ppt
introaspnetkjadbfksdjkfaskjdbfkajsbfkjfjkswa.pptintroaspnetkjadbfksdjkfaskjdbfkajsbfkjfjkswa.ppt
introaspnetkjadbfksdjkfaskjdbfkajsbfkjfjkswa.ppt
 
introaspnet.ppt
introaspnet.pptintroaspnet.ppt
introaspnet.ppt
 
introaspnet.ppt
introaspnet.pptintroaspnet.ppt
introaspnet.ppt
 
C# and dot net framework
C# and dot net frameworkC# and dot net framework
C# and dot net framework
 
Tech presentation (part 1)
Tech presentation (part 1)Tech presentation (part 1)
Tech presentation (part 1)
 
Intro to Microsoft.NET
Intro to Microsoft.NET Intro to Microsoft.NET
Intro to Microsoft.NET
 
Introduction to asp
Introduction to aspIntroduction to asp
Introduction to asp
 
Effective admin and development in iib
Effective admin and development in iibEffective admin and development in iib
Effective admin and development in iib
 
Methodologies and flows for chip design
Methodologies and flows for chip designMethodologies and flows for chip design
Methodologies and flows for chip design
 
Visual Basic User Interface-III
Visual Basic User Interface-IIIVisual Basic User Interface-III
Visual Basic User Interface-III
 
Asp.net and .Net Framework ppt presentation
Asp.net and .Net Framework ppt presentationAsp.net and .Net Framework ppt presentation
Asp.net and .Net Framework ppt presentation
 
ASP.NET Web form
ASP.NET Web formASP.NET Web form
ASP.NET Web form
 
Web based booking a car taxi5
Web based booking a car taxi5Web based booking a car taxi5
Web based booking a car taxi5
 
Visual basic
Visual basicVisual basic
Visual basic
 

More from sunmitraeducation

More from sunmitraeducation (20)

Java Introduction
Java IntroductionJava Introduction
Java Introduction
 
Installing JDK and first java program
Installing JDK and first java programInstalling JDK and first java program
Installing JDK and first java program
 
Project1 VB
Project1 VBProject1 VB
Project1 VB
 
Project1 CS
Project1 CSProject1 CS
Project1 CS
 
Grid Vew Control VB
Grid Vew Control VBGrid Vew Control VB
Grid Vew Control VB
 
Grid View Control CS
Grid View Control CSGrid View Control CS
Grid View Control CS
 
Ms Access
Ms AccessMs Access
Ms Access
 
Database Basics Theory
Database Basics TheoryDatabase Basics Theory
Database Basics Theory
 
Visual Web Developer and Web Controls VB set 3
Visual Web Developer and Web Controls VB set 3Visual Web Developer and Web Controls VB set 3
Visual Web Developer and Web Controls VB set 3
 
Visual Web Developer and Web Controls CS set 3
Visual Web Developer and Web Controls CS set 3Visual Web Developer and Web Controls CS set 3
Visual Web Developer and Web Controls CS set 3
 
Progamming Primer Polymorphism (Method Overloading) VB
Progamming Primer Polymorphism (Method Overloading) VBProgamming Primer Polymorphism (Method Overloading) VB
Progamming Primer Polymorphism (Method Overloading) VB
 
Programming Primer EncapsulationVB
Programming Primer EncapsulationVBProgramming Primer EncapsulationVB
Programming Primer EncapsulationVB
 
Programming Primer Encapsulation CS
Programming Primer Encapsulation CSProgramming Primer Encapsulation CS
Programming Primer Encapsulation CS
 
Programming Primer Inheritance VB
Programming Primer Inheritance VBProgramming Primer Inheritance VB
Programming Primer Inheritance VB
 
Programming Primer Inheritance CS
Programming Primer Inheritance CSProgramming Primer Inheritance CS
Programming Primer Inheritance CS
 
ProgrammingPrimerAndOOPS
ProgrammingPrimerAndOOPSProgrammingPrimerAndOOPS
ProgrammingPrimerAndOOPS
 
Web Server Controls VB Set 1
Web Server Controls VB Set 1Web Server Controls VB Set 1
Web Server Controls VB Set 1
 
Web Server Controls CS Set
Web Server Controls CS Set Web Server Controls CS Set
Web Server Controls CS Set
 
Web Controls Set-1
Web Controls Set-1Web Controls Set-1
Web Controls Set-1
 
Understanding IDEs
Understanding IDEsUnderstanding IDEs
Understanding IDEs
 

Recently uploaded

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsAndrey Dotsenko
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 

Recently uploaded (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 

Dot Net Framework and Controls: A Complete Guide

  • 1. DOT NET FRAMEWORK AND CONTROLS A Programme Under the Compumitra Education Series
  • 2. OUTLINE • Concept of Dot Net Framework? • Dot Net Framework Concept Vs Java Concept • Concept and purpose of Controls. • Types of Controls • HTML Server Controls • Webforms ServerControls • Validation Controls • Other Controls
  • 3. • DOT NET FRAMEWORK is an add-on software over the operating system. • It provides the library of software functions (Called Classes) that can be called from the application software to get the desired functionality. • It provides a unique feature to support multiple language such as C#, Visual Basic and many more by providing compilation facilities for them. • It provides compilation of user’s application to an intermediate language (Common Intermediate Language – CIL) so that it is largely platform independent. Concept of DOT NET Framework - 1 Hardware Operating System Dot Net Framework Application Code CIL M/C L
  • 4. • By itself it follows a layered architecture to provide various services. • Common Language Runtime (CLR) to understand the CIL, memory management, security and exceptions. • Base Class Library (BCL) to provide the basic functionality of User Interface, Data Access, Algorithms, Networking etc. • WinForms for forms provided by console applications or single machine applications. • ASP.Net for web related functionality. • ADO.NET for database access related functionality. • More components have been added in recent releases of this stack that shall be discussed in the advanced courses. DOT NET Framework Stack Common Language Runtime Base Class Library Win Forms ASP .NET ADO .NET DOT NET Framework Stack
  • 5. • Concept of DOT Net is quite similar to Java Virtual Machine Concept. The primary difference however was to focus on language independence rather than platform independence. DOT NET Framework Vs. Java Hardware MS Operating System Dot Net Framework Any Language Application Code CIL M/C L Hardware Any Operating System Java Virtual Machine Java Application Code Bytecode M/C L Microsoft Dot Net Sun Java
  • 6. Concept and Purpose of Controls • Controls are prewritten library classes provided by the language for providing predefined parameters to be handled by them. • Controls ease-up many day to day tasks for a programmer. For e.g. a Text Box defines a predefined area with predefined font and colors etc to enter some text by the application user. What can be further configured by a programmer in a control is also defined. • Most common user interfaces are designed using forms that are full of controls like Label, Text Box, Check Box, Radio Control, Button, Text Area, Selection List Etc. • Controls are also the most common components that a programmers deal in day to day life. • Concept of controls can be further extended to custom defined logic building, such one may find a control to convert Centigrade to Fahrenheit
  • 7. • The main controls provided by ASP.NET are: – HTML Server Controls – Webforms Server Controls – Validation Controls • In the advanced sections we shall also see that ASP.NET provides a facility of creating User’s own control by using any combination of current controls or completely a new control. Major Types of ASP.NET Controls We shall try to focus on server end controls. Client end controls are basically provided by HTML syntax itself.
  • 8. • These controls are similar in construct with the regular HTML style forms features. The main difference is however that these controls are interpreted and converted at the server end itself. • For e.g. <a id="link1" runat="server">Visit Sunmitra Site</a> would be an HTML Server control while <a href=www.sunmitra.com>Visit Sunmitra Site</a> would be an regular HTML syntax. • In first case the id and runat attribute relate to running it at server end and thus href declaration will also be made separately in the programme code. • Other HTML server controls are for button, checkbox, radiobutton, image, table,textarea etc. HTML Server Controls
  • 9. • These controls are exclusively defined by ASP.NET library only. • Things like AdRotator, Calendar, Datalist, ListBox, XML, Imagebutton and extended forms of Table, CheckBox, Radiobutton etc are classified here. • Here ASP.NET designers have taken full liberty to design their own set of attributes that may be quite different from HTML syntax. • These controls provide the real power to web-based forms designing. • Remember that even these controls will finally be depicted on the web browser side using standard HTML syntax only. Webforms Server Controls
  • 10. • These controls provide an easy way for form entry validations that was earlier required to be provided by client side programming such as javascript etc. • For e.g. syntax like below <asp:RangeValidator ControlToValidate="tbox1" MinimumValue="1" MaximumValue=“60" Type="Integer" Text="The value must be from 1 to 60!" runat="server" /> Can validate that a user fills the value between 1 to 60 only. • Actually a validation control is a neat way to tell the server to automatically add the required client side script (usually the javascript) before sending the data towards the browser. • The validation control is powerful as it is efficient and saves a lot of server time to check petty things that can be done at the client end itself. Validation Controls
  • 11. Other Controls • There is a big range of other controls that are available free or paid from 3rd party developers. • These include things like – Colour selection. – Multiline Text Editing. – Image Editing. – Progressbar – Tickers. – Imagecombobox. – Map Controls. – Mediaplayer controls. – Popupmenus. – Graph Displays etc.
  • 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.