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
Running Total for fiscal year
Replacing old windows 2000 DC server with WIndows 2008 R2
what does 554 message refused mean?
Hibernate Exception - Errors in named queries
MS Excel and Word 2003 won't scroll the bottom pane of a split window.
VS 2008: "The designer cannot process the code at line...."
How to Create Field with Autonumber?
Can SQL query using multiple LIKE joins be improved
Using File Dialog to select directory
LDAP Password Unlock/ Reset Error