locked
Dialog control

    Question

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

    http://www.pocketables.com/images/2012/10/Xbox-Music-All-Music.jpg

    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

Answers

  • Hi,

    You could have a try with jquery dialog.

    The code as follow:

    <!DOCTYPE html>
    <html>
        <head>
            <title></title>
                    <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"); } } });
                    dlg.parent().appendTo(jQuery("form:first"));
                });
            </script>
        </head>
        <body>
            <div id="dialog" title="Dialog Title">
           I'm in a dialog</div>
        </body>
    </html>

    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