WebGrid - changing values of cell client side

2 replies. Last post: November 11, 2010 10:07 PM by Niven Prasetya
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
T LusbyMember

I have two columns that are both TextBox.  Column A is editable and Column B is set to

EditType="NoEdit".

EditType="NoEdit".

In the function OnCellValidate I locate the cell for Column B and I want to set the value and text.  However, it's not setting the values.

selectedRow.GetCells().GetNamedItem("TaxCodeDesc").SetText("Test here", true); selectedRow.GetCells().GetNamedItem("TaxCodeDesc").SetValue("0");

If the column is set to EditType="TextBox" the above code works. 

Why?

 

 

All times are GMT -5. The time now is 3:12 AM.
Previous Next