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
What is the best site for learning with either books or videos
Stop comments from printing in Word 2007
Computer Description Permission of Domain user
Is there a way to have excel notify you of a change made on a particular spreadsheet?
Access Calendar Control Help
How to convert this VB.NET code to VC# code?
MS Access table with variable number of fields - adding field values
Normal.dot NOT set to read-only, but i cannot delete or rename it
Question about Win7 x64 and 32-bit programs.
SQL Delete Syntax