| 
		
	 | 
	
	
	
		Rank: Newbie Groups: Member
 
 
Joined: 11/14/2008 Posts: 3 
	 | 
		   
	     
		    Hi,
  I have a website where a progressbar is created dynamically in the onload of the page. (see code below) This does work because when I enter the backgroundcolor etc I see the control.
  However when I choose a SkinId this does not work. The bar is there because I see the percentage text but the rest is not showed properly.
  If I put the progressbar directly on the page (not dynamic) then SkinId does work...
  Do I forget something to initialize?
  Kind regards,   Anton Beerens
  code is: EO.Web.ProgressBar myProgressBar = new EO.Web.ProgressBar(); myProgressBar.SkinID = "Windows_Vista"; myProgressBar.Maximum = 100; myProgressBar.Minimum = 0; myProgressBar.Value = 75; myProgressBar.Height = 15; myProgressBar.Width = 100; myProgressBar.Visible = true; myProgressBar.ShowPercentage = true;
  
		 
	 | 
 | 
	
	
	
		Rank: Administration Groups: Administration
 
 
Joined: 5/27/2007 Posts: 24,427 
	 | 
		   
	     
		    Hi,
  Try to move the code from Page_Load into Page_Init and see if that works.
  Thanks!
		 
	 | 
 | 
	
	
	
		Rank: Newbie Groups: Member
 
 
Joined: 11/14/2008 Posts: 3 
	 | 
		   
	     
		    Hi,
  I tried to create the progress bar in the Page_init but the same result. percentage is visible but the bar is not.
  Kind regards,   Anton Beerens
		 
	 | 
 | 
	
	
	
		Rank: Administration Groups: Administration
 
 
Joined: 5/27/2007 Posts: 24,427 
	 | 
		   
	    
		    Hi, You need to use:
 
    
        Code: C#
         
        myProgressBar.ControlSkinID = "Windows_Vista";  
     
 
Instead of:
 
    
        Code: C#
         
        myProgressBar.SkinID = "Windows_Vista";  
     
 
Thanks
		  
	 | 
 | 
	
	
	
		Rank: Newbie Groups: Member
 
 
Joined: 11/14/2008 Posts: 3 
	 | 
		   
	     
		    Hi,
  Thank you very much that works fine!
  Kind regards,   Anton Beerens
		 
	 | 
 |