Mar 04, 2015, 5:40 PM
[CLOSED] Bug in a window with property FieldLabel in TextField is moving
Hi team, I have a problem with a Ext Window, the problem is that I have a Page1 with a Window where with a Button I show a Window with other Page2 with two TextField controls with property FieldLabel, where to focus the controls with tab is not moving the body window, but, with shit+tab to return the other control is moving the body window.
This is the image with first show
This is the image where to back the other control with Shit+Tab keys, I show with red border the errors
This is the code to Page1
This is the image with first show
This is the image where to back the other control with Shit+Tab keys, I show with red border the errors
This is the code to Page1
<script type="text/javascript">
var btnWindow_Click = function () {
App.wEmergente.load('InnerForm.aspx');
App.wEmergente.setHeight(258);
App.wEmergente.setWidth(500);
App.wEmergente.center();
App.wEmergente.setTitle('Inner Form in a Window');
App.wEmergente.show();
};
</script>
<form id="form1" runat="server">
<ext:ResourceManager ID="rmDefault" runat="server" HideInDesign="true" Theme="Neptune" />
<ext:Button
ID="btnWindow"
runat="server"
Text="Load Window">
<Listeners>
<Click Fn="btnWindow_Click" />
</Listeners>
</ext:Button>
<ext:Window
ID="wEmergente"
runat="server"
Icon="Application"
Hidden="true"
Modal="true"
Padding="5"
Resizable="False"
Region="Center"
XOnEsc="Ext.emptyFn">
<Loader ID="lEmergente" runat="server" Mode="Frame" AutoLoad="false">
<LoadMask ShowMask="true" Msg="Cargando..." />
</Loader>
</ext:Window>
</form>
This is the code to Page2 <form id="form1" runat="server">
<ext:ResourceManager ID="rmInnerForm" runat="server" HideInDesign="true" Theme="Neptune" />
<ext:TextField
ID="txtfText1"
runat="server"
FieldLabel="Test1">
</ext:TextField>
<ext:TextField
ID="TextField2"
runat="server"
FieldLabel="Test2">
</ext:TextField>
</form>
Last edited by Daniil; Mar 10, 2015 at 8:29 PM.
Reason: [CLOSED]