We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Platform : ASP.NET
Category : Custom Controls

How can I create a server control?

The below example is a demonstration of a simple server control which creates a Text Box.

Follow the below steps to create a new server control.

  1. Open VS.NET 2005.
  2. In File->New Select the Project submenu.
  3. In the Dialog window ,Select the Window, and select the WebControlLibrary.
  4. Select an appropriate path and give a name as TextControl, to create a new server control.
Here is an article from ftp online: Build an ASP.NET Server Control that explains how to build a "Login Control".

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.