I have converted a vs 2003 solution to 2005 and when I try to switch to
design mode for a user control I get:
Cannot switch views: Validation (Internet Explorer 6): Element 'Style'
cannot be nested within element 'div'
Here is the html:
<div style="z-index: 101; left: 1px; width: 541px; position: absolute; top:
1px;
height: 290px">
<xwavegrid:smar tgrid id="SmartGrid1 " runat="server" style="z-index: 100;
left: 0px;
position: absolute; top: 0px">
<FooterStyle Height="20px"></FooterStyle>
<Columns>
<xwavegrid:Smar tGridColumn DataField="asdf " AllowClientUpda tes="False"
Key="sadf" ReadOnly="True" ColumnType="Tex t" Render="True"
IncludeInTotals ="False" MaxLength="50" Value="" PrimaryKey="Fal se" Format=""
Title="Column 0" ClipContents="F alse" SortExpression= "" Visible="True"
IsHyperlink="Fa lse" PersistClientUp datesOnDataBind ="False">
<Style Width="100px"></Style>
</xwavegrid:Smart GridColumn>
</Columns>
<CaptionStyle Width="100%" Height="20px"></CaptionStyle>
<HeaderStyle Height="20px"></HeaderStyle>
<PagerStyle Width="100%"></PagerStyle>
</xwavegrid:smart grid>
</div>
As you can see this is a custom webcontrol within a div. The custom control
has nested controls which have styles. This doesn't seem to be allowed, any
help appreciated