We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ComboBoxAdv will persist the previous status?

Thread ID:

Created:

Updated:

Platform:

Replies:

97823 Jan 12,2011 04:01 AM UTC Jan 21,2011 09:57 AM UTC Windows Forms 9
loading
Tags: Tools
hans.hu
Asked On January 12, 2011 04:01 AM UTC

I am newcome to Syncfusion products. When using ComboBoxAdv, I find the ComboBoxAdv can preserve the previous selected value even if I reset the selectedindex.

For example:
I need to show one dialog with comboboxadv control according to the initial value, Click "Create" button will show the initial information, and Click "Modify" button will show the information that need to be updated.

private Form2 form = new Form2();
private void Reset()
{
form.comboBoxAdv1.SelectedIndex = 0;
form.comboBox1.SelectedIndex = 0;

}

private void buttonAdv1_Click(object sender, EventArgs e)
{
Reset();
form.ShowDialog();
}

private void buttonAdv2_Click(object sender, EventArgs e)
{
Reset();
form.comboBoxAdv1.SelectedIndex = 2;
form.comboBox1.SelectedIndex = 2;
form.ShowDialog();
}

You will find that Microsoft ComboBox can action as expected, but ComboBoxAdv can persist the previous selection instead of my reset.


hans.hu
Replied On January 12, 2011 04:10 AM UTC

Shall I initialize the identical dialog with some codes when I will reclick the "create" button after clicking "modify" button?


Jeraldes J [Syncfusion]
Replied On January 20, 2011 11:38 PM UTC

Hi Hans,

Thanks for ur interest in Syncfusion Products.

Could you please tell us in which version you are evaluating the ComboBoxAdv. Sice the mentioned issue is not reproduced in our new version.

Please let us know if u have any concern.

Regards,
J Jeraldes


hans.hu
Replied On January 21, 2011 01:39 AM UTC

Currently I am using Essential Studio 7.4.0.20.


hans.hu
Replied On January 21, 2011 02:12 AM UTC

Attached is the example.
After you click Update button, you will find this issue when reclick the Create button:
The ComboBoxAdv cannot be reset, it also preserves the previous selectedIndex other than 0.



ComboBoxAdv_f9b2e057.zip

hans.hu
Replied On January 21, 2011 02:13 AM UTC

Attached is the example.
After you click Update button, you will find this issue when reclick the Create button:
The ComboBoxAdv cannot be reset, it also preserves the previous selectedIndex other than 0.



ComboBoxAdv_f6c21aa2.zip

Jeraldes J [Syncfusion]
Replied On January 21, 2011 09:15 AM UTC

Hi Hans,

Thanks for your update.

This issue have been fixed in our 8.2 version. By next month we will be having the Vol1 2011 release. You could check with the release version more updated and features.

If you could request we would update the fix to you in patch formate in your requested version. For that you have to post an incident in Direct Trac regarding the defect through that we will post you the patch.

[Direct Trac Link]
http://www.syncfusion.com/support/directtrac

Please let us know if you need more details.

Regards,
J Jeraldes


hans.hu
Replied On January 21, 2011 09:56 AM UTC

Thanks a lot.


Jeraldes J [Syncfusion]
Replied On January 21, 2011 09:57 AM UTC

Hi Hans,

You are most welcome.

Regards,
J Jeraldes


Jeraldes J [Syncfusion]
Replied On January 21, 2011 09:57 AM UTC

Hi Hans,

You are most welcome.

Regards,
J Jeraldes


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;