UserComboBox hides setted dropdowncontrol

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

Hi,

When I set DropDownControl property of UserComboBox to any other control it hides the other control from the designer and never come back. I attached an printscreen. I am working on the version 1.3.38.0.

I also download the project attached to this thread (http://wisej.com/support/question/initial-test-on-usercombobox). At first, the usercontrol that setted to usercombobox can be seen at design time, but when I resetted the usercontrol to component it also dissappered from the form and I could’nt show it again even though I reseted from the designer.cs.

thank you.

Attachment
  • You must to post comments
1
0

Hi Adil,

the bug (WJ-8117) is fixed in our latest release (1.3.43).

Best regards
Frank

  • You must to post comments
0
0

Thank you. Got the sample.

The custom drop down works well when you don’t use a UserPopup inside the dropdown. Which is correct. The user popup is meant to be used programmatically this.userPoup1.ShowPopup() to show a popup panel in relation to a control.

There is a bug when displaying a context menu in a popup, it seems that when the popup is closed, the context menu is reopened at 0,0. Will log and get it fixed in the next update hopefully.

For the ComboBox in the drop down, I cannot reproduce. I get the data in the drop down. There is a sample I linked before with a complex drop down including datagrids with data. Can you attach a test case showing the other issue you mentioned?

  • Adil Battal KAYA
    Hi Luca, I used splitbutton and userpopup controls together. On userpopup I added combobox and datagridview then I populate their datasources. Now everything works fine like as what I need. :) But when I used the usercombobox instead of splitbutton and panel as a dropdowncontrol the problem still alive. Thank you.
  • You must to post comments
0
0

I created a small project with the same results.

 

Attachment
  • You must to post comments
0
0

Can you attach the test case?

  • Adil Battal KAYA
    Hi Luca, İn addition to my case, when I add a combobox or a datagridview to panel that attached to usercombobox, their datasources’ can be populated but combobox dropdownlist and datagridview never display the data. Thank you.
  • You must to post comments
0
0

This is the second sample. 🙂

Attachment
  • You must to post comments
0
0

Hi Luca,

As you said when I use panel it works perfect. I will use that. But I found another bug I think. Take a look at my animated gif attachmet. When I am using userpopup problem is still alive. I will attach animated gif screen cast in second message.

Thank you.

Attachment
  • You must to post comments
0
0

I can’t reproduce. Try the app attached here: http://wisej.com/support/question/initial-test-on-usercombobox

If you are using a UserPopup as the control attached to the DropDownContol property that is probably the issue. The DropDown part is already a UserPopup. You can use any control, including  panels.

 

  • You must to post comments
0
0

Hi,

thank you for fast fixing. 🙂

I think I found another one. This time, similar problem is seen at runtime.

At first click to usercombobox shows what I need (userpopup) and It seems work perfect. But after second click, it shows nothing.

I am working on the version 1.3.42.0.

thank you.

  • You must to post comments
1
0

Hi Adil,

both bugs (WJ-8087 and WJ-8088) are fixed in the latest release (1.3.40).

Best regards
Frank

  • You must to post comments
0
0

From the image looks like you are using a UserPopup for the UserComboBox. The UserPopup is supposed to be used independently from the UserComboBox, it’s a panel that you can popup programmatically in relation to any other control. The UserComboBox already uses a UserPopup as the drop down.

However, there are 2 bugs: 1) the control assigned at design time is removed from the design surface  – it should be removed only at creation; 2) when detaching the control from the DropDownControl property, the parent is not restored. Logged as WJ-8087 and WJ-8088.

 

  • You must to post comments
Showing 10 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json