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

[Solved] GridComboBox don´t display DropDownList

3 Answers 83 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nelson
Top achievements
Rank 1
Nelson asked on 29 Jul 2011, 09:16 AM
Hi,

I use in my code a GridComboBox but i can´t make that it display the dropDownList.

I have this :

<telerik:RadGridView.Columns>
                   <telerik:GridViewDataColumn DataMemberBinding="{Binding EntidadesProp.TiposentidadeProp.DesignacaoProp}" Header="Tipo Entidade" Width="0.15*"/>
                   <telerik:GridViewDataColumn DataMemberBinding="{Binding EntidadesProp.TitulosProp.AbreviaturaProp}" Header="Título" Width="0.15*"/>
                   <telerik:GridViewDataColumn DataMemberBinding="{Binding EntidadesProp.NomeTratamentoProp}" Header="Nome" Width="0.6*"/>
                   <telerik:GridViewComboBoxColumn
                   DataMemberBinding="{Binding IdProp}"
                   SelectedValueMemberPath="Função"
                   DisplayMemberPath="DesignacaoProp"
                   ItemsSource="{Binding OCFuncoesReuniao,Source={StaticResource ConvocadosVM}}"/>


Please look at the picture to see the result.

Thanks in advance.

3 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 29 Jul 2011, 09:21 AM
Hi Nelson,

Everything seems correct on the provided xaml code and based only on it I am not able to see the cause of the issue. May you verify if the IdProp property is available ? Is it a nested property to another object (as those in the first columns) ?  

Best wishes,
Maya
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Nelson
Top achievements
Rank 1
answered on 29 Jul 2011, 09:49 AM
Hi Maya thanks for the quick reply.

I really don´t know why don´t work. my GridViewComboBoxColumn have a different collection of the first columns.

And yes, the IdProp property is available...

0
Maya
Telerik team
answered on 29 Jul 2011, 04:36 PM
Hi Nelson,

Unfortunately, I am not able to suggest any further without additional information. I may suggest you to run through our online documentation and demos for a reference on how to implement GridViewComboBoxColumn. 
Generally, it would be great if you could send us a sample project that illustrates the issue or at least provide some additional relevant code-snippets.  

Best wishes,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
GridView
Asked by
Nelson
Top achievements
Rank 1
Answers by
Maya
Telerik team
Nelson
Top achievements
Rank 1
Share this question
or