I have 3 ultrawebtabs containing duplicate ultrawebgrids with different data sets.
I added a checkbox column to the grid as the first column to handle some selective client
side cell edits. My Problem is that all my Database Updates are handled using the UpdateRowBatch event
and CLICKING THE CHECKBOX TOGGLES THE UPDATEROWBATCH EVENT. I have tried every possible
column option for the checkbox, setting the value of the checkbox cell back to it's original value.
Nothing seems to stop the UpdateRow_Batch from triggering. The user can click the header
and toggle all checkboxes on and off which has the result of setting all rows to need an update.
To cancel the postback seems not to be an option because I need to postback when the user
changes TABS to access the other grids.
Any help would be appreciated..... Thanks
vinod_ecs
For what it' worth ended up doing the followng work around.
I added a hidden column to the grid called UpdateRow defult to 0.
I then added a conditonal IF in the update_row_batch server event to check this flag and if not
set to 1 then exit sub.
I then created a little functon that sets that flag from Javascript , MakeRowDirty.
I then call that functon from the AfterCellUpdate JS event for every cell update except the
checkbox.
good luck
Hi i am facing same problem, can you please describe more how to solve this thing without making a trip to server. using ajax or javascript
Hi,
After going through the description, I think you are not using AJAX and handling the UpdateRowBatch event to update the database. The UpdateRowBatch event is only triggered when a postback occurs after changes have been made to the grid. I was wondering how you are managing the postback. The checkbox column is a Template Column or the column type is of checkbox.
Please provide as much detail description of the issue including the version of software you are using to develop the application.
Thanks
Sarita