Check Prices
Download
Discuss
Table of Contents
Chapter 12
Using ASP.NET Custom Controls
by
Steven Smith
(
Web Site
)
Examples
Reference
Demo
Source
Description
12.1 C#
HelloWorld.cs source
A simple custom control that displays a hello world message.
12.2 C#
HelloControl.aspx
HelloControl.aspx source
Using our HelloWorld control in a web page.
Build C#
Build Command
Make sure you have the .NET Framework directory in your PATH environment variable.
12.1 VB
HelloWorld.vb source
A simple custom control that displays a hello world message.
12.2 VB
HelloControlVB.aspx
HelloControlVB.aspx source
Using our HelloWorld control in a web page.
Build VB
Build Command
Make sure you have the .NET Framework directory in your PATH environment variable.
12.3 C#
YesNoDropDownList.cs source
Building on the dropdownlist control...
12.4 C#
YesNo.aspx
YesNo.aspx source
Using our YesNoDropDownList control in a web page.
12.3 VB
YesNoDropDownList.vb source
Building on the dropdownlist control...
12.4 VB
YesNoVB.aspx
YesNoVB.aspx source
Using our YesNoDropDownList control in a web page.
12.5 C#
ReqYesNoDropDownList.cs source
Building on the dropdownlist control...
12.6 C#
ReqYesNo.aspx
ReqYesNo.aspx source
Using our ReqYesNoDropDownList control in a web page.
12.5 VB
ReqYesNoDropDownList.vb source
Building on the dropdownlist control...
12.6 VB
ReqYesNoVB.aspx
ReqYesNoVB.aspx source
Using our ReqYesNoDropDownList control in a web page.
12.7 C#
HelloLifeCycle.cs source
Event life cycle of a control.
12.8 C#
HelloEvents.aspx
HelloEvents.aspx source
Event life cycle of a control.
12.7 VB
HelloLifeCycleVB.vb source
Event life cycle of a control.
12.8 VB
HelloEventsVB.aspx
HelloEventsVB.aspx source
Event life cycle of a control.
12.9 C#
HelloPerson.cs source
Persisting data across postbacks.
12.10 C#
HelloPerson.aspx
HelloPerson.aspx source
Persisting data across postbacks.
12.9 VB
HelloPerson.vb source
Persisting data across postbacks.
12.10 VB
HelloPersonVB.aspx
HelloPersonVB.aspx source
Persisting data across postbacks.
12.11 C#
HelloTemplate.cs source
Using templates in custom controls.
12.12 C#
HelloTemplate.aspx
HelloTemplate.aspx source
An example of our templated control, with and without templates.
12.11 VB
HelloTemplate.vb source
Using templates in custom controls.
12.12 VB
HelloTemplateVB.aspx
HelloTemplateVB.aspx source
An example of our templated control, with and without templates.
12.13 C#
HelloPersonEvents.cs source
Using events in custom controls.
12.14 C#
HelloPersonEvents.aspx
HelloPersonEvents.aspx source
An example of a page catching events thrown from our control.
12.13 VB
HelloPersonEvents.vb source
Using events in custom controls.
12.14 VB
HelloPersonEventsVB.aspx
HelloPersonEventsVB.aspx source
An example of a page catching events thrown from our control.
12.15 C#
SalesTax.cs source
A simple sample component.
12.15 C#
ComputeTax.aspx
ComputeTax.aspx source
An sample page showing how to use a custom component.
12.15 VB
SalesTax.vb source
A simple sample component.
12.15 VB
ComputeTaxVB.aspx
ComputeTaxVB.aspx source
An sample page showing how to use a custom component.
About Que
|
Privacy
|
Legal Disclaimer
|
Contact Steve