Quantcast
Channel: want to clear textbox after Insert Update ???
Browsing all 6 articles
Browse latest View live

Re: want to clear textbox after Insert Update ???

Hi prontonet,prontonet so to call it use  EmptyTextBoxes()  in the soundimagebuttonclic event block?protected void SoundImageButton1_Click(object sender, EventArgs e) { EmptyTextBoxes(this); }Best...

View Article



Re: want to clear textbox after Insert Update ???

hi,thanksso to call it use  EmptyTextBoxes()  in the soundimagebuttonclic event block?is there a parameter to pass?

View Article

Re: want to clear textbox after Insert Update ???

Hi prontonet,You need to write and call function after SoundImageButton1_Click event: public static void EmptyTextBoxes(Control parent) { foreach (Control c in parent.Controls) { if (c.GetType() ==...

View Article

Re: want to clear textbox after Insert Update ???

Just use this:TextBox2.Text = string.Empty;It will clear the previous data in the TextBox.

View Article

Re: want to clear textbox after Insert Update ???

your textbox must be inside the update panel as only the contents of the update panel will update as part of the post.  Move your update panel and content template open tags ahead of the textbox...

View Article


want to clear textbox after Insert Update ???

hi,I have a texbox and button with onclick event  that calls insert method for objectdatasource.after the update has completed I want to clear the value in the Textbox -a simple Textbox2.Text = ""...

View Article
Browsing all 6 articles
Browse latest View live




Latest Images