Treeview in Combobox

7 posts, 0 answers
  1. Andy Green
    Andy Green avatar
    342 posts
    Member since:
    Aug 2008

    Posted 22 Jul 2011 Link to this post

    I've had a RadTreeview working inside a Radcombobox, and I pre select the tree nodes based on the last value selected using. This has stopped woring since I upgraded to the latest version of the controls.

    Has anyone else noticed this?

    Andy
  2. Andy Green
    Andy Green avatar
    342 posts
    Member since:
    Aug 2008

    Posted 22 Jul 2011 Link to this post

    OK, What have you done, it works again if I remove the EmptyMessage tag.

    A
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Thad
    Thad avatar
    106 posts
    Member since:
    Sep 2010

    Posted 24 Jul 2011 Link to this post

    Hi Andy,

    I suspect that this is related to the same update in Q2-2011 that caused us quite a bit of pain as well.

    In prior releases of the control, if you bind data to a RadComboBox while setting the EmptyMessage property on the control the first item that was bound was automatically selected and the SelectedIndex was 0.

    In the most recent release, the same code no longer selects the first item, and the SelectedIndex is -1.

    In my opinion, this should have been noted as a breaking change in the release because we have tons of code that "broke" because core functionality changed.

    Telerik's suggestion on my post was to change our binding code, so we automatically set SelectedIndex to 0 after binding, which sort-of works.  Some of the time.  :-)

    Anyway, hopefully this helps you track down the problem you are having a little easier.

    Good luck,
    Thad
  5. Kalina
    Admin
    Kalina avatar
    918 posts

    Posted 25 Jul 2011 Link to this post

    Hi Thad,

    At the RadComboBox section in Q2 2011 (version 2011.2.712) Release Notes the new EmptyMessage improvement has been already described:
    Added: Improved EmptyMessage to show regardless of the value of the AllowCustomText and EnableLoadOnDemand properties

    All the best,
    Kalina
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  6. Thad
    Thad avatar
    106 posts
    Member since:
    Sep 2010

    Posted 25 Jul 2011 Link to this post

    Hi Kalina,

    Yes, we saw that in the release notes prior to upgrading, but had no clue the magnitude of changes necessary on our part if we were to implement the upgrade.  Unless it is specifically noted, we expect core functionality to remain the same.

    Based on the forum post that I submitted regarding this issue, I understand the reason the change was necessary in order to accomplish the task you were trying to accomplish and I understand how to work around the change.  But the honest truth is that after upgrading to the Q2 release our entire site needed to be retested because almost 95% of the RadComboBoxes no longer functioned as they did before, and validators no longer caught when an item was not selected.  It's kind of a big deal when that much breaks.  :-)

    But back on topic, it seems that Andy is possibly also experiencing a side-effect of the change.  I was just informing him of that core change so that he could more easily track down the problem within his code and do what is necessary in order to fix it.

    Happy afternoon!
    Thad
  7. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 28 Jul 2011 Link to this post

    Hello Thad,

    Thank you for your feedback.

    It was our mistake to mention the change only in the release notes and not announce it with its complications on a more visible place. We did so just now in the forums.

    Please excuse us for the inconvenience we caused with our omission.

    Greetings,
    Simon
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  8. Thad
    Thad avatar
    106 posts
    Member since:
    Sep 2010

    Posted 28 Jul 2011 Link to this post

    Hi Simon,

    I greatly appreciate the responsiveness of your team to the feedback provided by the user community in these forums.  Many thanks for that!

    Thad
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017