Hi,
I am reading grid cell values in the UpdateCommand event after the 'update' button on my grid is clicked. This code is working:
var Irn = editableItem["Irn"];
int iIrn = (int)((RadNumericTextBox)Irn.Controls[0]).Value;
But my problem is that I don't know what control type to use when doing the type cast, I mean for text data it comes out as 'System.Web.UI.WebControls.TextBox' which I didn't expect.
Surely there is a better way to do this?
I am reading grid cell values in the UpdateCommand event after the 'update' button on my grid is clicked. This code is working:
var Irn = editableItem["Irn"];
int iIrn = (int)((RadNumericTextBox)Irn.Controls[0]).Value;
But my problem is that I don't know what control type to use when doing the type cast, I mean for text data it comes out as 'System.Web.UI.WebControls.TextBox' which I didn't expect.
Surely there is a better way to do this?