C# ASP.NET Clear TextBox on UserControl

I have a UserControl (rcRushReason) that I have placed in my default.aspx page for my website.  The UserControl (rcRushReason) has a textbox (txtReasonRush) in it that sometimes maintains text that I need to clear.  Is there a way I can click a button on default.aspx to clear the text in rcRushReason.txtReasonRush ?   I will be loading the user control (rcRushReason) with the same button click.
Thanks.
jamesdean666Asked:
Who is Participating?
 
HainKurtSr. System AnalystCommented:
should be

TextBox txt = rcRushReason.FindControl("txtReasonRush");
txt.Text = "";
0
 
HainKurtSr. System AnalystCommented:
maybe you can use findcontrol

dim txt as TextBox = rcRushReason.FindControl("txtReasonRush")
txt.Text = ""
0
 
jamesdean666Author Commented:
Do you know what this would be in C#?
0
 
jamesdean666Author Commented:
Yahtzee.... thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.