3 Answers, 1 is accepted
0
Hi Mariano,
Thank you for contacting Telerik support.
By default these events fire when the user presses a key. For this reason, I would like to kindly ask you to provide me with a sample project which demonstrates your scenario. Additionally, please share with me more details regarding what are you trying to achieve.
I am looking forward your reply.
All the best,
Peter
the Telerik team
Thank you for contacting Telerik support.
By default these events fire when the user presses a key. For this reason, I would like to kindly ask you to provide me with a sample project which demonstrates your scenario. Additionally, please share with me more details regarding what are you trying to achieve.
I am looking forward your reply.
All the best,
Peter
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
0
Arjun
Top achievements
Rank 1
answered on 23 Jan 2015, 04:36 AM
list = $("<ul/>").appendTo(element).mouseover( function(event) {
if(target(event).nodeName && target(event).nodeName.toUpperCase() == 'LI') {
active = $("li", list).removeClass(CLASSES.ACTIVE).index(target(event));
$(target(event)).addClass(CLASSES.ACTIVE);
}
}).click(function(event) {
$(target(event)).addClass(CLASSES.ACTIVE);
select();
// TODO provide option to avoid setting focus again after selection? useful for cleanup-on-focus
input.focus();
checkAutoComplete();
return false;
}).mousedown(function() {
config.mouseDownOnSelect = true;
}).mouseup(function() {
config.mouseDownOnSelect = false;
}).keydown(function(event) {
if (event.keyCode == 13) {
alert("hi");
}
$(target(event)).addClass(CLASSES.ACTIVE);
select();
// TODO provide option to avoid setting focus again after selection? useful for cleanup-on-focus
input.focus();
checkAutoComplete();
return false;
});
key down event is not triggering
if(target(event).nodeName && target(event).nodeName.toUpperCase() == 'LI') {
active = $("li", list).removeClass(CLASSES.ACTIVE).index(target(event));
$(target(event)).addClass(CLASSES.ACTIVE);
}
}).click(function(event) {
$(target(event)).addClass(CLASSES.ACTIVE);
select();
// TODO provide option to avoid setting focus again after selection? useful for cleanup-on-focus
input.focus();
checkAutoComplete();
return false;
}).mousedown(function() {
config.mouseDownOnSelect = true;
}).mouseup(function() {
config.mouseDownOnSelect = false;
}).keydown(function(event) {
if (event.keyCode == 13) {
alert("hi");
}
$(target(event)).addClass(CLASSES.ACTIVE);
select();
// TODO provide option to avoid setting focus again after selection? useful for cleanup-on-focus
input.focus();
checkAutoComplete();
return false;
});
key down event is not triggering
0
Hello Arjun,
This forum concerns Telerik UI for WinForms, while judging by your code, it seems you are using some other technology. I would suggest that you address your question to the appropriate forum in order to get adequate response. The list of the forums is available here: http://www.telerik.com/forums.
If you have having troubles finding the right forum for you, just let me know which product you are using and I will help you find it.
Regards,
Stefan
Telerik
This forum concerns Telerik UI for WinForms, while judging by your code, it seems you are using some other technology. I would suggest that you address your question to the appropriate forum in order to get adequate response. The list of the forums is available here: http://www.telerik.com/forums.
If you have having troubles finding the right forum for you, just let me know which product you are using and I will help you find it.
Regards,
Stefan
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.