Oct 20, 2004 #1 Komil13 Programmer Sep 26, 2001 50 US Hey guys, I am trying to disable a 'Add' button in the datagrid so that it can only be clicked on once. Any ideas how to implement that? So far, I've tried using the ItemCommand event of the datagrid, but that does not work. Thanks for your help.
Hey guys, I am trying to disable a 'Add' button in the datagrid so that it can only be clicked on once. Any ideas how to implement that? So far, I've tried using the ItemCommand event of the datagrid, but that does not work. Thanks for your help.
Oct 20, 2004 #2 BoulderBum Programmer Jul 11, 2002 2,179 US In the ItemDataBound event handler you can look at your data then enable/disable the button depending on your criteria. Upvote 0 Downvote
In the ItemDataBound event handler you can look at your data then enable/disable the button depending on your criteria.
Oct 20, 2004 #3 jzelhart Programmer Feb 10, 2003 469 US Why don't you try a normal button outside of the grid. You can then disable it after it has been ran. Hope everyone is having a great day! Thanks - Jennifer Upvote 0 Downvote
Why don't you try a normal button outside of the grid. You can then disable it after it has been ran. Hope everyone is having a great day! Thanks - Jennifer