P
profnachos
I am still struggling to convert my .NET 1 project and running into all
sorts of issues.
At this point, the only thing that is saying is.
"/MyWebSite/permits_webgrid.ascx has a circular reference!
Do you have any suggestion on where to begin? It is not pointing to my
code, but rather to the ascx page. Can't really see what the issue is,
because that page has just one control. In this case it is a third
party control, but I tried to reproduce it by writing a stripped down
web application and converting it, but I cannot reproduce it.
Here is the content of the ascx file if you would like to delve in.
<%@ Reference Page="~/permit_viewedit.aspx" %>
<%@ Reference Control="~/uwebgrid_base.ascx" %>
<%@ Control Language="c#"
Inherits="Belshire.Petrotools.Web.permits_webgrid"
CodeFile="permits_webgrid.ascx.cs"
CodeFileBaseClass="Belshire.Petrotools.Web.uwebgrid_base" %>
<%@ Register TagPrefix="cc1"
Namespace="Infragistics.WebUI.UltraWebGrid.ExcelExport"
Assembly="Infragistics2.WebUI.UltraWebGrid.ExcelExport.v6.1,
Version=6.1.20061.28, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
%>
<%@ Register TagPrefix="igtbl"
Namespace="Infragistics.WebUI.UltraWebGrid"
Assembly="Infragistics2.WebUI.UltraWebGrid.v6.1, Version=6.1.20061.28,
Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" %>
<table>
<tr id="trExcelRecordCountRow" runat="server">
<td align="right" width="50%">
<asp:ImageButton id="btnExcelExport"
runat="server"></asp:ImageButton></td>
<td width="50%">
<asp:Label id="lblRecordCount" runat="server"></asp:Label></td>
</tr>
<tr>
<td colspan="2">
<igtbl:UltraWebGrid id="wgPermits" runat="server">
<DisplayLayout RowHeightDefault="20px" Version="4.00"
BorderCollapseDefault="Separate" Name="xctl0UltraWebGrid1">
<AddNewBox>
<BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px"
ColorLeft="White">
</BorderDetails>
</Style>
</AddNewBox>
<Pager>
<BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px"
ColorLeft="White">
</BorderDetails>
</Style>
</Pager>
<HeaderStyleDefault BorderStyle="Solid" BackColor="LightGray">
<BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px"
ColorLeft="White"></BorderDetails>
</HeaderStyleDefault>
<FrameStyle Width="325px" BorderWidth="1px" Font-Size="8pt"
Font-Names="Verdana" BorderStyle="Solid"
Height="200px"></FrameStyle>
<FooterStyleDefault BorderWidth="1px" BorderStyle="Solid"
BackColor="LightGray">
<BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px"
ColorLeft="White"></BorderDetails>
</FooterStyleDefault>
<EditCellStyleDefault BorderWidth="0px"
BorderStyle="None"></EditCellStyleDefault>
<RowStyleDefault BorderWidth="1px" BorderColor="Gray"
BorderStyle="Solid">
<Padding Left="3px"></Padding>
<BorderDetails WidthLeft="0px" WidthTop="0px"></BorderDetails>
</RowStyleDefault>
</DisplayLayout>
<Bands>
<igtbl:UltraGridBand></igtbl:UltraGridBand>
</Bands>
</igtbl:UltraWebGrid></td>
</tr>
</table>
<cc1:UltraWebGridExcelExporter id="excelExporter"
runat="server"></cc1:UltraWebGridExcelExporter>
sorts of issues.
At this point, the only thing that is saying is.
"/MyWebSite/permits_webgrid.ascx has a circular reference!
Do you have any suggestion on where to begin? It is not pointing to my
code, but rather to the ascx page. Can't really see what the issue is,
because that page has just one control. In this case it is a third
party control, but I tried to reproduce it by writing a stripped down
web application and converting it, but I cannot reproduce it.
Here is the content of the ascx file if you would like to delve in.
<%@ Reference Page="~/permit_viewedit.aspx" %>
<%@ Reference Control="~/uwebgrid_base.ascx" %>
<%@ Control Language="c#"
Inherits="Belshire.Petrotools.Web.permits_webgrid"
CodeFile="permits_webgrid.ascx.cs"
CodeFileBaseClass="Belshire.Petrotools.Web.uwebgrid_base" %>
<%@ Register TagPrefix="cc1"
Namespace="Infragistics.WebUI.UltraWebGrid.ExcelExport"
Assembly="Infragistics2.WebUI.UltraWebGrid.ExcelExport.v6.1,
Version=6.1.20061.28, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
%>
<%@ Register TagPrefix="igtbl"
Namespace="Infragistics.WebUI.UltraWebGrid"
Assembly="Infragistics2.WebUI.UltraWebGrid.v6.1, Version=6.1.20061.28,
Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" %>
<table>
<tr id="trExcelRecordCountRow" runat="server">
<td align="right" width="50%">
<asp:ImageButton id="btnExcelExport"
runat="server"></asp:ImageButton></td>
<td width="50%">
<asp:Label id="lblRecordCount" runat="server"></asp:Label></td>
</tr>
<tr>
<td colspan="2">
<igtbl:UltraWebGrid id="wgPermits" runat="server">
<DisplayLayout RowHeightDefault="20px" Version="4.00"
BorderCollapseDefault="Separate" Name="xctl0UltraWebGrid1">
<AddNewBox>
<BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px"
ColorLeft="White">
</BorderDetails>
</Style>
</AddNewBox>
<Pager>
<BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px"
ColorLeft="White">
</BorderDetails>
</Style>
</Pager>
<HeaderStyleDefault BorderStyle="Solid" BackColor="LightGray">
<BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px"
ColorLeft="White"></BorderDetails>
</HeaderStyleDefault>
<FrameStyle Width="325px" BorderWidth="1px" Font-Size="8pt"
Font-Names="Verdana" BorderStyle="Solid"
Height="200px"></FrameStyle>
<FooterStyleDefault BorderWidth="1px" BorderStyle="Solid"
BackColor="LightGray">
<BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px"
ColorLeft="White"></BorderDetails>
</FooterStyleDefault>
<EditCellStyleDefault BorderWidth="0px"
BorderStyle="None"></EditCellStyleDefault>
<RowStyleDefault BorderWidth="1px" BorderColor="Gray"
BorderStyle="Solid">
<Padding Left="3px"></Padding>
<BorderDetails WidthLeft="0px" WidthTop="0px"></BorderDetails>
</RowStyleDefault>
</DisplayLayout>
<Bands>
<igtbl:UltraGridBand></igtbl:UltraGridBand>
</Bands>
</igtbl:UltraWebGrid></td>
</tr>
</table>
<cc1:UltraWebGridExcelExporter id="excelExporter"
runat="server"></cc1:UltraWebGridExcelExporter>