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

RadGridView ShowinsertRow Error

1 Answer 51 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ravi
Top achievements
Rank 1
Ravi asked on 06 May 2011, 10:08 AM
Hi,

I have a grid, which has two columns and also has one child grid. for the parent row I have showInserRow property set as true. out of the two column one is for a button. as below.

<telerikGridView:RadGridView.Columns>
                <telerikGridView:GridViewDataColumn DataMemberBinding="{Binding OpportunityType}">
                    <telerikGridView:GridViewDataColumn.Header>
                        <TextBlock Text="Opportunity Type" Style="{StaticResource gridViewHeaderStyle}"/>
                    </telerikGridView:GridViewDataColumn.Header>
                    <telerikGridView:GridViewDataColumn.CellTemplate>
                        <DataTemplate>
                            <TextBlock Text="{Binding OpportunityType}"/>
                        </DataTemplate>
                    </telerikGridView:GridViewDataColumn.CellTemplate>
                    <telerikGridView:GridViewDataColumn.CellEditTemplate>
                        <DataTemplate>
                            <TextBox x:Name="txtOpportunityType" Text="{Binding OpportunityType}"></TextBox>
                        </DataTemplate>
                    </telerikGridView:GridViewDataColumn.CellEditTemplate>
                </telerikGridView:GridViewDataColumn>
                <telerikGridView:GridViewColumn x:Name="colOpportunityAction" Width="75" IsReadOnly="True">
                    <telerikGridView:GridViewColumn.CellTemplate>
                        <DataTemplate>
                            <StackPanel x:Name="pnlOpportunityAction" Orientation="Horizontal">
                                <Button x:Name="btnOpportunityDelete" ToolTipService.ToolTip="Delete Opportunity" Tag="{Binding}" Click="btnOpportunityDelete_Click" Height="20" Width="20" IsTabStop="False">
                                    <Image x:Name="imgDelete" Source="../Images/Delete.jpg" Stretch="Fill"></Image>
                                </Button>
                            </StackPanel>
                        </DataTemplate>
                    </telerikGridView:GridViewColumn.CellTemplate>
                </telerikGridView:GridViewColumn>                
            </telerikGridView:RadGridView.Columns>

When i click on the ShowInsertRow, the new row appears and the first column the user can enter value. after user enter value (the first column is still in editmode) if the user double clicks on the second column and then Tab, I am getting an error. see attachment.

I am using Q1, 2011 Version.

Please advice.

Thanks

1 Answer, 1 is accepted

Sort by
0
Yordanka
Telerik team
answered on 06 May 2011, 01:54 PM
Hello David,

Could you try our latest internal build - version .0502? 

Let us know in case the exception still occurs.
 
Best wishes,
Yordanka
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Ravi
Top achievements
Rank 1
Answers by
Yordanka
Telerik team
Share this question
or