When setting ComboBox Text attribute in code behind not affecting client control value

2 posts, 0 answers
  1. hkdave95
    hkdave95 avatar
    245 posts
    Member since:
    Nov 2006

    Posted 01 Feb 2008 Link to this post


    I am setting my ComboBox Text attribute in code behind, however, it does not seem to be updating the control.

    i.e. ComboBox.Text = "Test" does not update control on web page.

    I ahve set AllowCustomText="true".

    Any ideas ?

    Kind Regards

  2. Veselin Vasilev
    Veselin Vasilev avatar
    2992 posts

    Posted 04 Feb 2008 Link to this post

    Hi David,

    In which event do you try to set the Text property?

    It will work in Page_Load for example, but will not work in ItemsRequested event because the changes are lost after the callback.

    Can you explain your case in more detail please?


    All the best,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. DevCraft R3 2016 release webinar banner
Back to Top