Dec 10, 2014, 5:58 PM
X.Msg.Info modal=true not runing
Code Behind cs file
the following code running, but Modal= true not running
the following code running, but Modal= true not running
public void XMsgInfo(string title, string html, Ext.Net.Icon icon, Ext.Net.UI ui, bool autohide, bool modal)
{
Ext.Net.Button ExtNetBtnAccept = new Ext.Net.Button
{
Text = "ok",
Handler = "this.up('infopanel').destroy();",
Icon = Ext.Net.Icon.Accept,
PaddingSpec = "5"
};
X.Msg.Info(
new InfoPanel
{
Icon = icon,
StyleSpec = "box-shadow: 4px 4px 8px rgba(0, 0, 0, .175);",
Title = title,
Html = html,
AutoHide = autohide,
UI = ui,
Buttons = { ExtNetBtnAccept },
Modal = modal,
Alignment = AnchorPoint.Center
}
).Show();
}