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

DataboundListBox + Expander = nothing

5 Answers 70 Views
DataBoundListBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Morgan
Top achievements
Rank 1
Iron
Morgan asked on 24 Jul 2013, 08:36 PM
<telp:RadExpanderControl.ExpandableContentTemplate>
      <DataTemplate>
             <telp:RadDataBoundListBox ItemsSource="{Binding ScheduledFlights}"
                            EmptyContent="No Flights. Sync or manually add."
                            SelectedItem="{Binding SelectedFlight, Mode=TwoWay}" 
                            ItemTemplate="{StaticResource FlightsTemplate}"
                            cm:Message.Attach="[Event SelectionChanged] = [Action ScheduledFlightChanged()]">
                 </telp:RadDataBoundListBox>
         </DataTemplate>
</telp:RadExpanderControl.ExpandableContentTemplate>


This will produce a big blank below the expanded content. 
I would expect it would at least expand to show the listbox with content but no...

5 Answers, 1 is accepted

Sort by
0
Morgan
Top achievements
Rank 1
Iron
answered on 24 Jul 2013, 08:51 PM
I have been able to show the second databoundlistbox, but it will not populate with data I know is present in ScheduledFlights, what am I missing? about to say "f it" and move on...
0
Deyan
Telerik team
answered on 26 Jul 2013, 08:23 AM
Hi Morgan,

Thanks for writing.

Based on the code snippets you have pasted I cannot exactly say what happens. It will be great if you manage to isolate the issue in a separate project and send it to us for further investigation.

You will have to open a new support ticket in order to be able to attach files.

Thanks for your time.

Regards,
Deyan
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Arun
Top achievements
Rank 1
answered on 06 Aug 2013, 12:59 AM
Hi, When a new project is created and the sample code from the telerik site is pasted all is fine.

But strangely when i try to copy paste or create a new datatemplate for Expandable control, it just dont get used and become reduntant.

Check the attached screen shot of the xaml file. The data template for content gets used properly bt not the expandable content data template.
0
Deyan
Telerik team
answered on 08 Aug 2013, 07:58 AM
Hello Arun,

I am not quite sure why this happens on your side. Does this prevent you from building and running the project correctly? If yes, could you please send us the project so that we can further investigate the case?

Are you using any custom code analysis plugins that might be causing this?

Regards,
Deyan
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Arun
Top achievements
Rank 1
answered on 10 Aug 2013, 03:27 AM
Hi Deyan, Yes. That was the issue. Its resolved now.
Tags
DataBoundListBox
Asked by
Morgan
Top achievements
Rank 1
Iron
Answers by
Morgan
Top achievements
Rank 1
Iron
Deyan
Telerik team
Arun
Top achievements
Rank 1
Share this question
or