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
Report from Crosstab Query
Combining strings and converting to Date-Time...?
Imported Excel spreadsheet null values unsearchable in Access
WordPerfect 10 hangs when opening some documents.
Vista not Browsing but connected
How do I count the number of set flags in a bitmask?
Changing DNS address of Netowork interface Card using windows script.
SBS08 - RWW - FQDN - Can't Get it to Work?
Error in report vba
Importing a WAB address book