Hello, i'm new to this forum..
I have a question: I would like to know how pass data to EditForm.ascx during itemcommand event?
in the code below you can see what i'm trying to do
if (e.CommandName == RadGrid.InitInsertCommandName)
{
e.Canceled = true;
GridKASKO.EditIndexes.Clear();
e.Item.OwnerTableView.EditFormSettings.UserControlName = "~mypath\\InsertTax.ascx";
// I WANT TO PASS a VALUE INTO InsertTax.ascx
e.Item.OwnerTableView.InsertItem();
}
else if (e.CommandName == RadGrid.EditCommandName)
{
e.Item.OwnerTableView.IsItemInserted = false;
e.Item.OwnerTableView.EditFormSettings.UserControlName = "~mypath\\EditTax.ascx";
}
Thanks in advance,