Home > DeveloperSection > Forums > How can i invoke AspxGridView Update
Royce Roy
Royce Roy

Total Post:134

Points:938
Posted on    August-23-2014 8:28 AM

 ASP.Net ASP.Net 
Ratings:


 1 Reply(s)
 986  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?



Sumit Kesarwani

Total Post:378

Points:2694
Posted on    August-23-2014 8:39 AM

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;

                            }

                          })

                        }" />


Don't want to miss updates? Please click the below button!

Follow MindStick