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

TextBox Validating - Button Firing

Status
Not open for further replies.

kafmil

Technical User
Jul 15, 2002
71
AU
I am using the TextBox_Validating method to validate controls on my page which is working fine. The problem is that it doesn't fire if i change the text through code when another control is changed(ie change the text in textbox when a calender control changes value). The validating method fires if i click the submit button straight after this changing the text programmatically. When the validating method has been vinished the click event doesn't fire. Does anyone know how to fix this.
So basically I change the textbox.text when a calender control changes value, validating doesn't fire, then i click submit, the validating method fires but submit.click doesn't fire.

Any help would be fantastic.
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top