I have one more weird problem I am enabled just two cells within the grid after the user clicks on the button. These cells become editable and when the user leaves cell one it commits the changes to the row. I would like to have the changes not commit until the user hits the cell push button again. Is this possible?
thanks again
>Thanks that worked. I just moved everything I had in the prepareviewstyle event into that one and I was retrieving the correct button text depending on the row and what was clicked.
Thanks
>Hi John,
You can handle the Model.QueryCellInfo event of the griddataboundgrid and set the e.Style.Description as data that you want it to be displayed for the pushbutton cells in grid. Please refer the attached sample for implementation.
Here is a sample that show you "How to change push button text on click?".
PushButton_DataGrid.zipBest regards,
Haneef