This question is locked. New answers and comments are not allowed.
Hello,
Using VS2010 and MVC2.
I have a grid with AJAX binding. The grid has 3 columns: Name(string), Active(boolean) and the last column has a Delete button. In order to make it simple, we decided to do the editing with a dialogbox. So on the onRowSelected, I open the Dialogbox and it works really well.
But in the last column, there is a delete button. The delete button appears only on specific rows depending if the record can be deleted or not... I do that with the OnRowDataBound event. And again, it works beautifully...
Now here is my problem. When I click on the button, the OnRowSelected if fired... So before I do the Dialog.open(), I would like to know if the button has been clicked or not.
Is there a way to know which column has been clicked... or the position of the mouse when the click occured.. or if a button has been clicked...
I thank you in advance for any help.
Using VS2010 and MVC2.
I have a grid with AJAX binding. The grid has 3 columns: Name(string), Active(boolean) and the last column has a Delete button. In order to make it simple, we decided to do the editing with a dialogbox. So on the onRowSelected, I open the Dialogbox and it works really well.
But in the last column, there is a delete button. The delete button appears only on specific rows depending if the record can be deleted or not... I do that with the OnRowDataBound event. And again, it works beautifully...
Now here is my problem. When I click on the button, the OnRowSelected if fired... So before I do the Dialog.open(), I would like to know if the button has been clicked or not.
Is there a way to know which column has been clicked... or the position of the mouse when the click occured.. or if a button has been clicked...
I thank you in advance for any help.