How to make RadComboBox selection change work when bound to a DomainDataSource?

4 posts, 0 answers
  1. Jonx
    Jonx avatar
    258 posts
    Member since:
    Jul 2012

    Posted 17 Aug 2010 Link to this post

    I have a gridview with a content that should be filtered by the selected item of a combobox.

    When I change the selected item in the combo, the content of my grid is updated.

    This is working when I use a combobox but not when I use a radcombobox.

    Both comboboxes are declared the same way.
    Maybe I'm missing something...

    The working combobox:
    <ComboBox DisplayMemberPath="ChannelName"
        ItemsSource="{Binding ElementName=channelDetailDomainDataSource, Path=Data}">

    The non working radcombobox:
    <telerik:RadComboBox DisplayMemberPath="ChannelName"
        ItemsSource="{Binding ElementName=channelDetailDomainDataSource, Path=Data}" >

    Here is the domaindatasource:
    <riaControls:DomainDataSource AutoLoad="True" d:DesignData="{d:DesignInstance my:ChannelDetail, CreateList=true}" Height="0" LoadedData="channelDetailDomainDataSource_LoadedData" Name="channelDetailDomainDataSource" QueryName="GetChannelDetailsQuery" Width="0">
            <my:AkDomainContext />

    The linked domaindatasource with its parameter:
    <riaControls:DomainDataSource AutoLoad="True" d:DesignData="{d:DesignInstance my:GridList, CreateList=true}" Height="0" Name="gridListDomainDataSource" QueryName="GetGridProgramListsQuery" Width="0" LoadedData="gridListDomainDataSource_LoadedData">
                                            <riaControls:Parameter ParameterName="channelID" Value="{Binding ElementName=channelDetailDomainDataSource, Path=Data.CurrentItem.ChannelID}" />
                                            <my:AkDomainContext />

    And finally my grid:
    <telerik:RadGridView CanUserFreezeColumns="False" FrozenColumnCount="0" ItemsSource="{Binding ElementName=gridListDomainDataSource, Path=Data}" AutoGenerateColumns="False" Name="grdGridLive">
                                                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Start}" Header="Début" Width="2*" />
                                                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Title}" Header="Nom du Programme" Width="2*" />
                                                    <telerik:GridViewDataColumn DataMemberBinding="{Binding GenreName}" Header="Genre" Width="*" />
                                                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=Duration, Converter={StaticResource millisecondsTimeConverter}}" Header="Durée" Width="*" />

    Maybe the rad combo need more parameters to do the same work?

    Thank you for your help. 

  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 20 Aug 2010 Link to this post

    Hi John,

    Thank you for contacting us.

    Could you please share with us which version of the controls you are using?
    Please upgrade to the latest official release - Q2 2010 SP1 and contact us if you still experience the issue.
    The RadComboBox doesn't need any other parameters to work, so if you have this problem again after the upgrade, could you please send us a sample project, which we can run here locally. In that way we will be able to assist you in the best manner.

    Best wishes,
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  3. Jonx
    Jonx avatar
    258 posts
    Member since:
    Jul 2012

    Posted 20 Aug 2010 Link to this post

    I'm using the latest version I think : 2010.2.812.1040...

    My project is too big to be sent.
    I'll find some time next week to build you a sample and send it.
  4. lee hom
    lee hom avatar
    17 posts
    Member since:
    Jan 2010

    Posted 20 Aug 2010 Link to this post

    your code looks well....

    this is my project, i use radcombobx too,but it's ok.
Back to Top