All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Hi Team,
I need to get the GridBoundColumn values into the new record row when we click the Add Record button.
I am able to find the previous values of lables under GridTemplateColumn but above mention is not clear.
Please let me know how it could be handled.
Regards
SS Bhogal
protected
void
RadGrid1_InsertCommand(
object
sender, GridCommandEventArgs e)
{
GridEditFormInsertItem item = (GridEditFormInsertItem)e.Item;
TextBox txt = (TextBox)item[
"UniqueName"
].Controls[0];
string
value = txt.Text;
}