HOW CAN I INVOKE ASPXGRIDVIEW UPDATE

Royce Roy

Total Post:149

Points:1043
Posted by  Royce Roy
 1334  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. Sumit Kesarwani

    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;

                                }

                              })

                            }" />

Answer

NEWSLETTER

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