Hi ,
I am using a label named label1 and the following code for put an image in the label:
protected void Button1_Click(object sender, EventArgs e)
{
string java1 = "var w = document.getElementById('Label1'); w.className += 'lbl';";
Page.ClientScript.RegisterStartupScript(this.GetType(), "java1", java1, true);
}
then for making the pic invisible in label I used the other button with the forecoming code
protected void Button2_Click(object sender, EventArgs e)
{
System.Threading.Thread.Sleep(3000);
string java = "var w1 = document.getElementById('Label1'); w1.className += 'c';";
Page.ClientScript.RegisterStartupScript(this.GetType(), "java", java, true);
Label1.Text = "only for test";
}
and it worked properly but I need to do th ...
Go to the complete details ...