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.

GridGroupingControl - Comboboxes - SelectedIndex change

Thread ID:

Created:

Updated:

Platform:

Replies:

74881 Jul 1,2008 11:55 PM Jul 4,2008 06:46 AM Windows Forms 3
loading
Tags: Grouping
Sumit Shah
Asked On July 1, 2008 11:55 PM


Hi,

Please suggest a solution for the below scenario;

I have a GridGroupingControl which is bound to a datasource which has 2 columns - Name and Age (coming from the same database table).
Both the columns types are set to ComboBox when the data is bound to the GridGroupingControl

Now what i want is that when the user selects a paricular name from the combobox, the age selection should automatically change to the corresponding name.
As data is already loaded in both comboboxes, basically, the selectedindex of age combobox should be set to selectedindex of name combobox, when the name is changed.

Awaiting your reply.

Thanks and Regards,
Sumit


Jisha Joy [Syncfusion]
Replied On July 2, 2008 04:49 AM

Hi Sumit,

Thank you for your interest in Syncfusion Products.


This can be achieved by using the CurrentCellCloseDropDown event. In the event, the datasource of the second combobox can be changed depending on the value selected in the first combobox.

For implementation, please refer to the following knowledge base article :




http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=102


Please try this and let me know if this helps.

Regards,
Jisha


Sumit Shah
Replied On July 2, 2008 07:17 AM

Hello,
I do not want to change the datasource as the data is loaded fine in both the comboboxes. I just want to change the selectedindex of one combobox as per the selectedindex of the other combobox(when selected value is changed in that combobox).

Can you please propose me some solution?

Thanks,
Sumit

>Hi Sumit,

Thank you for your interest in Syncfusion Products.


This can be achieved by using the CurrentCellCloseDropDown event. In the event, the datasource of the second combobox can be changed depending on the value selected in the first combobox.

For implementation, please refer to the following knowledge base article :




http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=102


Please try this and let me know if this helps.

Regards,
Jisha




Jisha Joy [Syncfusion]
Replied On July 4, 2008 06:46 AM

Hi Sumit,

Thank you for your update.

Please refer the following forum thread that discusses with the similar topic:


http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=42073


Regards,
Jisha


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.

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.

;