Hi Team,
I am using RadDropDownButton in my project, which conatins 4 items. On selection of any item, one new window pops up.
My problem is, after the selection of item from dropdownbutton, it reamins open.
And our requirement is to close that dropdownlist as soon as selection is made.
Kindly let me know, howe can I achieve this.
I am puting my code here, which will give you better idea.
<telerik:RadDropDownButton>
<telerik:RadDropDownButton.Content>
<StackPanel Orientation="Horizontal">
<Image Source="/Cirrus.Core.UI.Images;component/Images/new.png" Style="{StaticResource ToolBarButtonImage}" />
<TextBlock Text="{Binding Source={StaticResource c}, Path=s.AddANewDevice}" Style="{StaticResource ToolBarButtonText}" />
</StackPanel>
</telerik:RadDropDownButton.Content>
<telerik:RadDropDownButton.DropDownContent>
<ListBox ItemsSource="{Binding DeviceTypes}" DisplayMemberPath="Display" SelectedItem="{Binding SelectedDeviceType, Mode=TwoWay}" Width="132" />
</telerik:RadDropDownButton.DropDownContent>
</telerik:RadDropDownButton>
I am using RadDropDownButton in my project, which conatins 4 items. On selection of any item, one new window pops up.
My problem is, after the selection of item from dropdownbutton, it reamins open.
And our requirement is to close that dropdownlist as soon as selection is made.
Kindly let me know, howe can I achieve this.
I am puting my code here, which will give you better idea.
<telerik:RadDropDownButton>
<telerik:RadDropDownButton.Content>
<StackPanel Orientation="Horizontal">
<Image Source="/Cirrus.Core.UI.Images;component/Images/new.png" Style="{StaticResource ToolBarButtonImage}" />
<TextBlock Text="{Binding Source={StaticResource c}, Path=s.AddANewDevice}" Style="{StaticResource ToolBarButtonText}" />
</StackPanel>
</telerik:RadDropDownButton.Content>
<telerik:RadDropDownButton.DropDownContent>
<ListBox ItemsSource="{Binding DeviceTypes}" DisplayMemberPath="Display" SelectedItem="{Binding SelectedDeviceType, Mode=TwoWay}" Width="132" />
</telerik:RadDropDownButton.DropDownContent>
</telerik:RadDropDownButton>