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
445
Define Properties of UltraWebGrid in WebDataGrid
posted

Hi,

We are upgrading from Infragitics NetAdvantage 2010.2 to Infragistics NetAdvantage 2013.1. In previous version, UltraWebGrid was used and now we need to use WebDataGrid as UltraWebGrid is obslete.

<igtbl:UltraWebGrid ID="uwgUsers" runat="server" Height="123px" Width="293px">

                <Bands>

                   <igtbl:UltraGridBand>

                        <AddNewRow View="NotSet" Visible="NotSet">

                        </AddNewRow>

                        <Columns>

                            <igtbl:UltraGridColumn BaseColumnName="UserInitialsCd" EditorControlID="webComboUser"

                                HeaderText="User" Key="UserInitialsCd" Type="Custom" Width="98%" CellButtonDisplay="Always">

                                <Header Caption="User">

                                </Header>

                            </igtbl:UltraGridColumn>

                        </Columns>

                    </igtbl:UltraGridBand>

                </Bands>

                <DisplayLayout AllowAddNewDefault="Yes" AllowColSizingDefault="Free" AllowColumnMovingDefault="OnServer"

                    AllowDeleteDefault="Yes" AllowSortingDefault="OnClient" AllowUpdateDefault="Yes"

                    AutoGenerateColumns="False" BorderCollapseDefault="Separate" HeaderClickActionDefault="NotSet"

                    Name="ctl00xultraWebGridUsers" RowHeightDefault="20px" RowSelectorsDefault="No" SelectTypeRowDefault="Extended"

                    StationaryMargins="Header" StationaryMarginsOutlookGroupBy="True" TableLayout="Fixed"

                    Version="4.00" ViewType="OutlookGroupBy" CellClickActionDefault="Edit" ColHeadersVisibleDefault="No">

                    <GroupByBox Hidden="True">

                        <Style BackColor="ActiveBorder" BorderColor="Window"></Style>

                    </GroupByBox>

                    <GroupByRowStyleDefault BackColor="Control" BorderColor="Window">

                    </GroupByRowStyleDefault>

                    <ActivationObject BorderColor="" BorderWidth="">

                    </ActivationObject>

                    <FooterStyleDefault BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">

                       <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

                    </FooterStyleDefault>

                    <RowStyleDefault BackColor="Window" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"

                        Font-Names="Microsoft Sans Serif" Font-Size="8.25pt">

                        <BorderDetails ColorLeft="Window" ColorTop="Window" />

                        <Padding Left="3px" />

                    </RowStyleDefault>

                    <FilterOptionsDefault>

                        <FilterOperandDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid"

                            BorderWidth="1px" CustomRules="overflow:auto;" Font-Names="Verdana,Arial,Helvetica,sans-serif"

                            Font-Size="11px">

                            <Padding Left="2px" />

                        </FilterOperandDropDownStyle>

                        <FilterHighlightRowStyle BackColor="#151C55" ForeColor="White">

                        </FilterHighlightRowStyle>

                        <FilterDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"

                            CustomRules="overflow:auto;" Font-Names="Verdana,Arial,Helvetica,sans-serif"

                            Font-Size="11px" Height="300px" Width="200px">

                            <Padding Left="2px" />

                        </FilterDropDownStyle>

                    </FilterOptionsDefault>

                    <HeaderStyleDefault BackColor="LightGray" BorderStyle="Solid" HorizontalAlign="Left">

                        <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

                    </HeaderStyleDefault>

                    <EditCellStyleDefault BorderStyle="None" BorderWidth="0px">

                    </EditCellStyleDefault>

                    <FrameStyle BackColor="Window" BorderColor="InactiveCaption" BorderStyle="Solid"

                        BorderWidth="1px" Font-Names="Microsoft Sans Serif" Font-Size="8.25pt" Height="123px"

                        Width="293px">

                    </FrameStyle>

                    <Pager MinimumPagesForDisplay="2">

                        <Style BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">

                            <BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px" ColorLeft="White"></BorderDetails>

</Style>

  </Pager>

                    <AddNewBox Hidden="False">

                        <Style BackColor="Window" BorderColor="InactiveCaption" BorderStyle="Solid" BorderWidth="1px">

                         <BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px" ColorLeft="White"></BorderDetails>

</Style>

                        <ButtonStyle Cursor="Hand">

                        </ButtonStyle>

                    </AddNewBox>

                </DisplayLayout>

            </igtbl:UltraWebGrid>

How to define DisplayLayout, GroupByBox,ActivationObject,FooterStyle,HeaderStyle,RowStyleDefault,FilterOption,FrameStyle, EditStyle,Pager for WebDataGrid.


 

Parents
No Data
Reply
  • 1414
    Suggested Answer
    posted

    This is not really an answer, just a comment from someone in the same boat...

     

    The objects are very different. 

     

    One important aspect is that the capabilities, events and properties you expect are not visible till you use the 'Behaviors' designer.  When you get more familiar with the object (the WebDataGrid) than you can build everything in code behind (and maybe even at the client).  Regardless, only those 'behaviors' you select - such as 'Selection', 'Paging', 'Sorting' - in the Behaviors designer will have their properties and events presented to you. 

     

    In the end, some of the properties and events will be familiar to you, but many others will not.  It will take a full study...

Children
No Data