0

I am getting a strange script error on post back if I have a JuiceUI Dialog control on the page, regardless if it is used or not. I can't find anything out there on this, so I am sure that I am doing something wrong. Can any one provide any help? Below is my .aspx page, there is no code behind.

<script src="Scripts/jquery-1.8.3.min.js" type="text/javascript"></script>
<script src="Scripts/jquery-ui-1.9.2.min.js" type="text/javascript"></script>

<form id="form1" runat="server">
<asp:Button ID="Button2" runat="server" Text="Button" OnClick="Button2_Click" />
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<div id="_DefaultDiv" class="basic-dialog" title="Basic dialog" runat="server">
    <p>
        This is the default dialog which is useful for displaying information. The dialog
        window can be moved, resized and closed with the 'x' icon.</p>
</div>
<juice:Dialog ID="Dialog1" TargetControlID="_DefaultDiv" AutoOpen="false" runat="server" />
<p>
    <input id="Button1" type="button" value="button" onclick="OpenDialog();" />
</p>
<script type="text/javascript">

    function OpenDialog() {
        $(".basic-dialog").dialog("open")
    }

</script>
</form>
4

2 回答 2

1

这可能是因为尝试使用无效值调用 JSON.stringify。value 参数,一个数组或对象,包含一个循环引用。

于 2015-01-29T09:10:00.763 回答
0

我建议检查一个名为Brew的新分支,它可以解决很多这样的问题。如果仍有问题,我很乐意与您一起解决问题。

于 2013-03-12T04:39:44.953 回答