ASP.NET Custom Web Control


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

 

How to use:

Start a new ASP.NET web application:

how to1 ASP.NET Custom Web Control

right click the Toolbar and select 'Customize Toolbox'

how to2 ASP.NET Custom Web Control

  • 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

add ASP.NET Custom Web Control

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

how to3 ASP.NET Custom Web Control

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

how to4 ASP.NET Custom Web Control

Now just press F5 and enjoy!

Download Hostinfo.zip

Most Commented Articles :

Twitter Digg Delicious Stumbleupon Technorati Facebook Email

No comments yet... Be the first to leave a reply!