Con risposta Filter with the option to choose more than one item

  • Saturday, May 12, 2012 8:05 AM
     
     

    Hi,

    I need a filter with a choice of more than one item, like a listbox?

All Replies

  • Saturday, May 12, 2012 8:25 AM
     
     Proposed

    You would have to build that yourself, probably using a custom control for the checked list box, as LightSwitch doesn't include a checked list box control as standard.

    You can, however, use the standard LightSwitch filter control, and enter multiple terms separated by OR.

    EG
    Where FruitType = Orange
         Or FruitType = Apple
         Or FruitType = Grape


    Simon Jones
    If you found this post helpful, please "Vote as Helpful". If it actually answered your question, please remember to "Mark as Answer". This will help other people find answers to their problems more quickly.

  • Saturday, May 12, 2012 9:20 AM
     
     

    Thanks for the quick reply.

    Can you refer me to, for example, or a video about it or what do you think I should Search to find an example that

  • Saturday, May 12, 2012 9:32 AM
     
     Answered

    Here's a link to the Filter control.

    http://code.msdn.microsoft.com/Filter-Control-for-Visual-90fb8e93

    To learn more about LightSwitch, start here http://msdn.microsoft.com/en-us/lightswitch/ff938857


    Simon Jones
    If you found this post helpful, please "Vote as Helpful". If it actually answered your question, please remember to "Mark as Answer". This will help other people find answers to their problems more quickly.