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
180
firing the updatecell event
posted

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>

 

<igtbl:UltraGridColumn BaseColumnName="Amount" IsBound="True" Key="Amount" EditorControlID="txtCheckAmount" Width="130px"

DataType="System.Decimal" Format="$ ###,###,##0.00 " AllowUpdate="Yes">

<Header Caption="Amount">

<RowLayoutColumnInfo OriginX="8" />

</Header>

<CellStyle HorizontalAlign="Right">

</CellStyle>

<Footer>

<RowLayoutColumnInfo OriginX="8" />

</Footer>

</igtbl:UltraGridColumn>

 

</Columns>

 

 

 

<RowTemplateStyle BackColor="White" BorderColor="White" BorderStyle="Ridge">

<BorderDetails WidthBottom="3px" WidthLeft="3px" WidthRight="3px"

WidthTop="3px" />

</RowTemplateStyle>

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

</AddNewRow>

</igtbl:UltraGridBand>

</Bands>

<DisplayLayout BorderCollapseDefault="Separate" Name="UltraWebGrid1"

RowHeightDefault="20px" StationaryMarginsOutlookGroupBy="True"

TableLayout="Fixed" Version="4.00" AllowUpdateDefault="Yes"

AutoGenerateColumns="False" CellClickActionDefault="Edit"

RowSelectorsDefault="No">

<FrameStyle BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana"

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">

<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px"

WidthTop="1px" />

</FooterStyleDefault>

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

<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px"

WidthTop="1px" />

</HeaderStyleDefault>

<RowStyleDefault BorderColor="Gray" BorderStyle="Solid" BorderWidth="1px"

Font-Names="Verdana" Font-Size="8pt">

<Padding Left="3px" />

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

</RowStyleDefault>

<AddNewBox>

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

<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px"

WidthTop="1px" />

</BoxStyle>

</AddNewBox>

<ActivationObject BorderColor="Black" 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 Children
No Data