Error in Demo

6 posts, 2 answers
  1. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 23 Aug 2010 Link to this post

    Not an error in the sense that it breaks, more in that it doesn't work as you'd expect.

    Go to the load on demand demo and hover over an item (Mmmm, Teatime Chocolate Biscuits...). Click on the combobox. You'll notice that items 4 and 5 are outside of the boundary of the tooltip itself. Click on one of these 2 items and the tooltip immediately closes without giving you the opportunity to click on the "order" button.

    -- 
    Stuart
  2. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 26 Aug 2010 Link to this post

    Yes? No?

    -- 
    Stuart
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Answer
    Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 27 Aug 2010 Link to this post

    Hello Stuart,

    I was able to reproduce the reported behavior. I have logged it in our PITS and we will do our best to change the demo for the next release of the controls.

    Thank you for the valuable feedback.

    Best wishes,
    Fiko
    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
  5. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 27 Aug 2010 Link to this post

    Fiko,

    Could you post a link to the PITS entry please?

    -- 
    Stuart
  6. Answer
    Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 31 Aug 2010 Link to this post

    Hello Stuart,

    I examined the demo and the scenario you report. The behavior you describe is the expected one in this configuration and it comes from the fact that the dropdown is absolutely positioned and the last two items are outside the boundaries of the tooltip. That is why when you click on those items, the tooltip "understands" that there was a click outside it and this triggers it to close.

    There are a few manners to resolve this and the easiest one is to simply make the dropdown smaller by setting its Height property to a proper value, e.g 80px and this is the way we will modify the demo on our side. Another solution is to use HideEvent="FromCode" or to check the mouse position in the OnClientBeforeHide and cancel the hide if the mouse is over the dropdown. However, since the purpose of the demo is to show LoadOnDemand functionality we prefer to have it as straightforward as possible and not to include such custom code there, furthermore none has complained about this so far. Thus, we will fix the demo by setting height to the dropdown, in case you want to implement one of the other manners and you encounter a problem, contact us again and we will do our best to help.

    Thank you once again for your feedback, we highly appreciate it!



    Best wishes,
    Svetlina
    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
  7. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 31 Aug 2010 Link to this post

    Svetlina,

    Thanks for the update.

    I was simply trying to point out the functionality of the demo was flawed; not that the control was broken.

    You've fixed that my shortening the dropdown, so my work here is done! :-)

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