tags:

views:

63

answers:

1

when and where we will use user control ? actually i want to ask it's best practices.

i have read on msdn about user control there it was written .

At times, you might need functionality in a control that is not provided by the built-in ASP.NET Web server controls. In those cases, you can create your own controls. You have two options. You can create: "User controls= User controls are containers into which you can put markup and Web server controls. You can then treat the user control as a unit and define properties and methods for it."

i confused from first statement ? what he want to say ?

A: 

When we want to reuse code.

klausbyskov