Backspace key getting sent to browser

Add-in Express™ Support Service
That's what is more important than anything else

Backspace key getting sent to browser
using Telerik radDropdownList in a toolbar causes page to go back 
Kyle Bohannon




Posts: 12
Joined: 2015-11-06
Hello,

I have a new issue that has come up with using our custom Telerik RadDropdownlist control in the add-in express toolbar.
The control works when typing a word into it, it has built in autocomplete which comes up and shows the possible suggestions and does type-ahead as well.

However when trying to backspace while the autocomplete dropdown is open, the backspace is sent to the browser and causes the page to go back in one page in the history.
Not only that, because it is going to IE instead of the dropdown, it will not backspace while the dropdown is open.

In investigating this further, I see that whenever i press a normal key it fires Keydown and Keyup events, keydown is Raddropdownlistelement, keyup is raddropdownlist which is the wrapper for the control collection
when pressing backspace, only the keyup on raddropdownlist is fired and the backspace goes to the browser and doesn't delete a letter from the textbox in the raddropdownlist control.

Now I know you probably don't deal with Telerik controls, but any ideas how I can suppress the backspace from getting to the browser?

I will be sending the same question to telerik as well.
Posted 10 Nov, 2015 17:33:12 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Hi Kyle,

Is the base class of Telerik controls 'System.Windows.Forms.Control' class?
Posted 11 Nov, 2015 04:46:02 Top
Kyle Bohannon




Posts: 12
Joined: 2015-11-06
If I drill down enough it looks like it gets back to the System.Windows.Forms.Control.
RadDropDownList inherits from RadControl which inherits from ScrollableControl which inherits from Control
Posted 11 Nov, 2015 08:34:37 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Hi Kyle,

Please send me a simple project that reproduces this issue. I will try to find a solution.
Posted 12 Nov, 2015 11:17:34 Top
Kyle Bohannon




Posts: 12
Joined: 2015-11-06
Thanks, I sent a sample yesterday using your contact support service page.
Posted 13 Nov, 2015 08:10:39 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Hi Kyle,

Thank you for the project. I fixed the issue.
We will publish a new build next week. Please wait a little.
Posted 13 Nov, 2015 10:40:50 Top
Kyle Bohannon




Posts: 12
Joined: 2015-11-06
The new build is great! You guys are awesome.

Thanks for the help.
Posted 18 Nov, 2015 10:55:18 Top
Andrei Smolin


Add-in Express team


Posts: 14129
Joined: 2006-05-11
Thank you!

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 19 Nov, 2015 02:50:30 Top