Search Forum
(53671 Postings)
Search Site/Articles

Archived Articles
712 Articles

C# Books
C# Consultants
What Is C#?
Download Compiler
Code Archive
Archived Articles
Advertise
Contribute
C# Jobs
Beginners Tutorial
C# Contractors
C# Consulting
Links
C# Manual
Contact Us
Legal

GoDiagram for .NET from Northwoods Software www.nwoods.com


 
Printable Version

ASP.NET Custom Web Control
By Loek van den Ouweland

This ASP.NET custom web control shows some information about the host it runs on. It's an example of how to build custom controls that can be re-used just by dragging them on your web form.

How to use:

Start a new ASP.NET web application:

right click the Toolbar and select 'Customize Toolbox'

  • Select the .NET framework components tab
  • Browse to de DLL provided in the zip-file (/bin/debug/)
  • The component should be added to the component collection, press OK

Now just drag the YourHostInfo component from your toolbox to your web form

Use the property screen if you want to make the following settings:

Now just press F5 and enjoy!

Download Hostinfo.zip

Loek