Hi,
We migrated our web application from .NET 1.1 (having Infragistics 2003 Vol:3) to .NET 2.0 (having Infragistics 2005 Vol:2).
But when swithcing to design view some pages shows error like
Error 11 Cannot switch views: Validation (Internet Explorer 6): Element 'STYLE' cannot be nested within element 'td'.
in tag
<ADDNEWBOX > <STYLE BorderWidth="1px"> </STYLE> </ADDNEWBOX>
Please if anybody has any solution , reply,
Thanks in advance.
Regards,
Shahaji U
Hello Shahaji,
It's hard to tell, but it is possible that the grid changed the way it handles styles in the newer version. The 2005 version is almost 3 years old, I am testing with the latest (2008.2) and here are the styling possiblities for AddNewBox
<igtbl:UltraWebGrid ID="UltraWebGrid1" runat="server"> <Bands> </Bands> <DisplayLayout> <AddNewBox> <BoxStyle BackColor="Red" ... /> <ButtonStyle BackColor="Red" ... /> </AddNewBox> </DisplayLayout> </igtbl:UltraWebGrid>
HTH,
after Visual Studio 2005 came out, we were forced to rename all properties that were named "Style" in order to avoid this validation error.
you can find out about this and other backward-compatibility-breaking changes here: http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/WebGrid_Breaking_Changes_in_WebGrid.html