Keep RabcomboBox open on Itemchecked postBack event

1 Answer 61 Views
Forum suggestions My glory with telerik controls
Mimi
Top achievements
Rank 1
Mimi asked on 24 Sep 2021, 02:45 PM | edited on 27 Sep 2021, 12:08 PM

 

Hello,

I've been searching a lot for the right solution.

I have an old web application, witch uses Telerik RadComboBoxes in a updatepanel. The items in the combo are check boxes and every time I check one item I call a server side methode to update the data. My problem is that I need to keep the dropp dow list opened and I'm not able to acheave that, I tried with cancel the client event of closing, blur, click, but if I do so the server side methode is not called; another solution was to call a javascript method from the server side method, but I get null on the sender ; I've also trided to call a server side methode from the javascript method in the user control but it's not good beacause the method needs to be static and it's not a good solution for me beacause I have to change a lot in this old project.

I have attached a project with 2 comboBox has an exemple with the problem. If anyone has a solution for me I am all ears.

thank you for you time and help !

 

1 Answer, 1 is accepted

Sort by
0
Mimi
Top achievements
Rank 1
answered on 27 Sep 2021, 02:54 PM
I've found the solution to my probleme, on the event ItemChecked I raise Focus event. In javascript I have a function for OnClientFocus , where I call showDropDown and hideDropDown. Also, I've added the settings on the animation, for collapse and expand. It works like a charm :) Have a nice day !
Tags
Forum suggestions My glory with telerik controls
Asked by
Mimi
Top achievements
Rank 1
Answers by
Mimi
Top achievements
Rank 1
Share this question
or