Dialog control RRS feed

  • Question

  • Are there any win control to show a dialog like the xbox music playlist?


    I found the Flyout control, but i need to center the control on the screen like on the screenshot.

    Thursday, November 1, 2012 6:20 PM


  • Hi,

    You could have a try with jquery dialog.

    The code as follow:

    <!DOCTYPE html>
                    <link href="/jquery dialog/jquery-ui.css" rel="stylesheet" type="text/css"/>
      <script src="/jquery dialog/jquery.min.js"></script>
      <script src="/jquery dialog/jquery-ui.min.js"></script>
            <script type="text/javascript">
                jQuery(function () {
                    var dlg = $("#dialog").dialog({ buttons: { "Ok": function () { $(this).dialog("close"); }, "close": function () { $(this).dialog("close"); } } });
            <div id="dialog" title="Dialog Title">
           I'm in a dialog</div>

    Please mark the replies as answers if they help or unmark if not.
    If you have any feedback about my replies, please contact msdnmg@microsoft.com
    Microsoft One Code Framework

    • Edited by Song Tian Friday, November 2, 2012 5:16 AM
    • Marked as answer by Threading Thread Friday, November 2, 2012 12:37 PM
    Friday, November 2, 2012 5:15 AM