This question is locked. New answers and comments are not allowed.
hi,
i want to use a gridview as dropdowncontent of a splitbutton, but the functions of the grid are not working there. if grouping or filtering occurs, the application doesn't work any more and the webbrowser freezes. how can i add the gridview to the dropdowncontent to get this work? i have also tried wrapping a contextmenu around the grid but this didn't help either ...
thats my code:
<telerik:RadRibbonSplitButton x:Name="btnEditErrors" Text="Edit" Size="Large" telerik:ScreenTip.Title="Select an error" telerik:ScreenTip.Description="Select an error and assign it to an open task.">
<telerik:RadRibbonSplitButton.DropDownContent>
<!--<Controls:RadContextMenu BorderThickness="0" x:Name="radContextMenuError">-->
<Controls1:RadGridView x:Name="grid_errors" ItemsSource="{Binding}" SelectionMode="Single" MaxHeight="250" MaxWidth="400" SelectionChanged="GridErrors_SelectionChanged" AutoGenerateColumns="False" Margin="5" IsReadOnly="True">
<Controls1:RadGridView.Columns>
<Controls1:GridViewDataColumn Header="Error" DataMemberBinding="{Binding Text}"></Controls1:GridViewDataColumn>
<Controls1:GridViewDataColumn Header="Group" DataMemberBinding="{Binding ParentKeyName}"></Controls1:GridViewDataColumn>
</Controls1:RadGridView.Columns>
</Controls1:RadGridView>
<!--</Controls:RadContextMenu>-->
</telerik:RadRibbonSplitButton.DropDownContent>
</telerik:RadRibbonSplitButton>
a second question: how can i close the dropdowncontent when a value in the grid is selected?
thx in advance
i want to use a gridview as dropdowncontent of a splitbutton, but the functions of the grid are not working there. if grouping or filtering occurs, the application doesn't work any more and the webbrowser freezes. how can i add the gridview to the dropdowncontent to get this work? i have also tried wrapping a contextmenu around the grid but this didn't help either ...
thats my code:
<telerik:RadRibbonSplitButton x:Name="btnEditErrors" Text="Edit" Size="Large" telerik:ScreenTip.Title="Select an error" telerik:ScreenTip.Description="Select an error and assign it to an open task.">
<telerik:RadRibbonSplitButton.DropDownContent>
<!--<Controls:RadContextMenu BorderThickness="0" x:Name="radContextMenuError">-->
<Controls1:RadGridView x:Name="grid_errors" ItemsSource="{Binding}" SelectionMode="Single" MaxHeight="250" MaxWidth="400" SelectionChanged="GridErrors_SelectionChanged" AutoGenerateColumns="False" Margin="5" IsReadOnly="True">
<Controls1:RadGridView.Columns>
<Controls1:GridViewDataColumn Header="Error" DataMemberBinding="{Binding Text}"></Controls1:GridViewDataColumn>
<Controls1:GridViewDataColumn Header="Group" DataMemberBinding="{Binding ParentKeyName}"></Controls1:GridViewDataColumn>
</Controls1:RadGridView.Columns>
</Controls1:RadGridView>
<!--</Controls:RadContextMenu>-->
</telerik:RadRibbonSplitButton.DropDownContent>
</telerik:RadRibbonSplitButton>
a second question: how can i close the dropdowncontent when a value in the grid is selected?
thx in advance