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
100
WebGrid row Selectors Not Showing & Row Not Selectable
posted

Hi

I have a Ultrawebgrid which is binded to a Datatable I create at runtime which works fine, I also have Rowselectors Set to Yes and set to Extended style to allow multiple row selection.  The ultrawebgrid is in a user control which has then been added to an aspx page aspx code attached below for grid.  The Row Selectors dont appear though and wont allow row selection and im really puzzled as to why the Row Selectors are not being shown or not allowing me to Select rows all help would be greatly appreciated.

  <igtbl:UltraWebGrid ID="UWGIsolationPoints" runat="server">
        <bands>
            <igtbl:UltraGridBand>
                <addnewrow view="NotSet" visible="NotSet">
                </addnewrow>
            </igtbl:UltraGridBand>
        </bands>
        <displaylayout bordercollapsedefault="Separate" name="UWGIsolationPoints"
            rowheightdefault="20px" selecttyperowdefault="Extended"
            stationarymarginsoutlookgroupby="True" tablelayout="Fixed" version="3.00"
            AllowDeleteDefault="Yes">
            <framestyle backcolor="#F3F3F6" borderstyle="Solid" borderwidth="1px"
                font-names="Verdana" font-size="8pt">
            </framestyle>
            <pager>
                <PagerStyle BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">
                <borderdetails colorleft="White" colortop="White" widthleft="1px"
                    widthtop="1px" />
                </PagerStyle>
            </pager>
            <editcellstyledefault borderstyle="None" borderwidth="0px">
            </editcellstyledefault>
            <footerstyledefault backcolor="LightGray" borderstyle="Solid" borderwidth="1px">
                <borderdetails colorleft="White" colortop="White" widthleft="1px"
                    widthtop="1px" />
            </footerstyledefault>
            <headerstyledefault backcolor="#CECDDB" borderstyle="Solid" forecolor="Black"
                horizontalalign="Left">
                <borderdetails colorleft="White" colortop="White" widthleft="1px"
                    widthtop="1px" />
            </headerstyledefault>
            <rowstyledefault backcolor="Window" bordercolor="#A8A7BF" borderstyle="Solid"
                borderwidth="1px" font-names="Verdana" font-size="8pt">
                <padding left="3px" />
                <borderdetails colorleft="Window" colortop="Window" />
            </rowstyledefault>
            <selectedrowstyledefault backcolor="#B7B6CA">
            </selectedrowstyledefault>
            <addnewbox>
                <boxstyle backcolor="LightGray" borderstyle="Solid" borderwidth="1px">
                    <borderdetails colorleft="White" colortop="White" widthleft="1px"
                        widthtop="1px" />
                </boxstyle>
            </addnewbox>
            <activationobject bordercolor="168, 167, 191" borderwidth="">
            </activationobject>
            <filteroptionsdefault>
                <filterdropdownstyle backcolor="White" bordercolor="Silver" borderstyle="Solid"
                    borderwidth="1px" customrules="overflow:auto;"
                    font-names="Verdana,Arial,Helvetica,sans-serif" font-size="11px" width="200px">
                    <padding left="2px" />
                </filterdropdownstyle>
                <filterhighlightrowstyle backcolor="#151C55" forecolor="White">
                </filterhighlightrowstyle>
                <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>
            </filteroptionsdefault>
        </displaylayout>
    </igtbl:UltraWebGrid>

 

Parents
No Data
Reply
  • 3732
    posted

    Hi,

    I went through the code and couldn't find the line for setting RowSelectorsDefault under DisplayLayout object. I was wondering if you are setting in the code behind. If yes, then the code should like as follows:

    this.UltraWebGrid1.DisplayLayout.RowSelectorsDefault = Infragistics.WebUI.UltraWebGrid.RowSelectors

    .Yes;

    This line should be included after the DataSource of the Grid is defined. If you are handling the InitializeLayout event, then that should be the perfect place for this.

    Please let me know if you have any questions or concerns.

    Thanks

     

     

Children
No Data