Welcome Guest Search | Active Topics | Sign In | Register

ProgressBar - Backgrounds (Left,Center,Right) not showing in Gridview Options
smagin
Posted: Monday, April 19, 2010 5:33:21 PM
Rank: Newbie
Groups: Member

Joined: 4/19/2010
Posts: 2
Hi, using VS 2010 Express and developing a simple page to read from an Oracle database and then for each row, have a column that displays a % (done) using the Progress Bar. I will either be using a page refresh or update panel to refresh the page on a given interval (60 secs, etc). The install of the tools failed in 2010 and had to add the item manually.

I am able to add the Progress Bar to the gridview column in the Item Template, binding the value to the % field in row. Using the Vista Style I am seeing the green (%) bar and its working fine, but none of the background graphics are working, instead just showing the placeholders with the red X's through them. I have added the images in the demo to the images folder in my project, I had tried both using the canned number values for backgrounds as well as hard coded paths (BackgroundImage="~/_images/ProgressBar/Vista/bg.gif" ), and also CSS.

If I add another outside of the gridview, it works fine using any of the above methods to assign the background images. If I then cut and paste the working code (from outside the gridview) and use it inside, it breaks the images again.



Any thoughts?

eo_support
Posted: Tuesday, April 20, 2010 5:48:42 AM
Rank: Administration
Groups: Administration

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

Please check your CSS styles. We tested placing ProgressBar inside a GridView without any style and it works fine. So you may want to try without any style and see if it works.

Thanks
smagin
Posted: Tuesday, April 20, 2010 11:29:30 AM
Rank: Newbie
Groups: Member

Joined: 4/19/2010
Posts: 2
OK, I think that is it. I removed the link to the CSS sheet on the gridview and it appears OK now. Is it an issue where you cannot apply CSS to a gridview at all or there just may be some conflicting style that needs to be resolved?
eo_support
Posted: Tuesday, April 20, 2010 2:18:18 PM
Rank: Administration
Groups: Administration

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

This is a CSS conflict. You will need to remove/adjust some of your CSS rules to resolve this issue.

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.