Hi
you can access Textbox from user control like
UserControl1 ucl = (UserControl1) MyUserControl;
TextBox txt = uc1.FindControl("txtUserName");
Updated Answer:
You can put Textbox inside the panel and set
DefaultButton="btnSearch" to your button id
btnsearch is id of button
Please do let me know, if you have any doubt.
Please provide "
Vote":thumbsup: if this would be helpful, and make "
Accept Answer" if this would be correct answer.:rose:
Thanks,
Imdadhusen