Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreOrder details grid does not display all itmesOrder details grid does not display all itmes
Previous
 
Next
New Post
8/8/2007 5:43 AM
 

Hi to all,

I am using DNN 4.5.3 framework and have installed the WW Store 02.00.08 module.

I' ve noticed that when navigating to the order's history page for a selected order,  only the first  order item is displayed  on the  order  items datagrid.

This is caused due to the fact that inside the CustomerOrders::grdOrderDetails_ItemDataBound event, the datagrid binds only to items of type ListItemType.Item. The items of type ListItemType.AlternatingItem are not binded.

So, has anyone else noticed something familiar or is it something giong wrong on my implementation?

Would , a possible solution be to bind also the ListItemType.AlternatingItem item types?

if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem) {...}

 
New Post
8/9/2007 3:21 AM
 

Hi,

You're true, the ListItemType.AlternatingItem is not binded. I think developper team will change this in the next release. Gilles know this bug, french community (dotnetnuke.fr) have already found it few weeks ago.

 
New Post
8/9/2007 7:01 AM
 

Hi,

You'r right! All order items are displayed, but without Price and Subtotal for alternate items. :-(

This will be corrected in the next version. You can add the code suggested (|| e.Item.ItemType == ListItemType.AlternatingItem), this correct the problem. 

Gilles


We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
New Post
9/3/2007 4:35 PM
 

Gilles, I've noticed this issue too. In advance of the next release, where would that code need to be added, in the ascx file or is that something that needs to go on the code-behind ?

Thx.

John

 
New Post
9/3/2007 6:28 PM
 

Hi John,

This must be corrected inside the code behind. Open the file CustomerOrders.ascx.cs and go to the line number 228. Add the part in red below:

if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)

Rebuild the solution, that"s all!

Gilles


We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreOrder details grid does not display all itmesOrder details grid does not display all itmes


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out