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
|
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!
|