Microsoft
Software
Hardware
Network
Question : 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.
Answer : C# ASP.NET Clear TextBox on UserControl
should be
TextBox txt = rcRushReason.FindControl("
txtReasonR
ush");
txt.Text = "";
Random Solutions
Dropdownlist change, does not change textboxes
How to restrict navteq map only for uk?
Exchange server 2007
DBNETLIB][ConnectionOpen(C<wbr />onnect()).<wbr />]Specified<wbr /> SQL server not found. MADNESS
Reporting Services - Key not valid for use in specified state
disassociate a Label from a Text box
Outlook folders mysteriously missing
How to open document in Flash Drive from Silverlight Application in drive
How do I convert a string with commas into a double?
max of date