I want to make a progress bar in the asp web, but the web doesnt have progress bar control like in form application. So I use a label with color to made up for that.
Example: when receive a value like 26. the label width change to 26px, but it seem like asp doesnt allow you to bind value to a label width.
My code as follow
Width='<%# DataBinder.Eval(Container, "DataItem.floatProgress") %>'
when building the site, it return an error said "Specified cast is not valid.".(I tried "Text" instead of "Width" and it did return 26 though)
What should I do to control the label width ? Or better what should I do to make a progress bar like that ? Any help is appreciated.
And lastly, im sorry for my terrible english
...
Go to the complete details ...