[英]RadWindow shrink down
I am facing an issue with Telerik RadWindow
popup. 我正遇到
Telerik RadWindow
弹出窗口的问题。 I have a page with RadWindow
popup. 我有一个带有
RadWindow
弹出窗口的页面。 There is a grid in the page and each row having a link. 页面中有一个网格,每行都有一个链接。 Whenever I click the link, it will open the RadWindow popup.
每当我单击链接时,它将打开RadWindow弹出窗口。 It is good.
很好 But if I close and reopen the RadWindow popup multiple times, the RadWindow popup getting shrunk little bit from all the sides each time.
但是,如果我多次关闭并重新打开RadWindow弹出窗口,则RadWindow弹出窗口每次都会从各个角度缩水一点。
I need to fix this issue. 我需要解决此问题。 Can anyone help me to fix this issue?
谁能帮我解决此问题?
I myself fixed this issue. 我本人已解决此问题。 The attributes
MinWidth
and MinHeight
added to the <telerik:RadWindow>
and assign the same Width
and Height
attribute values. 属性
MinWidth
和MinHeight
添加到<telerik:RadWindow>
并分配相同的Width
和Height
属性值。
Code (before fix): 代码(修复前):
<telerik:RadWindowManager ID="RadWindowManager" runat="server">
<Windows>
<telerik:RadWindow ID="radWindowPopup" Behavior="Close" VisibleTitlebar="false"
Modal="true" runat="server" Width="725px" Height="500px" VisibleStatusbar="false"
BorderWidth="0" BorderStyle="None" EnableEmbeddedSkins="false"
CenterIfModal="true" OnClientClose="closePopup" Style="overflow: hidden;">
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
Code (Fixed): - ( MinWidth and MinHeight added with same value of Width and Height attributes) 代码(固定) :-(添加的MinWidth和MinHeight具有相同的Width和Height属性值)
<telerik:RadWindowManager ID="RadWindowManager" runat="server">
<Windows>
<telerik:RadWindow ID="radWindowPopup" Behavior="Close" VisibleTitlebar="false"
Modal="true" runat="server" MinWidth="725px" MinHeight="500px"
Width="725px" Height="500px" VisibleStatusbar="false"
BorderWidth="0" BorderStyle="None" EnableEmbeddedSkins="false"
CenterIfModal="true" OnClientClose="closePopup" Style="overflow: hidden;">
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
Hope this helps 希望这可以帮助
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.