Click here to Skip to main content
15,891,943 members
Please Sign up or sign in to vote.
3.67/5 (2 votes)
Hai, in home page it attached to master page in that if i click the button then it shows the progress bar next page it is also attached to the master page how can i do can u suggest me thanks in advance....
Posted
Comments
njammy 10-Jan-14 20:11pm    
Please explain your current page and next page more clearly, i.e. what do they do? What do you want to show in the progress bar?

As far as I know progress bar cannot be used like this. You can however show it, but it will disappear because the page is changing due to postback or redirect. Progress bar is usually for 'Loading...' message when user stays on same page and updates or loads something.
Kees van Spelde 11-Jan-14 9:17am    
Your question is very fuzzy. Describe in a better way what exactly you want to do. In ASP.NET you only can give some values to another page with Session variables or through URL query parameters.

1 solution

first u take progress bar and put in home page and then click button and open your master page. i will take frmSaleregistersummeryprint that is ur master page name you give ok.

private void btnProcess_Click(object sender, EventArgs e)
{
progressBar1.Maximum = 100000;
progressBar1.Step = 1;

for (int j = 0; j < 100000; j++)
{
progressBar1.PerformStep();
}
frmSaleregistersummeryprint obj = new frmSaleregistersummeryprint();
obj.Show();
}
 
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