This is a migrated thread and some comments may be shown as answers.

Get RadMenuComboItem value from parent

1 Answer 138 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Eric Klein
Top achievements
Rank 1
Eric Klein asked on 23 Oct 2012, 04:51 PM
I have a winforms app that has a main page on tha page is a radmenu item with a RadMenuComboItem on it.  Hte only thing else on the screen in a panel where the user controls are loaded into.  What I am trying to do is have it set up so the user can select a client from the RadMenuComboItem, and then all the control that get loaded into the panel will use the selected client to load the data on the screen.  and then when the user changes the client it would reload the the information on what ever control is loaded in the panel?
Would it be better to pass the value on load of the control or have the control access teh parent?  And how can the child get teh slected value from the RadMenuComboItem on the parent

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 23 Jan 2013, 09:12 AM
Hi,

I suppose you want to get the SelectedValue from the RadMenuComboItem. Try the following code snippet.

C#:
string s = RadMenuComboItem1.ComboBoxElement.SelectedValue.ToString();

Hope this helps.

Regards,
Princy.
Tags
Menu
Asked by
Eric Klein
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or