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
Mousing Around Win 7
Webcam VX-5000
Error message after installing Ajax and using Editor control
How to make Access 2007 application run on a machine without Access?
Message size limited using SendObject?
Converting an Access Date/Time column's value to a DateTime object
How do I move a worksheet from one spreadsheet to another, while keeping all formulas exactly the same (so it doesn't move the file name with it)?
How do I programically select an item in a list box
Acrobat Activex Control setview method
Access 2003 SELECT Query from two tables base on date