Packslips Label Control Names Wrong?

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
egormsen
Captain (CAPT)
Captain (CAPT)
Posts: 236
Joined: Fri May 16, 2008 9:16 am

Packslips Label Control Names Wrong?

Post by egormsen » Fri Apr 26, 2013 10:44 am

We are working on moving our customization from our 7.0.7 store to Gold R4. When I started looking into the PackSlips.aspx and .cs files I think there are couple of labels that appear to be not named correctly in the code behind file.

The following two lines are in PackSlips.apx.cs:

Code: Select all

  Label ShipmentLabel = e.Item.FindControl("ShipmentLabel") as Label;
  Label ShipmentCountLabel = e.Item.FindControl("ShipmentCountLabel") as Label;
But when I look in the aspx page those labels are not found:

Looking at the aspx page is look like they possibly are supposed to be refering to these labels?

Code: Select all

 <h2><asp:Label ID="PrintCaption" runat="server" Text="Packing Slip"></asp:Label></h2>
 <asp:Label ID="ShipmentNumberLabel" runat="server" Text="Shipment Number:" SkinID="FieldHeader"></asp:Label>
Can someone confirm this?

Thanks,
Eldon Gormsen
Weigh Down Ministries
AC Gold R12 SR1
http://store.weighdown.com

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Packslips Label Control Names Wrong?

Post by mazhar » Tue Apr 30, 2013 9:22 am

I just confirmed. This seems to be unused code which is no longer relevant. I am going to report this for cleanup thanks for pointing.

Post Reply