an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > Order Items Grid Template Do not accepts Autofo...
Last Post 2/22/2011 3:39:40 PM By Bahram. 5 replies.
2/16/2011 3:07:42 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Order Items Grid Template Do not accepts Autoformat
 Hi Luke,
 
You did not answere my previous formatting question. Now I have this one:
 
When I change format of OrderItems Template with Autoformat, it will show on Design window. But not on the site when running.
 
That is on MyAccount  - My Ordrs - Orderdetails  and Print Invoice.
 
The Grid format is shown by default colours.
 
Bahram
2/17/2011 9:37:49 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Order Items Grid Template Do not accepts Autoformat
Use FireFox and FireBug to debug any css related issue.
DotShoppingCart Staff
2/17/2011 11:11:52 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Order Items Grid Template Do not accepts Autoformat
There is no CSS issue.
 
Grids are of class DSCGridView which is in DotShoppingCart.Commercial.WebControls 
 
So it retains the default attributes and not the attributes in the ascx source code
2/18/2011 9:24:21 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Order Items Grid Template Do not accepts Autoformat
First check if DSCGridView is using css. If so, you can just adjust default.css. Otherwise you will then customize DSCGridView or roll your own grid.
DotShoppingCart Staff
2/21/2011 1:57:43 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Order Items Grid Template Do not accepts Autoformat
 DSCGridview is a control defined by DSC (you) and it may be an ASP UI control. why you ask me if it uses CSS?
 
I uses it same as it come from package. The acsx code shows no css. The Autoformat which provides ssome predifined format does not work completely.
 
Some formats are working while some others do not.
 
 
 
2/22/2011 3:39:40 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Order Items Grid Template Do not accepts Autoformat
 It seems you do not accept the formatting bugs in DCS.
 
 I logged nto my account on DSC site and see my Invoice . When I click print Invoice .  All the background is Dark Blue and fonts are black so invoice is not readable.
 
Try to change the color format of Order Items to any formt like Rainy Day or Sand & Sky and you will see Rainy Day is not effected while Sand & sky does.
 
I also used SectionHeader and SectionHeaderNoBacground. on two captions of OrderItems . I made the two class the same. but one is showd black the other white background
 
Bahram