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

    Hi

    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

    David
  2. Veselin Vasilev
    Admin
    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?

    Thanks

    All the best,
    Veskoni
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top