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!

Has this happened to you (funky button firing)?

Status
Not open for further replies.

jfrost10

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

A buddy of mine has found this same problem, and just wondering if anyone else has found it too (not sure if its a bug, or if we're the bugs ;) )

When you click on a command button, the first time it does nothing, but the second time it fires. He had this happen with just a button on a form, and I'm having it happen with buttons in my datagrid. Anyone else have problems with the buttons?

Thanks,
Jack
 
Update: I fixed my problem, but he hasn't
;)

Mine was merely moving the datagrid.databind code from each of the command subs (edit, cancel, update) to one function that gets called from each, but also fills a dataset and assigns that to the datagrids datasource.

If none of that made sense, try playing around with a datagrid for a bit...it might come in useful down the road.
;)

Jack
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top