I am using RadMenu on the Master Page and have ASP.NET Theme applied to the content pages. My issue is related to the <html> tag, if I use the tag <html runat=”server”> I get the error “The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>). I searched for it and fonund that removing runat=”server” will solve the problem, but when I remove this I get an error “Using themed css files requires a header control on the page. (e.g. <head runat="server" />).” So themes cannot be used without runat=”server”. I am not using any script tag that uses <% … %>.
Following is the head tag of master page:
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Impact Wrestling</title>
<link href="App_Themes/IWTheme_New/style.css" rel="stylesheet" type="text/css" />
</head>
The RadMenu has just text and NavigateUrl fields.
Please suggest a way so I can use both Themes and RadMenu?