jamesdean666
asked on
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.
Thanks.
ASKER
Do you know what this would be in C#?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yahtzee.... thanks.
dim txt as TextBox = rcRushReason.FindControl("
txt.Text = ""