Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kasper Skov 66 posts 346 karma points
    Nov 22, 2013 @ 15:41
    Kasper Skov
    0

    New column in SearchOrders.aspx

    I would like to add a new Column to the order overview table in SearchOrders.aspx. It's a custom property (shipping_company) so I cant get it from the data source of the DataboundListView. Is it possible somehow?

  • Anders Burla 2560 posts 8256 karma points
    Nov 25, 2013 @ 09:16
    Anders Burla
    100

    Hi Kasper

    You can just add the Column to the SearchOrders.aspx file. We bind using the order object so you can get the information you normally get from an order. Just be sure to back up this file before updating TC as we overwrite it.

    Kind regards
    Anders

  • Kasper Skov 66 posts 346 karma points
    Nov 26, 2013 @ 09:35
    Kasper Skov
    0

    I used OrderService to get the property. Works fine. Not sure if that is what you wanted me to do. Because the property can't be found on the Order object.

  • Anders Burla 2560 posts 8256 karma points
    Nov 26, 2013 @ 09:39
    Anders Burla
    0

    You can't do a bit like this?

    <%# Eval( "Properties[\"YourProperty\"]" ) %>

  • Kasper Skov 66 posts 346 karma points
    Nov 26, 2013 @ 10:49
    Kasper Skov
    0

    Oh shit yes I can. I was just under the impression that I had to get properties with .Get() and then get the .value. Thanks alot.

Please Sign in or register to post replies

Write your reply to:

Draft