hi all,
i have 3 buttons : edit,delete and update. i have a datagrid control which displays some records based on some input like date. if i check on a row in the datagrid then only edit and delete buttons are enabled. i can edit the data in the row or i can delete the row. this is working fine, but if i check on more than on row in the datagrid, my edit functionality doesn't work as it takes the last row and populates the fields with it. so i want to disable the edit button when more than one checkbox is clicked. i should only have the option to delete records when more than one checkbox are clicked. how to perform this. i have written a javascript function to get the object id of the row selected in the datagrid. how to achieve this. any idea please.................