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

RadCombobox in DataFormComboboxField

3 Answers 109 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
merlin
Top achievements
Rank 1
merlin asked on 10 Oct 2013, 01:27 PM
Hello,
I working with RadDataForm and Custom template.

I was using this and it was working.
<telerik:DataFormComboBoxField Grid.Row="2" MinHeight="28"
      ItemsSource="{Binding VehicleCategories, Source={StaticResource locationVM}}"
      DataMemberBinding="{Binding VehicleCategory}" DisplayMemberPath="Label"
      SelectedValuePath="Code">
</telerik:DataFormComboBoxField>
But I need to use a RadComboBox For doing some specific stuff so I change my code like this.

<telerik:DataFormComboBoxField Grid.Row="2" MinHeight="28">
 <telerik:DataFormComboBoxField.ContentTemplate>
  <DataTemplate>
   <telerik:RadComboBox
     ItemsSource="{Binding VehicleCategories, Source={StaticResource locationVM}}"
     SelectedItem="{Binding VehicleCategory}" DisplayMemberPath="Label"
     SelectedValuePath="Code"/>
  </DataTemplate>
 </telerik:DataFormComboBoxField.ContentTemplate>
</telerik:DataFormComboBoxField>

But that introduce a problem and the binding on my attribute VehicleCategory is not working anymore.


Any problem with my code? 

I prefer correcting this before introducing a special template for the RadComboBox.

Thank you,

3 Answers, 1 is accepted

Sort by
0
merlin
Top achievements
Rank 1
answered on 10 Oct 2013, 01:44 PM
It's ok, I was doing the binding on the item instead of the value...

Sorry for disturbing with stupid question.
0
Sanjay
Top achievements
Rank 1
answered on 08 Oct 2015, 05:25 AM
Hi,

I am using Radcombo box but while creating a drop down as well as calendar control if user scroll the page the it gets distorted. You guys can check the issue in the screen shots attached.

Can you please provide me a solution for the same?

Waiting for your response.

Thanks & Cheers

Sanjay Kumar
0
Nasko
Telerik team
answered on 12 Oct 2015, 11:10 AM
Hello Sanjay,

We are aware of a similar issue of RadComboBox when it is placed inside a ScrollViewer and it is scrolled outside it - please, check the attached video that demonstrates it. Could you please, confirm if this is the exact same issue, because from the images we could not tell for sure?

Also, as your question is related to RadComboBox and the current forum thread is for RadDataForm could you please submit your question either in a new support ticker or inside the forum thread for RadComboBox - thus your question will be addressed better.

We are looking forward to hearing from you.

Regards,
Nasko
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
DataForm
Asked by
merlin
Top achievements
Rank 1
Answers by
merlin
Top achievements
Rank 1
Sanjay
Top achievements
Rank 1
Nasko
Telerik team
Share this question
or