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.

Comboboxadv selectedvalue

Thread ID:

Created:

Updated:

Platform:

Replies:

95278 Jun 29,2010 03:20 PM Jul 2,2010 07:27 AM General Discussion 1
loading
Tags: General Discussion
Genu Smith
Asked On June 29, 2010 03:20 PM

Hi
After binding comboboxadv to a datatable.I try to change selectedvalue eg: mycombo.selectedvalue= 3 ,but nothing occures and selectedvalue remains null.what is wrong?

Regards

Karikalan N [Syncfusion]
Replied On July 2, 2010 07:27 AM

Hi,

You have miss understood about the property
"comboboxAdv.SelectedValue=3". This property that gets or sets the value of the member property specified by the System.Windows.Forms.ListControl.ValueMember property.

You can make use the below MSDN link which makes you clearer.
http://msdn.microsoft.com/en-us/library/system.windows.forms.listcontrol.valuemember.aspx

Here is the simple sample
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=WindowsFormsApplication1-1176648753.zip

Please let me know if you have any concern on this.

Thanks,
Karikalan

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.

;