DataboundListBox + Expander = nothing

6 posts, 0 answers
  1. Morgan
    Morgan avatar
    80 posts
    Member since:
    Dec 2009

    Posted 24 Jul 2013 Link to this post

    <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...
  2. Morgan
    Morgan avatar
    80 posts
    Member since:
    Dec 2009

    Posted 24 Jul 2013 Link to this post

    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...
  3. DevCraft banner
  4. Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 26 Jul 2013 Link to this post

    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.
  5. Arun
    Arun avatar
    3 posts
    Member since:
    Jun 2012

    Posted 05 Aug 2013 Link to this post

    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.
  6. Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 08 Aug 2013 Link to this post

    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.
  7. Arun
    Arun avatar
    3 posts
    Member since:
    Jun 2012

    Posted 09 Aug 2013 Link to this post

    Hi Deyan, Yes. That was the issue. Its resolved now.
Back to Top
DevCraft banner