I am using a ribbonbar and under my view tab I have a Theme Section with a radDropDownListElement. I loaded it with all the Themes I want to allow, but when I run the application the following occurs.
the default value is blank, I would like it to show my current setting.
When I click on the dropdown all the themes I entered are visable.
When I select one the value changes visually on the screen to what is selected.
I have put breaks in the code below, but the application never stops.
private void radDropDownListElement1_SelectedValueChanged(object sender, EventArgs e)
{
ThemeResolutionService.ApplicationThemeName = radDropDownListElement1.Name;
}
private void radDropDownListElement1_Click(object sender, EventArgs e)
{
ThemeResolutionService.ApplicationThemeName = radDropDownListElement1.Name;
}
So the long and the short is how do I capture what is selected to get the theme to change for the user.
Thanks