Hey there
I'm currently going through a guide made by wrox, getting started with a asp.net
Anyways, ive stumbled across a problem :(
In the tutorial it tell me to access "Profile.Preferences.Theme" however in my Webform, there is no such option
This is my current "Web.config" file
<configuration>
<system.web>
<compilation debug="false" targetFramework="4.0" />
<profile>
<properties>
<group name="Preferences">
<add name="Theme"/>
<add name="Currency"/>
</group>
</properties>
</profile>
</system.web>
</configuration>
and this is how my webform looks:
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Server Object</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<h1>Profile Object</h1>
Your Profile Object:
<asp:Literal ID="LiteralTheme" runat="server"></asp:Literal>
</div>
</form>
</body>
</html>
What am i doing wrong :(?
Kind Regards
-Jazerix