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

custom webcontrol DropDownList

Status
Not open for further replies.

foxycsharpe

Programmer
Nov 6, 2002
2
GB
I trying to find out how I can add an additional method to a dropdownlist control.

When the contol loses its focus I wish some code to fire. I have created a custom control but do not know how to add this functionality.

The code in this method once added will conditionally change the value of a regular expression contained in a validator control.

Any Guidance would be most helpfull.

Regards

 
try looking at controlName.attributes.add(Key as string, Value as string)

The Key is the event you want to use.

Value can be a javascript function etc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top