0

When I set the height and width of the popupform, the values are not taken into account.

<button type="button" class="awe-btn" onclick="@(Url.Awe().PopupFormAction().Url(Url.Action("create")).Success("createQuestionset").Height(800).Width(800))">@Mui.Create qs</button>

No matter what values i set, the size of the popup remains the same.

Is there anything more to do?

4

1 回答 1

1

您显示的代码应该可以工作,前提是其他一切都是正确的

例如,如果我把这一行:

<button type="button" class="awe-btn" onclick="<%:Url.Awe().PopupFormAction().Url(Url.Action("create", "SimpleMeals")).Height(800).Width(800)%>">Create</button>

演示应用程序PopupFormDemo/Index.aspx 中它可以工作,并且弹出窗口将具有所需的大小

我的猜测是某些 js 文件被修改/损坏或有错误的 jqueryUI 版本或其他一些 js 覆盖了 jquery ui 对话框的默认行为

于 2014-09-23T19:55:28.170 回答