Set Selected Value

9 posts, 0 answers
  1. Kaleeswara Murthy
    Kaleeswara Murthy avatar
    8 posts
    Member since:
    Mar 2008

    Posted 01 Feb 2010 Link to this post

    Hi,

    Initially i am binding the dropdown control.

    After that based on selection of grid value , i want to select the value of combo box.

    How to set selected value at run time ?

    Regards,
    Kalees
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 01 Feb 2010 Link to this post

    Hello Kaleeswara,

    Thank you for contacting us.

    As we didn't completely understand what exactly you need, attached you will find a sample project in which a ComboBox and a FormView are binded to a GridView. After selecting an item from the GridView the FormView displays more details and the ComboBox only one of the fields of the GridView.

    Please find the attached file and if you have further questions feel free to contact us again.

    Sincerely yours,
    Konstantina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Kaleeswara Murthy
    Kaleeswara Murthy avatar
    8 posts
    Member since:
    Mar 2008

    Posted 01 Feb 2010 Link to this post

    Hi,

    Thanks for your reply.

    I have the combo box. Need to bind city ID and City Name.

    After that i have the city ID.... Need to select the particular cityID as Selected value.
    Regards,
    Kalees
  4. Kaleeswara Murthy
    Kaleeswara Murthy avatar
    8 posts
    Member since:
    Mar 2008

    Posted 02 Feb 2010 Link to this post

    Please update the status for set selected value in combo box
  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 02 Feb 2010 Link to this post

    Hi Kaleeswara,

    Thank you for the question.

    Could you please share with us what exactly in the project sent to you in the previous post doesn't work for you? Will you be able to modify it to fit your needs? If not, can you please provide us with more details about your scenario, so that we can assist you in the best manner.

    Looking forward to your reply.

    Best wishes,
    Konstantina
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
  6. Kaleeswara Murthy
    Kaleeswara Murthy avatar
    8 posts
    Member since:
    Mar 2008

    Posted 02 Feb 2010 Link to this post

    Hi,

    In my combo box , binded the list UserID,UserName.

    UserID-Value Member
    UserName - Display member

    After binding, i need to select the user based on logged in userID.

    Now i have the UserID, i need to select UserName based on logged in UserID.


    Regards,
    Kalees
  7. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 04 Feb 2010 Link to this post

    Hello Kalees,

    Thank you for contacting us.

    Here you can find more information about the selection properties of the ComboBox. Please go through the article and if you have something unclear feel free to ask.
    If the article doesn't help you, could you please modify the project sent to you in one of my previous posts to fit your scenario, open a support ticket and attach it. In that way we will be able to assist you in the best manner.

    If you need any further assistance please feel free to contact us again.


    Best wishes,
    Konstantina
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
  8. Kaleeswara Murthy
    Kaleeswara Murthy avatar
    8 posts
    Member since:
    Mar 2008

    Posted 04 Feb 2010 Link to this post

    Hi,

    Thanks for yor solution.

    I want select the item at runtime based on valuememberpath.

    I have UserID, i want to select the combo item at run time
  9. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 05 Feb 2010 Link to this post

    Hello Kalees,

    Attached you will find a sample project, in which is illustrated how to set the SelectedValue property of the ComboBox at run time.
    Hope this helps.

    Feel free to contact us again if you need further assistance.

    All the best,
    Konstantina
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
Back to Top