when we will use user control? [closed]
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 ?
When we want to reuse code.
精彩评论