What is Custom Control in ASP.NET and how to use it

Last Reply on Jul 25, 2014 05:46 AM By Mudassar

Posted on Jul 25, 2014 05:45 AM

What is Custom Control in ASP.NET? (Definition with Example)

Why it is used and what are the advantages of using custom controls?

How it is different from other ASP.NET controls?

 

Please explain the above in simple words.

Please reply.

Posted on Jul 25, 2014 05:46 AM

Custom Control is nothing but controls build upon the basic ASP.Net Control.

Like For example you can build a GridView with some features you want.

For example a GridView with Delete Confirmation

And then compile it into a DLL and then add reference and use it.

http://www.tutorialspoint.com/asp.net/asp.net_custom_controls.htm

http://www.codeproject.com/Articles/28783/Your-First-ASP-NET-Custom-Control