hi
i want to findcontrol of a textbox in radgrid itemtemplate in button event
i have done this but getting an exception
i want to findcontrol of a textbox in radgrid itemtemplate in button event
i have done this but getting an exception
protected void btnSave_Click(object sender, EventArgs e)
{
Button btnSave = (Button)sender;
GridHeaderItem item1 = ((GridHeaderItem)(btnSave.NamingContainer));
RadNumericTextBox txtQty = (RadNumericTextBox)item1.FindControl("txtQty");
RadNumericTextBox txtAmount = (RadNumericTextBox)item1.FindControl("txtAmount");
RadNumericTextBox txtlicenseFee = (RadNumericTextBox)item1.FindControl("txtlicensefee");
}