Textbox within DropDownList

2 posts, 0 answers
  1. Darren
    Darren avatar
    11 posts
    Member since:
    Sep 2014

    Posted 27 Mar 2015 Link to this post

    Hello!

    I have a kendo dropdownlist and a template in it that contains a textbox, but I find the existing dropdownlist events interfere with the textbox.

    A pretty rough, yet fully functional, fiddle here: http://dojo.telerik.com/AripU

    If you click on the "edit" image, you get a textbox but you are unable to click into it. I have managed to focus but the click is still being ignored.

    I was told that b cannot be solved because the widget handles the "mousedown" event in order to keep the focus in the wrapper. Specifically "the widget controls the focus of the wrapper and popup element very restrictively in order to ensure the correct "change" event order when widget is blurred. That is why placing an input element inside the item is not supported. "I wonder if there is a way to override the mousedownn event?

    I am keen to somehow work around this, rather than re-doing the whole thing using a grid so any creative solutions that can help me focus the textbox are very welcome.

    Thanks
  2. Darren
    Darren avatar
    11 posts
    Member since:
    Sep 2014

    Posted 30 Mar 2015 in reply to Darren Link to this post

    Never mind, solved it 
  3. Kendo UI is VS 2017 Ready
Back to Top