Woensdag werkte het nog perfect, mijn inlog pagina gebruikte de masterpage, nu al 2 dagen niet meer en ik kan er echt niet aan uit!
Dat is mijn inlog pagina, daar staat echt alles goed, heb er niets aan verandert maar al 2 dagen lang krijg ik de inlog pagina te zien zonder enige opmaak. Als ik ben ingelogd krijg ik overal wel de juiste opmaak, zoals het ook moet.
Code behind:
Web.config:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
| <%@ Page Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="tumbador.core.login" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder" Runat="Server">
<div class="login">
<asp:Login ID="Login1" runat="server" BackColor="#FFFFFF" BorderColor="#E6E2D8"
BorderPadding="4" BorderStyle="Solid" BorderWidth="0px"
FailureText="Inloggen mislukt, probeer opnieuw." Font-Names="Verdana"
Font-Size="0.8em" ForeColor="#333333" LoginButtonText="Inloggen"
PasswordLabelText="Paswoord:"
PasswordRequiredErrorMessage="Gelieve uw paswoord in te vullen."
RememberMeText="Onthouden" TitleText="Inloggen"
UserNameLabelText="Gebruikersnaam:"
UserNameRequiredErrorMessage="Gelieve uw gebruikersnaam in te vullen.">
<TextBoxStyle Font-Size="0.8em" />
<LoginButtonStyle BackColor="#FFFBFF" BorderColor="#CCCCCC" BorderStyle="Solid"
BorderWidth="1px" Font-Names="Verdana" Font-Size="0.9em" ForeColor="#000000" />
<LayoutTemplate>
<table border="0" cellpadding="4" cellspacing="0"
style="border-collapse:collapse;">
<tr>
<td>
<table border="0" cellpadding="0">
<tr>
<td align="center" class="style1" colspan="2"
style="color:White;background-color:#CC3333;font-size:0.9em;font-weight:bold;">
Inloggen</td>
</tr>
<tr>
<td align="right" class="style2">
<asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">Gebruikersnaam:</asp:Label>
</td>
<td class="style2">
<asp:TextBox ID="UserName" runat="server" Font-Size="0.9em" Height="13px"></asp:TextBox>
<asp:RequiredFieldValidator ID="UserNameRequired" runat="server"
ControlToValidate="UserName"
ErrorMessage="Gelieve uw gebruikersnaam in te vullen."
ToolTip="Gelieve uw gebruikersnaam in te vullen." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right" class="style2">
<asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Paswoord:</asp:Label>
</td>
<td class="style2">
<asp:TextBox ID="Password" runat="server" Font-Size="0.9em" TextMode="Password" Height="13px"></asp:TextBox>
<asp:RequiredFieldValidator ID="PasswordRequired" runat="server"
ControlToValidate="Password" ErrorMessage="Gelieve uw paswoord in te vullen."
ToolTip="Gelieve uw paswoord in te vullen." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td colspan="2">
<br />
<asp:CheckBox ID="RememberMe" runat="server" Text=" Onthouden"/>
</td>
</tr>
<tr>
<td align="center" colspan="2" style="color:Red;">
<asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
</td>
</tr>
<tr>
<td align="right" colspan="2">
<asp:Button ID="LoginButton" runat="server" BackColor="#FFFBFF"
BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1px" CommandName="Login"
Font-Names="Verdana" Font-Size="0.9em" ForeColor="Black" Text="Inloggen"
ValidationGroup="Login1" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</LayoutTemplate>
<InstructionTextStyle Font-Italic="True" ForeColor="Black" />
<TitleTextStyle BackColor="#cc3333" Font-Bold="True" Font-Size="0.9em"
ForeColor="White" />
</asp:Login>
<br />
<asp:HyperLink ID="HyperLink1" runat="server"
NavigateUrl="~/core/wachtwoordVergeten.aspx" Font-Size="0.9em">Wachtwoord vergeten?</asp:HyperLink>
<br /><br />
</div>
</asp:Content>
<asp:Content ID="Content1" runat="server" contentplaceholderid="head">
<style type="text/css">
.style1
{
height: 21px;
}
.style2
{
height: 28px;
}
.login
{
position:relative;
top:10px;
left:135px;
}
</style>
</asp:Content> |
Dat is mijn inlog pagina, daar staat echt alles goed, heb er niets aan verandert maar al 2 dagen lang krijg ik de inlog pagina te zien zonder enige opmaak. Als ik ben ingelogd krijg ik overal wel de juiste opmaak, zoals het ook moet.
Code behind:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
| protected void Page_Load(object sender, EventArgs e)
{
if (User.Identity.IsAuthenticated)
Response.Redirect("~/index.aspx");
OboutInc.SlideMenu.SlideMenu menu = (OboutInc.SlideMenu.SlideMenu)Master.FindControl("SlideMenu1");
menu.Visible = false;
SiteMapPath map = (SiteMapPath)Master.FindControl("SiteMapPath1");
map.Visible = false;
} |
Web.config:
code:
1
2
3
| <authentication mode="Forms">
<forms loginUrl="core/login.aspx" name="Tumbador" timeout="20" protection="All"/>
</authentication> |