How can i invoke AspxGridView Update

Total Post:149

Points:1043
 1613  View(s)
Ratings:
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. Post:378

    Points:2694
    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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!