M
mablejune
HtmlForm frm = (HtmlForm)Master.FindControl("formMain");
frm.DefaultButton = "btnSubmit";
txtCall.Focus();
Running this code produces the following error message:
The DefaultButton of 'formMain' must be the ID of a control of type
IButtonControl.
btnSubmit is a System.Web.UI.WebControls.Button which implements
IButtonControl.
Is this a bug?
frm.DefaultButton = "btnSubmit";
txtCall.Focus();
Running this code produces the following error message:
The DefaultButton of 'formMain' must be the ID of a control of type
IButtonControl.
btnSubmit is a System.Web.UI.WebControls.Button which implements
IButtonControl.
Is this a bug?