[SOLVED] Programatically show ComboBox drop list?

Please post public support tickets here. Note: for private support tickets, please send an email to support@cshtml5.com instead.
rkmore
Posts: 55
Joined: Mon Dec 07, 2015 1:53 pm

[SOLVED] Programatically show ComboBox drop list?

Postby rkmore » Sat May 14, 2016 1:57 pm

Is there any way to programatically drop down the list of a ComboBox?

IsDropDownOpen or something like it does not seem to be present.

Thank you

RKM

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: Programatically show ComboBox drop list?

Postby JS-Support @Userware » Sun May 15, 2016 8:51 pm

Hi

The default ComboBox implementation uses the native "select" HTML tag, which has many advantages including the fact that on mobile devices it will open as a special touch-optimized picker.

That native HTML tag does not support being opened programmatically (it is an HTML limitation).

However, in a future version we are going to introduce the ability to have a non-native ComboBox, based on a ControlTemplate. At that moment it will be possible to programmatically open it

Thank you
Regards
JS-Support

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: Programatically show ComboBox drop list?

Postby JS-Support @Userware » Fri Mar 03, 2017 7:32 am

Hi,

This is now possible with the recent versions of the product. The property "IsDropDownOpen" is now available.

You must use the non-html-native ComboBox. Here is an example:

Code: Select all

<ComboBox UseNativeComboBox="False" />


Regards,
JS-Support


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 35 guests

 

 

cron