Click here to Skip to main content
15,904,339 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

Is it possible to auto refresh the contents of text box or a table without refreshing the web form background.I mean i am having a web form with a no. of text boxes which should to update every five seconds.
I kept a image in the background, every time when refreshing the image was flashing.i am using
"
<head><meta http-equiv="Refresh" content="5" /></head>
"
Posted

i hope you are asking in ASP.NET, please mention the Tags clearly here after.

C#
private void Page_Load(object sender, System.EventArgs e)
{
   BindControlsData();
}

private void BindControlsData()
{
 //Code to assign values to textbox

}
this will solve your issue.
 
Share this answer
 
v2
hi ...

i do not know about the refresh but i can guide you that

create one method clear() in which all the data of text box or control like

protected void clear()
{
txtbx1.text="";
lbl1.text="";
image1.src="":
}



thanks
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900