

Hi.. again...
I have GridViewComboColumn in a GridView. How can I programatically set focus the combox in the current row and open it?
I have button on a form that addes a new row... so I want to set focus to the combobox so the user can begin entereing.... thanks again
<telerikPresentation:GridViewComboBoxColumn DisplayMemberPath="comm_name" SelectedValueMemberPath="comm_name" DataMemberBinding="{Binding comm_name}" Header="Commodity" Width="175" />
When I edit the control's template at Generics.xaml with the following code, the controls doesn't render.
| <Popup x:Name="PART_Popup" AllowsTransparency="True" IsOpen="{Binding IsDropDownOpen, RelativeSource={RelativeSource TemplatedParent}}" Placement="Bottom" StaysOpen="False"> |
| <Grid x:Name="DropDownRoot"> |
| <telerikInput:RadCalendar x:Name="CalendarElement" /> |
| </Grid> |
| </Popup> |
If I remove the Name it renders, but doesn't have interaction with the other components of the control such as the PickerTextBox.
If I edit the control's template at user control resources all works fine.
Regards and thank you in advance.
| TableRelation relation = new TableRelation(); |
| relation.FieldNames.Add(new FieldDescriptorNamePair("id", "master_id")); |
| GridViewTableDefinition childTable = new GridViewTableDefinition() |
| { |
| DataSource = myDataSet.Tables[childTable].DefaultView, |
| Relation = relation, |
| }; |
| radgv_ordersAndOffersToSchedule.TableDefinition.ChildTableDefinitions.Clear(); |
| radgv_ordersAndOffersToSchedule.TableDefinition.ChildTableDefinitions.Add(childTable); |
| radgv_ordersAndOffersToSchedule.ItemsSource = myDataSet.Tables["masterTable"].DefaultView; |

| <controls:GridViewDataColumn Header="Field 1"> |
| <controls:GridViewDataColumn.CellTemplate> |
| <DataTemplate> |
| <my:CustomControl Text="{Binding Field1}"/> |
| </DataTemplate> |
| </controls:GridViewDataColumn.CellTemplate> |
| </controls:GridViewDataColumn> |
| <controls:GridViewDataColumn Header="Field 1" DataMemberBinding="{Binding Field1}"/> |
| myCell.TextAlignment = TextAlignment.Right; |