What properties in the ultrawebgrid cause the updatecell event to fire?
I had a grid that was working perfectly in 2008 v2 and then I updated to 2008 v3 and now it works differently.
In my grid, I only have one visible column. When the user clicks a cell and it goes into edit mode (uses the webcurrencyedit control). When they exit the cell, it should update (i.e. fire the gridname_updatecell event). It works fine on the first row. On any other row, it does not fire. Here is the relevant datagrid code.
<igtbl:UltraWebGrid ID="uwgDepositList" runat="server" DataSourceID="dsDepositItems" Height="134px" Width="145px" onupdatecell="uwgDepositList_UpdateCell" DataKeyField="ItemID" oninitializelayout="uwgDepositList_InitializeLayout" ><Bands><igtbl:UltraGridBand DataKeyField="ItemID" AllowUpdate="Yes"><Columns><igtbl:UltraGridColumn BaseColumnName="ItemID" DataType="System.Decimal" IsBound="True" Key="ItemID" Hidden="True"><Header Caption="ItemID"></Header></igtbl:UltraGridColumn>
DataType="System.Decimal" Format="$ ###,###,##0.00 " AllowUpdate="Yes">
<Header Caption="Amount">
<RowLayoutColumnInfo OriginX="8" />
</Header>
<CellStyle HorizontalAlign="Right">
</CellStyle>
<Footer>
</Footer>
</igtbl:UltraGridColumn>
</Columns>
<RowTemplateStyle BackColor="White" BorderColor="White" BorderStyle="Ridge">
WidthTop="3px" />
</RowTemplateStyle>
<AddNewRow View="NotSet" Visible="NotSet">
</AddNewRow>
</igtbl:UltraGridBand>
</Bands>
RowHeightDefault="20px" StationaryMarginsOutlookGroupBy="True"
AutoGenerateColumns="False" CellClickActionDefault="Edit"
RowSelectorsDefault="No">
Font-Size="8pt" Height="134px" Width="145px">
</FrameStyle>
<RowAlternateStyleDefault BackColor="#FFFFC0">
<Padding Left="3px" />
<BorderDetails ColorLeft="255, 255, 192" ColorTop="255, 255, 192" />
</RowAlternateStyleDefault>
<EditCellStyleDefault BorderStyle="None" BorderWidth="0px">
</EditCellStyleDefault>
<FooterStyleDefault BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">
WidthTop="1px" />
</FooterStyleDefault>
<HeaderStyleDefault BackColor="LightGray" BorderStyle="Solid">
</HeaderStyleDefault>
Font-Names="Verdana" Font-Size="8pt">
<BorderDetails ColorLeft="White" ColorTop="White" />
</RowStyleDefault>
<AddNewBox>
<BoxStyle BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">
</BoxStyle>
</AddNewBox>
<ActivationObject BorderColor="Black" BorderWidth="">
</ActivationObject>
<FilterOptionsDefault>
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>
BorderStyle="Solid" BorderWidth="1px" CustomRules="overflow:auto;"
Font-Names="Verdana,Arial,Helvetica,sans-serif" Font-Size="11px">
</FilterOperandDropDownStyle>
</FilterOptionsDefault>
</DisplayLayout>
</igtbl:UltraWebGrid>
Hi,
I have the same problem, if you delete the "DataKeyField", it works, bu with "DataKeyField" doesn´t.
Jaimir G.