This is a migrated thread and some comments may be shown as answers.

GridViewDataColumn - LostFocus never fires

0 Answers 113 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 03 Mar 2010, 12:22 PM
Hi.. I have the following code.. but the LostFocus never fires. Any ideas ?  thanks

Does not fire on the Weight or Units DataColumns....   


 

 

<telerikPresentation:RadGridView AutoGenerateColumns="False" DataLoadMode="Asynchronous" CanUserInsertRows="True" FrozenColumnCount="1" Height="157" IsFilteringAllowed="False" IsReadOnly="False" Margin="6.5,6,104,6" Name="gridInv_det" ScrollMode="Deferred" telerikPresentation:StyleManager.Theme="Summer" Width="856" ShowGroupPanel="False" Grid.ColumnSpan="2">

 

 

 

<telerikPresentation:RadGridView.Effect>

 

 

 

<DropShadowEffect BlurRadius="0" ShadowDepth="2" />

 

 

 

</telerikPresentation:RadGridView.Effect>

 

 

 

<telerikPresentation:RadGridView.Columns>

 

 

 

<telerikPresentation:GridViewComboBoxColumn DisplayMemberPath="comm_name" SelectedValueMemberPath="comm_name" DataMemberBinding="{Binding comm_name, Mode=TwoWay}" Header="Commodity" Width="235" />

 

 

 

<telerikPresentation:GridViewDataColumn x:Name="weight" LostFocus="weight_LostFocus" DataMemberBinding="{Binding weight, Mode=TwoWay}" Header="Weight" Width="95" />

 

 

 

<telerikPresentation:GridViewDataColumn x:Name="units" LostFocus="units_LostFocus_1" DataMemberBinding="{Binding bale_cnt, Mode=TwoWay}" Header="Units" Width="95" />

 

 

 

<telerikPresentation:GridViewDataColumn DataMemberBinding="{Binding sale_pt, Mode=TwoWay}" Header="Sale P/T" Width="95" DataFormatString="{}{0:C}"/>

 

 

 

<telerikPresentation:GridViewDataColumn DataMemberBinding="{Binding purc_pt, Mode=TwoWay}" Header="Pur. P/T" Width="95" DataFormatString="{}{0:C}" />

 

 

 

<telerikPresentation:GridViewDataColumn DataMemberBinding="{Binding sale, Mode=TwoWay}" Background="Yellow" IsReadOnly="True" Header="Sale Tot." DataFormatString="{}{0:C}" Width="95" />

 

 

 

<telerikPresentation:GridViewDataColumn DataMemberBinding="{Binding cost, Mode=TwoWay}" Background="Yellow" IsReadOnly="True" Header="Pur. Tot." DataFormatString="{}{0:C}" Width="95" />

 

 

 

</telerikPresentation:RadGridView.Columns>

 

 

 

</telerikPresentation:RadGridView>

 

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Jon
Top achievements
Rank 1
Share this question
or