This is a migrated thread and some comments may be shown as answers.

Select event not fired

8 Answers 311 Views
AutoComplete
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 27 Mar 2012, 08:18 AM
For some weird reason the select event is not fired when i click on the results. Did the following :
 var autoComplete = $("#autoComplete").kendoAutoComplete({
  dataTextField: "name",
select : function(e) { console.log(e); }
...

});
but no joy. Also, i tried binding it afterwards like it suggests on the manual but nothing.
Finally i did the following : 

 autoComplete.popup.element.bind("click", function(e) {
   var index = $(e.currentTarget).index();
   var dataItem = autoComplete.dataSource.view()[index];
    
   console.log(dataItem);
});

but this is a hack job and i would much rather not use it

8 Answers, 1 is accepted

Sort by
0
Rolando Rosales
Top achievements
Rank 1
answered on 02 Apr 2012, 06:47 PM
what version of jquery are you using?

i had the same issue using 1.6.x, upgraded today to 1.7.1 and it now works fine!!

hope this helps,

Rolando
0
Arturo
Top achievements
Rank 1
answered on 04 Apr 2012, 05:54 PM
I'm using jquery 1.7.1 and it still,not firing
0
Yochanan
Top achievements
Rank 1
answered on 08 Apr 2012, 05:23 PM
I have the same issue....
Using jQuery 1.7, Select won't fire.

------------------------------------------------------------------------------
Update: So, this wasn't working for me until i updated my kendo ui library to the latest version.
0
Michael
Top achievements
Rank 1
answered on 10 Apr 2012, 11:09 AM
upgraded to 1.7.1 and still no joy
0
Yochanan
Top achievements
Rank 1
answered on 10 Apr 2012, 11:13 AM
Michael,
You should upgrade to the lastest Kendo UI, not the latest jQuery.
The latest version of kendo ui is 2012.1.322...



0
Joshua
Top achievements
Rank 1
answered on 23 Apr 2012, 04:19 PM
As of kendoui.web.2012.1.322.open-source, the select event still doesn't fire.
It would be nice if you included a non minified kendo.all.js
A response to all of your bugs on your forum (at least acknowledging the bug) would be nice too. Especially given the state of your code base (and dearth of detailed documentation and help on your forums). A simple, "Yes, we are aware of this bug, and we plan to fix it by ..." goes a long way.



0
Michael
Top achievements
Rank 1
answered on 24 Apr 2012, 06:49 AM
This is silly, of course i used the latest version and of course nothing happened. I am greatful for the work you guys do, but if you want to go down the road EXT choose, you need much better documentation and forums. You cannot have a single page documentation for the important stuff, no serious support on the forums and expect to increase your user base. Premium clients will only come after feeling confident enough about your product, thus undertaking serious project and thus coming to you for support. If people bump on a solid wall every step of the way just because of the lack of documentation, then they will turn to other solutions.

My self, i had to go ahead to build one from scratch to do what i wanted to, but i shouldn't have to do that cause i choose to use Kendo. I mean, serious developers knows where they're getting their selves into before they make a choice of framework, but you need to help us out a bit so that when we choose you, we will feel happy about our choice and subsequently spread the word around.

I had to dig deep in your source many a times so far to get an idea of what is going on, and that is even for the most trivial of stuff which should be very well documented. 

I know you guys probably mean well, but you really need to figure out the sort of community you want to build, if you want to build one in the first place.

P.S. Sorry for the long post and for the bad english.
0
Brandon
Telerik team
answered on 24 Apr 2012, 04:17 PM
Hi Michael,

Thanks for your comment, and I wanted to let you know that we agree with you! I posted our Q2 roadmap on the blog last week and as you'll see there, a documentation overhaul is high on the priority list. We're committed to making our documentation second-to-none for exactly the reasons you state. Thanks for your support, and for taking an interest. I hope that you'll continue giving us feedback as the new docs site goes live.

Kind regards,
Brandon
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
AutoComplete
Asked by
Michael
Top achievements
Rank 1
Answers by
Rolando Rosales
Top achievements
Rank 1
Arturo
Top achievements
Rank 1
Yochanan
Top achievements
Rank 1
Michael
Top achievements
Rank 1
Joshua
Top achievements
Rank 1
Brandon
Telerik team
Share this question
or