Jan 31, 2018, 10:41 PM
Ext net elements are not shown when authentication added
Ext net UI elements are not shown after I added authentication in web.config to redirect all unauthorized access to the login page. Everything works fine if I remove this constraint. Is this normal Ext net behaviour? Any help on how to solved this would be much appreciated. Below is my login form which displays an empty page.
<ext:ResourceManager runat="server" />
<ext:Viewport runat="server">
<LayoutConfig>
<ext:VBoxLayoutConfig Align="Center" Pack="Center" />
</LayoutConfig>
<Items>
<ext:FormPanel
runat="server"
Title="Login"
Width="400"
Frame="true"
BodyPadding="13"
DefaultAnchor="100%">
<Items>
<ext:TextField
ID="txtUsername"
runat="server"
FieldLabel="Username"
AllowBlank="false"
BlankText="Your username is required."
/>
<ext:TextField
ID="txtPassword"
runat="server"
InputType="Password"
FieldLabel="Password"
AllowBlank="false"
BlankText="Your password is required."
/>
<ext:Checkbox runat="server" FieldLabel="Remember me" Name="remember" ID="chkRememberMe"/>
</Items>
<Buttons>
<ext:Button ID="btnEnter" runat="server" Text="GiriÅŸ Yap" Icon="Accept" OnDirectClick="btnEnter_DirectClick"/>
<ext:Button ID="btnPassword" runat="server" Text="Åžifremi Unuttum" Icon="LockKey">
</ext:Button>
</Buttons>
</ext:FormPanel>
</Items>
</ext:Viewport>
</body>
WEb.config <authentication mode="Forms">
<forms name=".ASPXFORMSLOGIN" loginUrl="LoginScreen.aspx"
timeout="30" slidingExpiration="true" />
</authentication>
<authorization>
<deny users="?"/>
<allow users="*"/>
</authorization>