How can i invoke AspxGridView Update

Posted by  Royce Roy
 1908  View(s)
Rate this:

I want to know if I can invoke AspxGridView update. I catch a data on AspxGridView Focused Row in server side. And if this data equles 0, I want to invoke update for this row. Else if this data equles 1, i want to invoke new row. Is it possible?

  1. Re: How can i invoke AspxGridView Update

    Hi Royce, 

    this is my client side code:

     <ClientSideEvents FocusedRowChanged="function(s,e)                       
                              s.GetRowValues(s.GetFocusedRowIndex(),'FaturaVarmi',function(v){                            switch(v)                            {
                                   case 0:                                                                                                      case 1:
                                   FaturaGrid.StartEditRow(s.GetFocusedRowIndex());                               break;
                            }" />

      Modified On Apr-04-2018 06:32:40 AM