Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
285
Server rowupdating event executes on UnboundCheckBoxField check/unchecked
posted

In WebDataGrid control am having UnboundCheckBoxField. and rowupdating event get executed on check/unchecked, how to avoid this. I am having Delete button at the bottom, and need to select multiple checkboxes and then press delete

pls guide, its very urgent...

Thanks

Parents
  • 37874
    posted

    Hi Hemant Arte,

    It has been some time since your post but in case you still need assistance I will be glad to help.

    This could be caused by activation behavior. If you have activation enabled, you could handle the ActiveCellChanged client-side event and check if the new active cell is in checkbox column. If it is, cancel the event:

    function WebDataGrid1_Activation_ActiveCellChanging(sender, eventArgs)

    {

        var columnKey = eventArgs.getNewActiveCell().get_column().get_key();

        if (columnKey == "Check") {

            eventArgs.set_cancel(true);

        }

    }

    Please let me know if this is the case and if the suggested solution helps.

Reply Children
No Data