voice Capture

2 posts, 0 answers
  1. Troy Clemons
    Troy Clemons avatar
    69 posts
    Member since:
    Apr 2010

    Posted 30 Sep 2014 Link to this post

    on mobile devices when I choose a text box to enter information I can choose the microphone over typing. this works great. I speak the data
    goes into the textbox. the problem is with the autocomplete. typing the search function happens, talking the event is never fired.


    any ideas.

    thanks Troy
  2. Troy Clemons
    Troy Clemons avatar
    69 posts
    Member since:
    Apr 2010

    Posted 30 Sep 2014 Link to this post

    So I figured out how to do it.
    button html code
    <input type="text" oninput="TextChange(this)"  id="bookyear" style="width: 90%; margin-left: 25px; margin-right: 55px; border: none; background-color: white; color: black;" class="k-autocomplete" />

    javascript to handle the TextChange(this)
    function TextChange(tBox) {
                if (event.propertyName !== 'undefined' && tBox.value !== '') {
                    //your code here
                    //alert(tBox.value);
                    var autocomplete = $("#bookyear").data("kendoAutoComplete");
                    autocomplete.dataSource.read();
                    autocomplete.search(tBox.value);
     
               }
            };







  3. Kendo UI is VS 2017 Ready
Back to Top