Copied to clipboard

Flag this post as spam?

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


  • Rasmus Fjord 675 posts 1566 karma points c-trib
    Jun 25, 2014 @ 10:17
    Rasmus Fjord
    0

    Ordering by custom date property in the "searchOrders.aspx"

    Hey Guys :)

    Inside the searchorders.aspx is it possible that i can order the list by a custom date property that i have inside "properties". Its more relevant for the company to sort by delivery date then "order created". I dont see a sort property on the   <tc:DataboundListView ID="LvOrders" runat="server">

     

    Help me obi 'TC' wan kenobi... your my only hope :P 

     

  • Anders Burla 2560 posts 8256 karma points
    Jun 26, 2014 @ 14:43
    Anders Burla
    0

    I think you can only do that my creating a custom view and overwrite ours. May the force be with you :)

    Kind regards
    Anders

  • Rasmus Fjord 675 posts 1566 karma points c-trib
    Jun 26, 2014 @ 15:05
    Rasmus Fjord
    0

    Bah :(

    Got some code from your current list thingy that you can share here ?

  • Anders Burla 2560 posts 8256 karma points
    Jun 26, 2014 @ 15:14
    Anders Burla
    100

    So if you change your SearchOrders.aspx to inherit from your own class (which the inherit from our SearchOrder class). Then in the view you just need to specify a new method for the BtnSearch_Click - maybe BtnAdvancedSearch_Click. Then make your search in that method. Will send you an email with the code for the search.

    Kind regards
    Anders

  • Rasmus Fjord 675 posts 1566 karma points c-trib
    Jun 26, 2014 @ 15:29
    Rasmus Fjord
    0

    Thx champ ! 

    Will build it asap

Please Sign in or register to post replies

Write your reply to:

Draft