Error message : CS0234: The type or namespace name 'Style' does not exist in the namespace 'Infragistics.WebUI.Shared'
I'm trying to show a simple grid on the page. Nothing fancy. I've got Infragistics.WebUI.Shared in my project referencesand it's visible in the GAC. I've even tried adding it to the web.config, but it does not seem to want to work.
Hello,
Have you, by any chance upgraded from an older version of UltraWebGrid? Sometimes when upgrading, VS.NET keeps references to the old design time assembly and serialization of grid in design mode may break. For instance, I do not recall the grid using <Style> directly anywhere. Can you please copy/paste your current ASPX grid declaration?
(just for reference, here is a sample ASPX reference from a UWG on a page)
<igtbl:UltraWebGrid ID="UltraWebGrid1" runat="server" DataSourceID="AccessDataSource1" Height="200px" OnInitializeLayout="UltraWebGrid1_InitializeLayout" Width="325px" oninitializerow="UltraWebGrid1_InitializeRow"> <Bands> <igtbl:UltraGridBand> <HeaderStyle Height="50px" /> <Columns> <igtbl:UltraGridColumn BaseColumnName="ReorderLevel" DataType="System.Int16" IsBound="True" Key="ReorderLevel" Type="DropDownList"> <Header Caption="ReorderLevel"> <RowLayoutColumnInfo OriginX="8" /> </Header> <Footer> <RowLayoutColumnInfo OriginX="8" /> </Footer> </igtbl:UltraGridColumn> <igtbl:UltraGridColumn BaseColumnName="Discontinued" DataType="System.Boolean" IsBound="True" Key="Discontinued" Type="CheckBox"> <Header Caption="Discontinued"> <RowLayoutColumnInfo OriginX="9" /> </Header> <Footer> <RowLayoutColumnInfo OriginX="9" /> </Footer> </igtbl:UltraGridColumn> </Columns> <AddNewRow View="NotSet" Visible="NotSet"> </AddNewRow> </igtbl:UltraGridBand> </Bands> <DisplayLayout BorderCollapseDefault="Separate" Name="UltraWebGrid1" RowHeightDefault="20px" CellClickActionDefault="RowSelect" Version="4.00"> <SelectedRowStyleDefault BackColor="LightBlue" ForeColor="Black"></SelectedRowStyleDefault> <FrameStyle BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="8pt" Height="200px" Width="325px"> </FrameStyle> <Pager> <PagerStyle BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px"> <BorderDetails ColorLeft="White" ColorTop="White" /> </PagerStyle> </Pager> <EditCellStyleDefault BorderStyle="None" BorderWidth="0px"> </EditCellStyleDefault> <HeaderStyleDefault BackColor="LightGray" BorderStyle="Solid"> <BorderDetails ColorLeft="White" ColorTop="White" /> </HeaderStyleDefault> <AddNewBox> <BoxStyle BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px"> <BorderDetails ColorLeft="White" ColorTop="White" /> </BoxStyle> </AddNewBox> <ActivationObject BorderColor="" BorderWidth=""> </ActivationObject> </DisplayLayout> </igtbl:UltraWebGrid>
Hi,
Is this problem solved?
I have a different problem,we have migrated our application from .NET 1.1 to .NET 2.0 but we are referencing the old DLLs of Infragistics 4.3 version.
We are using Infragistics ultrachart ,it is throwing error -"Page.RegisterRequiresPostBack can only be called on controls that implement IPostBackDataHandler"
So I had run the "Project Upgrade Utility" ,after running this I closed my application and removed the DLLs in the aplication BIN folder.
I build my application again ,now it is giving this error- "The type or namespace name 'BorderDetails' does not exist in the namespace 'Infragistics.WebUI.Shared".
I have removed the DLL 'Infragistics.WebUI.Shared" and added it again ,still the above error is coming..
Any help is really appreciable as it is urgent for us.
Thanks,
Usha.
NetAdvantage 2004 Volume 3 was not supported for use in a .NET 2.0 environment. This is one of the error messages I've seen in such a scenario, and I don't believe a workaround is possible. You will likely need to upgrade to a version of the toolset supported for use in .NET 2.0.
We have installed Net Advantage 2008 for .NET 2.0 application,initialy we got some .NET code errors,all the issues are fixed,now the application is working fine.
Thanks for your suggestion,