1 Attachment(s)
[CLOSED] Need to show the login window to the right side and need to show static message to the left.
Hi all,
when i open the application i need to show a login window to the right side and need to show static message to the left.
Please see the attachment(Login.jpg).
Right now i am using the below code to which login window centers to the panel with out static message.
Code:
<ext:Panel ID="pnlLogin" runat="server" Region="Center">
<Listeners>
<Resize Handler="CenterWindowOnResize();" />
</Listeners>
<Items>
<nxtwc:NxtWindow ID="loginWindow" runat="server" Closable="false" Resizable="false" Height="200"
Icon="Lock" Title="Login" Draggable="false" Width="450" Modal="false" BodyBorder="false"
Padding="10" Shadow="None">
<Items>
</Items>
</nxtwc:NxtWindow>
</Items>
</ext:Panel>
Code:
var CenterWindowOnResize = function () {
if (loginWindow.hidden == false)
loginWindow.el.center(pnlLogin.body);
if (forgotPasswordWindow.hidden == false)
forgotPasswordWindow.el.center(pnlLogin.body);
if (changePasswordWindow.hidden == false)
changePasswordWindow.el.center(pnlLogin.body);
}
Please help me with this. Thank You.