May 25, 2012, 4:12 PM
[OPEN] [#95] [2.5.3] ValidationStatus shows Message behind Window
Hi,
I'm creating a registration window with ValidationStatus. But the Message shows behind Window:
I'm creating a registration window with ValidationStatus. But the Message shows behind Window:
@(Html.X().Window()
.Icon(Icon.LockGo)
.ID("RegisterWindow")
.Title("Register")
.Closable(false)
.Resizable(false)
.Height(230)
.Width(350)
.BodyPadding(5)
.Items(it =>
it.Add(Html.X().FormPanel()
.ID("registerForm")
.Border(false)
.Layout("form")
.BodyStyle("background:transparent;")
.Items(item =>
{
item.Add(Html.X().TextField()
.ID("firstname")
.FieldLabel("First Name")
.AllowBlank(false).MsgTarget(MessageTarget.Side)
.AnchorHorizontal("100%")
.Focus(true));
item.Add(Html.X().TextField()
.ID("lastname")
.AllowBlank(false).MsgTarget(MessageTarget.Side)
.AnchorHorizontal("100%")
.FieldLabel("Last Name"));
item.Add(Html.X().TextField()
.ID("email")
.Vtype("email")
.AllowBlank(false).MsgTarget(MessageTarget.Side)
.AnchorHorizontal("100%")
.FieldLabel("Email"));
item.Add(Html.X().TextField()
.ID("newpwd")
.FieldLabel("Password")
.AllowBlank(false).MsgTarget(MessageTarget.Side)
.AnchorHorizontal("100%")
.InputType(Ext.Net.InputType.Password)
);
item.Add(Html.X().TextField()
.ID("confirmnewpwd")
.AllowBlank(false).MsgTarget(MessageTarget.Side)
.AnchorHorizontal("100%")
.FieldLabel("Confirm Password")
.InputType(Ext.Net.InputType.Password)
.EnableKeyEvents(true)
.Listeners(l => l.KeyPress.Handler = "if(e.getKey() == Ext.EventObject.ENTER){e.stopEvent();#{btnRegister}.fireEvent('click');}")
);
})
.BottomBar(b => b.Add(Html.X().StatusBar()
.DefaultText("Ready")
.Plugins(p => p.Add(new ValidationStatus() { FormPanelID = "registerForm", ValidIcon = Icon.Accept, ErrorIcon = Icon.Exclamation }))))
)))
How can I resolve this problem?
Last edited by Daniil; Dec 27, 2012 at 5:57 AM.
Reason: [OPEN] [#95]