Welcome Guest Search | Active Topics | Sign In | Register

Error regarding ProgressBar Options
Srujan
Posted: Tuesday, February 10, 2009 7:47:01 AM
Rank: Newbie
Groups: Member

Joined: 2/10/2009
Posts: 2
Hai Everybody,

I am using Progressbar control in my application when i am redirecting from one page to another page. In the Button_Click event handler i have written the code

Response.Redirect("xyz.aspx");

When i run the application, the control is not even comming into the subroutine block.

My Code:

protected void Button1_Click(object sender, EventArgs e)
{
Response.Redirect("xyz.aspx");
}

protected void ProgressBar1_RunTask(object sender, EO.Web.ProgressTaskEventArgs e)
{

for (int i = 0; i < 99; i++)
{

if (e.IsStopped)
break;

}

e.UpdateProgress(100, "null");
}

Can anybody please help where i am going wrong.

Thanks in advance
Srujan
eo_support
Posted: Tuesday, February 10, 2009 8:26:56 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

I do not see how code in Button1_Click can have an effect if it is not called. If it is indeed called, then the question would be why it is called when you want to run the progress bar?

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.