I have a radgridview and a Command to save changes to that view on a button next to it
<
Button
Content
=
"Save"
Margin
=
"0, 0, 8, 0"
Command
=
"{Binding Path=SaveAndNewCommand}"
>
<
Button.CommandParameter
>
<
Binding
ElementName
=
"Registrations"
/>
</
Button.CommandParameter
>
</
Button
>
When I save I want to clear any filters on this RadGridView
So in my Command I fire this in my UI thread when I am done
radGridView.FilterDescriptors.SuspendNotifications();
foreach (GridViewColumn column in radGridView.Columns)
{
column.ClearFilters();
}
radGridView.FilterDescriptors.ResumeNotifications();
I also tried
radGridView.FilterDescriptors.Clear();
but nothing seems to work, the lines aint filtered, but the filter button still shows the filtered state, and if I click on the filter icon, any settings I had before are still set.
Hi All,
We've successfully customised the filter control when using the Popup filter mode, however we now have a requirement for certain grids to have the FilterRow filter mode.
We are struggling to get any customisations when it comes to using a distinct list of filters.
Using the Telerik sample project CustomColumnFilterDescriptor_WPF and setting the Filter Mode to FilterRow demonstrates the problem.
Any guidance please on how we can best approach getting custom filters with FilterRow
Many thanks
Hi, I have a problem with the zooming and scrolling in a simple chart application. My screen has multiple charts (line charts in this particular example), and a Scrollviewer that contains them all. The problem is that when I want to zoom in in a chart it scrolls up and when I zoom out it scrolls down in the same time. I have tried to resolve this problem by checking when the mouse is inside the chart zone and disable the scrollviewer but it didn't work because that disabled my mouse wheel for good..
This is the code I used to disable the mouse wheel for the scrollviewer and pass it to the chart control:
private
UIElement chart;
private
void
MouseLeaveChart(LineChartView lineChartView)
{
// this is triggered when the mouse leaves the chart area
chart =
null
;
}
private
void
MouseEnterChart(RadCartesianChart radCartesianChart)
{
// this is triggered when the mouse enters the chart area
chart = radCartesianChart;
}
private
void
ScrollViewer_OnPreviewMouseWheel(
object
sender, MouseWheelEventArgs e)
{
if
(chart !=
null
)
{
e.Handled =
true
;
var e2 =
new
MouseWheelEventArgs(e.MouseDevice, e.Timestamp, e.Delta);
e2.RoutedEvent = UIElement.MouseWheelEvent;
chart.RaiseEvent(e2);
}
}
Any kind of help is highly appreciated, thank you in advance!
Hi,
I've a floating RadSplitContainer (labeled as B in the photo ) and I need to customize it to make it looks like the panel A, hide the close button, blue background on header, thickness border to 1px... I've tried with sytlesheets and templates but I cannot make it possible.
Code RadDocking:
<
telerik:RadDocking
>
<
telerik:RadSplitContainer
telerik:RadDocking.FloatingLocation
=
"500,50"
InitialPosition
=
"FloatingDockable"
>
<
telerik:RadPaneGroup
>
<
telerik:RadPane
x:Name
=
"TooltipHeader"
CanDockInDocumentHost
=
"False"
CanUserClose
=
"False"
>
<
StackPanel
x:Name
=
"TooltipFloat"
>
</
StackPanel
>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking
>
Regards,
Gerard.
Hi,
I cannot use Chinese IME with RadMaskedTextInput. I tried Microsoft Pinyin as well as Microsoft Quick with no good results. OnLostFocus the control is cleared and ArgumentOutOfRangeException is thrown...
at System.Text.StringBuilder.Insert(Int32 index, String value)
When the control regains focus the Chinese characters are show again but the Value property is never updated...
Are there any workarounds? Any suggestions would great.
Thanks!
I am trying to format the header of the RadGreidView
I
<telerik:RadGridView Margin="10"
x:Name="safeDataGridView"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
ItemsSource="{Binding QueryTable}"
ScrollViewer.VerticalScrollBarVisibility="Visible"
ScrollViewer.HorizontalScrollBarVisibility="Visible"
RowLoaded="safeDataGridView_RowLoaded"
Loaded="safeDataGridView_Loaded" >
<telerik:RadGridView.HeaderRowStyle>
<Style TargetType="telerik:HeaderRowStyle">
<Setter Property="Background">
<Setter.Value>
<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
<GradientStop Offset="0.0" Color="#373638" />
<GradientStop Offset="1.0" Color="#77797B" />
</LinearGradientBrush>
</Setter.Value>
</Setter>
</Style>
</telerik:RadGridView.HeaderRowStyle>
</telerik:RadGridView>
I am fcoming unstuck with the line <Style TargetType="telerik:HeaderRowStyle">. Am I going in the right direction with this and if not could I have a similar simple example of how it is done correctly please.
I want to put a little picture on the RadBarcodeQR;
like attach file
Hi,
can I use PanelBar as a simple container without selection options?
I want use it as a navigator control that help to organize informations and inputs.
Is possible to disable background changes on mouse over, selections...?
Thank's,
marc.