an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > Summary View based on Query
Last Post 3/1/2010 3:14:41 PM By Bahram. 5 replies.
2/26/2010 2:06:40 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Summary View based on Query
 Hi Luke,
 
I want to have a Summary List, but instead of Selected by Category, My custom query generates the list. I want to make it as reusable block.
Please help me whicj ascx file I should use?
 
Thanks,
 
2/26/2010 3:34:58 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Summary View based on Query
Take a look at this blog entry.
DotShoppingCart Staff
2/27/2010 9:09:18 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Summary View based on Query
This is the step for using the user control.
 
First I need to create the code for Summary View of products based on my query and not the Category selected.
Which ascx I should start with ?
 
Thanks,
3/1/2010 11:43:28 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Summary View based on Query
Take a look at web\store\blocks\ProductList.ascx . It shows Featured, Sale and New products. You can extend it to have your query.
DotShoppingCart Staff
3/1/2010 2:12:36 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Summary View based on Query

  I created a duplicate of ProductList called ProductApplication, Inserted the entrees in BlockType and Added the Block using PageEditor.

 
But Nothing shows, How Can I feed Query? I think ManufactureList is better Doing this Job.
3/1/2010 3:14:41 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Summary View based on Query
I used  ManufactureList for Doing this Job. It has icons or image, which my Applications also have images.
 
How Can I add data source to this LINQ : DotShoppingCart.Commercial.Core.DSCComDataSourceDataContext , It is readonly
 
 
I had to use a data control with connection string directly connected to my table.