appendto / juiceui

Juice UI is an open-source collection of WebForms components that brings jQuery UI Widgets to your project with ease. Start leveraging the power of the world's most popular JavaScript UI library while working with familiar code in your ASP.NET projects.
http://juiceui.com
GNU General Public License v2.0
125 stars 58 forks source link

Failed to add "Ok", "Cancel" button at Juice Dialog #8

Closed khorshed closed 12 years ago

khorshed commented 12 years ago

I have tried to to put a Ok button on Juice Dialog using the code below

```

This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.


I also used the different format like  <juice:Dialog TargetControlID="_Default" AutoOpen="false" runat="server" Buttons=" 'OK' " /> etc. But failed. It works fine when I used  the following Jquery script

$(document).ready(function () {
    // Respond to the click
    $(".open-dialog").click(function (e) {
        e.preventDefault();
        // Open the dialog
        $(".basic-dialog").dialog({
           buttons: { "Ok": function () { $(this).dialog("close"); } }
        });

});



});

please help me how can I use Dialog properly.
shellscape commented 12 years ago

Duplicate of #7. Closing.

This was a bug, but has been fixed. If you're looking for further support, please use one of the community support vectors listed on juiceui.com.