Sponsored Ad

Wednesday, September 29, 2010

My Infragistics Grid lost All Style Settings for Dropdowns?

Hi Guys,

I faced a very strange problem while working on a complex infragistics grid. First let me explain what i have on my grid. I have a infragistic grid and containing the dropdowns, checkboxes, images inside the grid column.

I added a new dropdown in the grid column and ran it. Once i click on newly added dropdown and expand it. My all dropdown in the grid loose the style settings.

Then i started comparing with old dropdown in the grid and i found the bug.

actually i forgot to add the the style tag for the newly added dropdown.

<grd:UltraGridColumn BaseColumnName="MyNameList" HeaderText="Name" Key="NAME"
                             Type="DropDownList" Width="100px" >
                             <HeaderStyle HorizontalAlign="Center" />
                             <Header Caption="Name">      </Header>
                              <CellStyle TextOverflow="Ellipsis">                                   
                             </CellStyle>
                             <ValueList>
                                 <Style Font-Names="Arial" Font-Size="8pt"></Style>
                             </ValueList>
                         </grd:UltraGridColumn>

After adding the bold part of the grid column. its started working fine.

0 comments:

Post a Comment

Sponsored Ad

Website Update

Followers