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
MS Web Expressions Type Expanding with Window Resize
2 IP 5 Server
IIS6 FTP mget case sensitive
Cross appdomain communication winthin single process on single machine in c#
Terminal Server 2008 does not show a users printers
How do I allow field input from only specific input devices?
Problem installing x86 HP PCL6 driver on Windows 2003 x64 server
Exchange 2007 Storage Groups
Control visible/not based on value of checkbox- subform (continuous)
Stored Procedure Execution Options