I have some code that i use in a winforms application.
For Each r As Infragistics.Win.UltraWinGrid.UltraGridRow In ParameterGrid.Rows r.Cells("PromptText").Value = r.Cells("ParameterFieldName").Text
I am trying to convert this to work on a ultrawebgrid in an asp.net application
using 9.2 with latest sr targeting net 2.0
can someone help me out with the correct syntax?
HI,
I went with a different method. but i see your suggestion would have worked. thanks.
Daryl,
Please let me know if you have any question.
Sam
In ultraWebGrid you can handle InitializeRow event and use a similar code as you had to change the value such as:
protected void UltraWebGrid1_InitializeRow(object sender, RowEventArgs e) { foreach (UltraGridCell cell in e.Row.Cells) { e.Row.Cells.FromKey("PromptText").Value = "CHANGED"; } }
Let me know if it worked for you.
Sincerely,