This Forum is ARCHIVE only
For LightSwitch questions,
please use the official forums at:

http://social.msdn.microsoft.com/forums/en-US/lightswitch/threads


How to Create A LightSwitch Popup
Last Post 15 Jun 2011 01:30 PM by admin. 1 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Michael WashingtonUser is Offline
Send Private Message
Posts:1313
Avatar

--
05 Jun 2011 12:33 PM



    Add a Group to the Screen





    Change the Group to a Modal Window





    Give it a name and set the Visibility to False




    Add the items you want on the Popup to the Group




    Add a button (or some other event) and add code:

    #region Respond_Execute
    partial void Respond_Execute()
    {
        this.OpenModalWindow("MyPopup");
    }
    #endregion

    -----------
    Michael Washington
    http://LightSwitchHelpWebsite.com
    Michael WashingtonUser is Offline
    Send Private Message
    Posts:1313
    Avatar

    --
    15 Jun 2011 01:30 PM
    For a complete example see this article:
    http://www.codeproject.com/KB/silve...rSale.aspx
    -----------
    Michael Washington
    http://LightSwitchHelpWebsite.com
    You are not authorized to post a reply.


    Microsoft Visual Studio is a registered trademark of Microsoft Corporation / LightSwitch is a registered trademark of Microsoft Corporation