Asp.net mvc 5 不尊重高度和宽度
当我设置弹出窗体的高度和宽度时,不会考虑这些值Asp.net mvc 5 不尊重高度和宽度,asp.net-mvc-5,asp.net-mvc-awesome,Asp.net Mvc 5,Asp.net Mvc Awesome,当我设置弹出窗体的高度和宽度时,不会考虑这些值 <button type="button" class="awe-btn" onclick="@(Url.Awe().PopupFormAction().Url(Url.Action("create")).Success("createQuestionset").Height(800).Width(800))">@Mui.Create qs</button> @Mui.Create qs 无论我设置了什么值,弹出窗口的大
<button type="button" class="awe-btn" onclick="@(Url.Awe().PopupFormAction().Url(Url.Action("create")).Success("createQuestionset").Height(800).Width(800))">@Mui.Create qs</button>
@Mui.Create qs
无论我设置了什么值,弹出窗口的大小都保持不变
还有什么要做的吗?如果其他一切都正确,那么您显示的代码应该可以工作 例如,如果我把这一行:
<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对话框的默认行为@vishalk如果这是公认的答案,您应该单击upvote/downvote下的V