Answered Multi select from a popup dialog

  • domenica 5 agosto 2012 11:52
     
     

    Hi,

    In the contoso construction example, when materials are added to a project it is done by a searchable popup dialog, 1 item at a time. Is there a way to select multiple items (say by having check boxes against items) in the dialog?

    Thanks,

    jon.

Tutte le risposte

  • domenica 5 agosto 2012 12:46
     
     

    Hi

    Yes there is a way but you can't do it by using lightswitch Modal Window Picker (popup dialog). You have to use you own custom silverlight control or any third party silverlight control to complete this task.

    Regards


    Rashmi Ranjan Panigrahi
    www.lightswitchspecial.com

    If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”.
    This will help other users to find their answer quickly.

  • domenica 5 agosto 2012 15:09
    Moderatore
     
     Con risposta
    No, you can't do multiple select in a built-in Modal Dialog control. You could simulate one by creating your own popup window by using a custom Modal Window, using the ModalWindow control (one of LS's controls, it's not a custom Silverlight control), in conjunction with the technique that I talked about for a DataGrid in this article: How To Enable Multiple Row Selection In LightSwitch's Grids.

    Yann - LightSwitch Central - Click here for FREE Themes, Controls, Types and Commands
     
    If you find a reply helpful, please click "Vote as Helpful", if a reply answers your question, please click "Mark as Answer"
     
    By doing this you'll help people find answers faster.

    • Contrassegnato come risposta Joneboy martedì 7 agosto 2012 09:38
    •  
  • martedì 7 agosto 2012 09:39
     
     
    Thanks Yann - excellent stuff.
  • martedì 7 agosto 2012 12:11
    Moderatore
     
     
    You're welcome.

    Yann - LightSwitch Central - Click here for FREE Themes, Controls, Types and Commands
     
    If you find a reply helpful, please click "Vote as Helpful", if a reply answers your question, please click "Mark as Answer"
     
    By doing this you'll help people find answers faster.