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
How can I print using a Clipper (DOS) application under Windows 7
Unicode/STL/Varargs problem
Web Services Cross Browser Support
Purge Deleted items from database immediatly after message recall
How do I remove special characters in a query?
Calling a secure web servie with WCF client
Mixed tooltips using AddTool (GetDlgItem (IDC_THIS), IDC_THIS) and AddTool (this, LPSTR_TEXTCALLBACK) how to.
Cannot use remote executables after I upgraded to R2
method 'activeprinter' of object'_application' failed
Dropdowns in grid view 'edit item template' not working