default value of a radcombobox

3 posts, 0 answers
  1. tim
    tim avatar
    7 posts
    Member since:
    Mar 2011

    Posted 19 Apr 2011 Link to this post

    Hi, i am creating an edit childwindow with a radcombobx in it.

    now users select certain data from a  hierarchical treeview and the screen pops up .
    i am able to fill the combobox with the desired data , however i want to select the parent of the selected item in the combobox
    by default.
    i've tried like


    /*headindustry is the child and industry is the parent */
    industry s =headindustry.industry
    combobox.selecteditem = s;
    combobox.selectedValue =s;
    but nothing seems to work anyone got an idea how to fix it

    p.s.

    i've made my combobox so that it gets the entity and fills the grid , but i've added a datatemplate and within this template is a textblock with a binding on only my description of the entity.
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 25 Apr 2011 Link to this post

    Hi Tim,

    Could you please elaborate more on what exactly your are trying to achieve. Giving us some more details about your scenario will be really helpful for providing you with the best solution.

    Looking forward to your reply.

    Best wishes,
    Konstantina
    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. DevCraft banner
  4. tim
    tim avatar
    7 posts
    Member since:
    Mar 2011

    Posted 26 Apr 2011 Link to this post

    i found the problem did something wrong with the databinding everything is ok now
Back to Top