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
345
Upgrade Utility strangly remove the columns defined in WebCombo
posted

Hi,

I just run the upgrade utility to upgrade from Infragistics 6.2 to 8.3 (I'm using VS2008, .Net 2.0 for the new project). The conversion was mostly correct and the converted code was able to run.

But I found that the columns I defined in WebCombo was removed, only the default "Column0" exists. Even if I added it back in the Source view, after compile, the columns were again disappeared.

I really can't figure out what was happening. Here is the original code and the converted code,

<igcmbo:webcombo id=cboVendor style="Z-INDEX: 103; LEFT: 2px; POSITION: absolute; TOP: 28px" runat="server" DataValueField="VENDOR_CODE" DataTextField="VENDOR_NAME" DataMember="VENDOR" DataSource="<%# dstControls %>" Width="99%" DropImage1="/ig_common/images/Office2003DropDownBlue.gif" DropImage2="/ig_common/images/Office2003DropDownOrange.gif" DropImageXP1="/ig_common/images/Office2003DropDownBlue.gif" DropImageXP2="/ig_common/images/Office2003DropDownOrange.gif" SelBackColor="17, 69, 158" Version="3.00" EnableXmlHTTP="True" Editable="True" BorderColor="LightGray">
  <Columns>
   <igtbl:UltraGridColumn HeaderText="VENDOR_CODE" Key="VENDOR_CODE" IsBound="True" Hidden="True" BaseColumnName="VENDOR_CODE">
    <Footer Key="VENDOR_CODE"></Footer>
    <Header Key="VENDOR_CODE" Caption="VENDOR_CODE"></Header>
   </igtbl:UltraGridColumn>
   <igtbl:UltraGridColumn HeaderText="Vendor" Key="VENDOR_NAME" IsBound="True" Width="100%" BaseColumnName="VENDOR_NAME">
    <CellStyle BorderWidth="1px" BorderColor="MidnightBlue" BorderStyle="Solid" BackColor="White"></CellStyle>
    <Footer Key="VENDOR_NAME">
     <RowLayoutColumnInfo OriginX="1"></RowLayoutColumnInfo>
    </Footer>
    <Header Key="VENDOR_NAME" Caption="Vendor">
     <RowLayoutColumnInfo OriginX="1"></RowLayoutColumnInfo>
    </Header>
   </igtbl:UltraGridColumn>

  </Columns>
  <ClientSideEvents AfterSelectChange="cboVendor_AfterSelectChange"></ClientSideEvents>
  <DropDownLayout DropdownWidth="99%" BorderCollapse="Separate" RowSelectors="No" RowHeightDefault="20px"
   DropdownHeight="200px" Version="3.00">
   <RowStyle BorderWidth="1px" BorderColor="Black" BorderStyle="Solid">
    <Padding Left="3px"></Padding>
    <BorderDetails WidthLeft="0px" WidthTop="0px"></BorderDetails>
   </RowStyle>
   <SelectedRowStyle ForeColor="White" BackColor="#F09D21" CustomRules="background-image:url(/ig_common/images/Office2003SelRow.png);background-repeat:repeat-x;"></SelectedRowStyle>
   <HeaderStyle Font-Size="X-Small" Font-Names="Arial" Font-Bold="True" BorderStyle="Solid" ForeColor="#E1E8F5"
    BackColor="#11459E" CustomRules="background-image:url(/ig_common/images/Office2003BlueBG.png);background-repeat:repeat-x;">
    <BorderDetails ColorTop="173, 197, 235" WidthLeft="1px" WidthTop="1px" ColorLeft="173, 197, 235"></BorderDetails>
   </HeaderStyle>
   <FrameStyle Width="99%" Cursor="Default" BorderWidth="1px" Font-Size="8pt" Font-Names="Arial"
    BorderStyle="None" BackColor="AliceBlue" Height="200px"></FrameStyle>
  </DropDownLayout>
  <ExpandEffects ShadowColor="LightGray" Type="Pixelate" Duration="100"></ExpandEffects>
 </igcmbo:webcombo>

Converted Code,

<igcmbo:WebCombo ID="cboVendor" Style="z-index: 103; left: 2px; position: absolute;
        top: 28px" runat="server" DataValueField="VENDOR_CODE" DataTextField="VENDOR_NAME"
        DataSource="<%# dstControls %>" Width="99%" DropImage1="/ig_common/images/Office2003DropDownBlue.gif"
        DropImage2="/ig_common/images/Office2003DropDownOrange.gif" DropImageXP1="/ig_common/images/Office2003DropDownBlue.gif"
        DropImageXP2="/ig_common/images/Office2003DropDownOrange.gif" SelBackColor="17, 69, 158"
        Version="3.00" EnableXmlHTTP="True" Editable="True" BorderColor="LightGray" SelForeColor="">
        <Columns>
            <igtbl:UltraGridColumn>
    <Header Caption="Column0"></Header>
   </igtbl:UltraGridColumn>
        </Columns>
        <ExpandEffects ShadowColor="LightGray" Type="Pixelate" Duration="100"></ExpandEffects>
        <DropDownLayout BorderCollapse="Separate" DropdownHeight="200px" DropdownWidth="99%"
            RowHeightDefault="20px" RowSelectors="No" Version="3.00" XmlLoadOnDemandType="Accumulative">
            <RowStyle BorderColor="Black" BorderStyle="Solid" BorderWidth="1px">
                <Padding Left="3px" />
            <BorderDetails WidthLeft="0px" WidthTop="0px" />
            </RowStyle>
            <FrameStyle BackColor="AliceBlue" BorderStyle="None" BorderWidth="1px" Cursor="Default"
                Font-Names="Arial" Font-Size="8pt" Height="200px" Width="100%">
            </FrameStyle>
            <HeaderStyle BackColor="#11459E" BorderStyle="Solid" CustomRules="background-image:url(/ig_common/images/Office2003BlueBG.png);background-repeat:repeat-x;"
                Font-Bold="True" Font-Names="Arial" Font-Size="X-Small" ForeColor="#E1E8F5">
                <BorderDetails ColorLeft="173, 197, 235" ColorTop="173, 197, 235" WidthLeft="1px"
                    WidthTop="1px" />
            </HeaderStyle>
            <SelectedRowStyle BackColor="#F09D21" CustomRules="background-image:url(/ig_common/images/Office2003SelRow.png);background-repeat:repeat-x;"
                ForeColor="White" />
        </DropDownLayout>
        <ClientSideEvents AfterSelectChange="cboVendor_AfterSelectChange" />
    </igcmbo:WebCombo>