Posted on: 6/28/2014 11:25:00 AM | Views : 485

After setting the <pages theme="xyz"> in my web.config I get the following exception. Does anyone know how to fix this. At the moment it is failing on the login screen. which only has the following code blocks. (I am not sure if these event count as code blocks. Other pages have databinding code blocks <%#: BindItem.xyz %>
How can I enabled themeing and still code blocks. This seems silly not to be able to have code blocks and theming in the same asp.net webforms application.
<%@ Page Title="Log in" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="ApplicationDesigner.Webforms.Account.Login" %> <%@ Register Src="~/Account/OpenAuthProviders.ascx" TagPrefix="uc" TagName="OpenAuthProviders" %>
System.Web. ...

Go to the complete details ...