Text Binding

4 posts, 0 answers
  1. MiddleTommy
    MiddleTommy avatar
    163 posts
    Member since:
    Nov 2009

    Posted 20 May 2010 Link to this post

    I am trying to bind to the Text of a RadCombobox. It works ok but when I change the binding source the combobox says that the value of Text can not be null.
    I wish to use the RadComboBox to be a TextBox where the user can type any value and it will be saved into a list of items that is the items source of the RadComboBox for autocompletion of previously entered items. So the Text is separate from the Current SelectedItem.
    Any thoughts on how to do this or should I use a different control?
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 21 May 2010 Link to this post

    Hi TWT,

    We have received similar bug reports from other clients, but we weren't able to reproduce the problem with a simple application. Could you please, open a new support ticket and send us a simple application, that could be used to observe the exception?

    Greetings,
    Valeri Hristov
    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. pompomJuice
    pompomJuice avatar
    16 posts
    Member since:
    May 2010

    Posted 19 Oct 2010 Link to this post

    Any solutions yet?

    I am  trying to do what MiddleTommy is doing too. Say you have a entity and you display it's properties as a list of controls in a dataform. Some of these properties might be of a Type kind. Product.Category for example. When when you add a new product, the product's category has not been set yet which causes the Radcombobox to fail.

    Therefore, binding the RadCombobox.TextProperty to a property on the VM that can sometimes return "" or null, causes Radcombobox to fail.

    Should it not return to a state where it displays EmptyText?
  5. George
    Admin
    George avatar
    1332 posts

    Posted 22 Oct 2010 Link to this post

    Hi Werner,

    I answered you in the other thread as well. Anyway, we will greatly appreciate a sample project of yours. It will definitely help us in further resolving the problem. 


    Greetings,
    George
    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
Back to Top