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?
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.
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.
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?
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
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.You can't do a bit like this?
<%# Eval( "Properties[\"YourProperty\"]" ) %>
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.
is working on a reply...