Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
Unable to retrieve the value from code behing after setting the cell value using setValue
posted

Hi

 I am using ultrawebgrid edit template for editing some values from the row.

I am using the sample from the below link http://samples.infragistics.com/2009.1/WebFeatureBrowser/Default.aspx (RowTemplates).

I done the same way and able to edit the row contenet from the Edit template pop up. 

I am using the below function to update the grid cell values after clicking ok button from the edit template.

function AfterRowTemplateCloseHandler(gridName, rowId) {

var FullName = igtbl_getElementById("uwgClaimsList_ctl00_txtFullName");

gridRow.getCell(1).setValue(FullName.value);

}  

I have a Save button out side the ultrawebgrid to update the grid changes to an object collection.

when I am tried to retrieve the value from the grid cell using

foreach (UltraGridRow row in uwgClaimsList.Rows)

{

  objectCollection[row.Index].FullName = row.Cells.FromKey("FullName").Text;

}

 

The value of the right hand side the same old value before editing using edit template.

Why its not keeping the value when we set using gridRow.getCell(1).setValue(FullName.value);

Regards

Vini