Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Advantages to Creating Web User Controls?

Status
Not open for further replies.

ceyhorn

Programmer
Nov 20, 2003
93
US
I have looked on the web for articles talking about user controls, but I have not found any that go into an in-depth discussion about functionality. What are other advantages to using web user controls other than reusability in pages?
Thanks in advance for input,

Chris
 
That's pretty much it. If you have common elements in some pages, you won't have to cut and paste 1000 times with a Web User Control; That includes both the markup on the UI, and the functionality in the code-behind.

Controls in general offer the advantage of an event model, easy manipulation of properties on the server, and, often, a simple way to display collections of data without having to build and debug loops, HTML tags, etc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top