Mar 07, 2012, 6:57 PM
[CLOSED] Window in viewport not working
Hi,
In Ext 1.0 we have an aspx page with the following code that works perfectly. But in V2 it throws a Ext.js javascript function parseNamespace. What coult be wrong.
In Ext 1.0 we have an aspx page with the following code that works perfectly. But in V2 it throws a Ext.js javascript function parseNamespace. What coult be wrong.
<ext:ResourceManager runat="server" CleanResourceUrl="false">
</ext:ResourceManager>
<ext:Viewport ID="vpLogin" IDMode="Explicit" runat="server" >
<Items>
<ext:Window ID="windowLogin" runat="server" Closable="false" Resizable="false" Height="195"
Icon="Lock" Title="<%$ Resources:WebResources|Security.FormLabels, LoginControlsLoginText %>"
Draggable="true" Width="395" Modal="true" AutoHeight="true" Layout="Center"
LabelAlign="Top" Padding="5" DefaultButton="btnLogin" IDMode="Explicit">
<Items>
<ext:Panel ID="fpLogin" runat="server" FormID="formLogin" Border="false" Layout="form"
BodyStyle="background:transparent;" LabelAlign="Top" Height="115" >
<Items>
<ext:TextField ID="Username" runat="server" FieldLabel="<%$ Resources:WebResources|Security.FormLabels, LoginLabelUsernameText %>"
AllowBlank="true" AnchorHorizontal="100%" Text='' AutoFocus="true"
AutoFocusDelay="100" MaxLength="50" TabIndex="1" EnableKeyEvents="true" IDMode="Explicit"
AutoDataBind="true">
</ext:TextField>
<ext:TextField ID="Password" runat="server" InputType="Password" FieldLabel="<%$ Resources:WebResources|Security.FormLabels, LoginLabelPasswordText %>"
AllowBlank="true" AnchorHorizontal="100%" MaxLength="128" TabIndex="2" EnableKeyEvents="true"
IDMode="Explicit" AutoDataBind="true">
</ext:TextField>
<ext:LinkButton ID="ForgotPassword" runat="server" Text="<%$ Resources:WebResources|Security.FormLabels, LoginHyperLinkForgotYourPasswordText %>"
AnchorHorizontal="100%"
TabIndex="3" AutoDataBind="true" Disabled="false">
</ext:LinkButton>
</Items>
</ext:Panel>
</Items>
<Buttons>
<ext:Button ID="btnLogin" runat="server" TabIndex="4" Text="<%$ Resources:WebResources|Security.FormLabels, LoginControlsLoginText %>"
Disabled="true">
</ext:Button>
</Buttons>
</ext:Window>
</Items>
</ext:Viewport>
Last edited by Daniil; Mar 13, 2012 at 6:08 PM.
Reason: [CLOSED]