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
Xbox 360 and wired networking
How to improve the performance of conditional formatting
How do I replace RunCommand acCmdImport in Access 2007?
Add a grouping to a report between page header and first grouping
export specific contacts in outlook 2007 to csv
VB program connecting to Access DB - arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
Visual Studio 2008 SP1 Install Issue
Windows SharePoint Services Search Required on Farm, not running Stopping
SelectSingleNode question
Install a CA on Windows Server 2008 R2 Server Core