Creating Custom Server Controls
The advantage of creating a custom server control is that you have any functionality to be built in that control and you can have your properties set to it which are customized to your needs in the web application.
There are 3 ways by which you can create a customs control. One is to derive from and existing control and then modify it. The second method is to group the already existing controls into a composite one. And the third is to create a full custom control from the scratch by deriving System.Web.UI.WebControls.WebControl.
be the method to create a custom server control, you will be compiling it to a
DLL and this DLL has to be copied to the /bin directory of the web application
in which it is tested. If you are creating a full custom control then you have
to register this control using a register directive. .
Click Here To Try It FREE for 7 days
| Why should you go for Server Controls | Advantages of using .NET Server Controls | Understanding ASP.NET Server Controls | Creating Web Server Controls | Server Side Controls in ASP.Net | Creating Custom Server Controls | Server Controls in ASP.NET Web Page | Using Html Server Controls in your Web Pages | Understanding Dynamic Server Controls in ASP.NET | Using ASP Server Controls Templates | Developing ASP.NET Server Controls | Setting properties for ASP.NET Custom Server Controls | Implementing ASP.NET Server Side Controls | Creating Professional ASP.NET Server Controls |
Stay Current With the Latest Technology Developments Realted to .NET. Signup for Our Newsletter and Receive New Articles Through Email.