---
title: "How can i invoke AspxGridView Update"  
description: "How can i invoke AspxGridView Update"  
author: "Royce Roy"  
published: 2014-08-23  
updated: 2014-08-23  
canonical: https://www.mindstick.com/forum/2112/how-can-i-invoke-aspxgridview-update  
category: "asp.net"  
tags: ["asp.net"]  
reading_time: 1 minute  

---

# How can i invoke AspxGridView Update

I want to know if I can [invoke](https://www.mindstick.com/interview/983/how-will-you-invoke-any-external-process-in-java) AspxGridView [update](https://www.mindstick.com/forum/156353/what-is-hummingbird-update). I [catch](https://www.mindstick.com/forum/159341/how-to-use-try-and-catch-in-java-for-exception-handling-and-what-happens-when-an-exception-occurs) a [data](https://www.mindstick.com/articles/13050/salesforce-aiming-to-dominate-predictive-analytics-with-data-science) on AspxGridView Focused [Row](https://www.mindstick.com/forum/1212/this-row-already-belongs-to-this-table) in [server side](https://www.mindstick.com/forum/318/how-to-call-javascript-fuction-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?

## Replies

### Reply by Sumit Kesarwani

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;                           
}                         
})                       
}" />
```


---

Original Source: https://www.mindstick.com/forum/2112/how-can-i-invoke-aspxgridview-update

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
