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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a New Text Box Class

Status
Not open for further replies.

jfrost10

Programmer
Jun 3, 2001
2,004
CA
Hey guys,

Got an interesting project that I'd love your input on:

I find myself needing the web controls to have some sort of extra "Key" property, kinda like the old VB6 controls had, so that I can uniquely identify each control (the id property just doesn't cut it).

Anyone have any ideas, thoughts, or experience with inheriting from an existing control class, but adding more to it and creating your own (and I don't really mean a user control, as I don't want a whole page, just the text box)

Thanks guys,

Jack
 
hi jack,

well, jack, i don't think a user control is always meant to be a whole page :)... in my project, i've already used lots of user control just to make one control that have a new property just like the case you're in now :)... in my opinion, user control isn't that bad after all :)

well, actually, there's another way of creating control on the web besides using usercontrol, you can create a web custom control in your case :) just try it jack
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top