Get the selected value from ComboBox

3 posts, 0 answers
  1. trent
    trent avatar
    4 posts
    Member since:
    Aug 2010

    Posted 27 Sep 2010 Link to this post

    Hi there,


    All Im wanting to do is get the value from the combo box when i do a post back so that I know what item was selected. This isnt in the manual but it must be a failry common task.

    Please help.


    Cheers,

    Trent
  2. trent
    trent avatar
    4 posts
    Member since:
    Aug 2010

    Posted 27 Sep 2010 Link to this post

    Well i managed to get this working easily by using RadComboBox1.SelectedValue.


    The problem now is setting the default value back when it loads. There appears to be some kind of bug.


    I set the RadComboBox1.SelectedValue = "ID" when it loads, and it selects it but the text does not populate.


    If i disable EnableAutomaticLoadOnDemand, it works, but with it turned on it will not put my text in the box... Have tried just about everything.

  3. trent
    trent avatar
    4 posts
    Member since:
    Aug 2010

    Posted 27 Sep 2010 Link to this post

    NVM i managed to correct this issue by putting the  code in the RadComboBox1_Load Sub

    (y)
Back to Top