Webgrid 7 R2 combine client and server events

1 reply. Last post: December 29, 2009 4:46 AM by Andi Santoso
Tags :
  • New Discussion
  • New Question
  • New Product Feedback

Hello,

 

I just have a simple question...

Is it possible to execute client events before server events with updateRow event of the webgrid ?

I have a webgrid with OnUpdateRow server events defined :

 

<cc4:WebGrid ID="grdInputSamples" 
                    DataSourceID="dsInputSamples" runat="server"
                    UseDefaultStyle="True" Width="100%" DefaultStyleMode="Elegant"
                    OnInitializeRow="grdInputSamples_InitializeRow"
                    OnUpdateRow="grdInputSamples_UpdateRow"
                    OnDeleteRow="grdInputSamples_DeleteRow">
                    <LayoutSettings AllowColumnMove="Yes"
                                    AllowSorting="Yes" 
                                    PagingMode="ClassicPaging"
                                    AllowFilter="Yes" 
                                    AutoFilterSuggestion="True" 
                                    ShowFilterStatus="True"
                                    AllowEdit="Yes" 
                                    AllowDelete="Yes">
                        
                    </LayoutSettings>

and I would like to define a client event as well like :

function UpdateRow(id)
{
...
}

but this function isn't called...

Is it possible to do that?

 

Nicolas

All times are GMT -5. The time now is 5:43 PM.
Previous Next