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