Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
35
Ultrawebnavigator Style Error
posted

Hi,

After upgrading some ASP.NET projects from Visual Studio 2003 to VS 2008 and .NET Framework 3.5, i tried to upgrade the Netadvantage components (Webgrid, Webnavigator) from 2001 to 2007 Volume2.

I chanched all the assembly references but in the design view of VS, Webnavigator displays the following error message:

'Infragistics.WebUI.UltraWebnavigator.Styles' must have items of type 'Infragistics.WebUI.UltraWebnavigator.Style'. 'Infragistics.WebUI.UltraWebnavigator.Style' is tyle of 'System.Web.UI.HtmlControls.HtmlGenericControl'.

Here the code:

<Styles>
                            <ignav:Style Cursor="hand" BorderWidth="2px" BorderStyle="Outset" ForeColor="Black" BackColor="LightGray" CssClass="IslandClass"></ignav:Style>
                                <Infragistics.WebUI.UltraWebNavigator.Style Cursor="Hand" BackColor="LightGray" BorderWidth="2px"
                                BorderStyle="Outset" CssClass="IslandClass" ForeColor="Black"></Infragistics.WebUI.UltraWebNavigator.Style>
                        </Styles>

 

Any ideas?

  • 49378
    posted

    Hi all,

    Just to confirm that vnvenkatesh's answer is right on the spot.

    Infragistics.WebUI.UltraWebNavigator.Style has to be replaced with ignav:Style in the tags and everything should work fine.

    Best Regards,

    Petar Ivanov
    Developer Support Engineer
    Infragistics, Inc.
    http://ko.infragistics.com/support

  • 155
    posted

    Though this is a very late reply would help some body who is having similar problem.

    As it is upgrade from Infragisitcs2 to Infragistics35 the Line 'Infragistics.WebUI.UltraWebnavigator.Styles'  has to be replaced with 'ig:Styles' where ig is the tagname for the assembly reference.

    Regards,
    Venkatesh