How I can clear the textboxes in the webbform.
I found the solution like this,
private void EmptyTextBoxValues(Control parent)
foreach (Control c in parent.Controls)
if ((c.Controls.Count > 0))
else if ((c.GetType() == typeof(TextBox)))
((TextBox)(c)).Text = "";
the best and easiest way is to write a single event handler for all textboxes on the form
MAke a linkbutton with name 'clear'
on its button event handler just blank all text boxes resides on the page.
Please see my post vbScript - The Basics for more details on vbScript.
I have all my computers partitioned with two partitions. ...
I have an animation on my webpage where stat numbers count up to reach to a target number. I want this animation to start only when this section scrolls into ...
Some scripts need input (other than from the command line) ...