Hello,
I'm working on a custom template of the RadGridView and I styled the SearchPanel to be only a text box part of a user control. The instant search/filtering works correctly, however, it seems that the highlighting doesn't.
While going through the source code, I saw that each column keeps a reference to the SearchPanel, in my case, it seems that this reference is null so the highlighting is not processed.
I simply declare the search panel in my user control and declare the user control as part of my template for RadGridView
<grid:GridViewSearchPanel Grid.Column="1" Style="{StaticResource GridViewSearchPanelStyle}"/>
With a style:
<Style x:Key="GridViewSearchPanelStyle" TargetType="grid:GridViewSearchPanel"> <Setter Property="Margin" Value="5 0 0 1"/> <Setter Property="MaxHeight" Value="28"/> <Setter Property="BorderThickness" Value="1"/> <Setter Property="VerticalContentAlignment" Value="Center"/> <Setter Property="HorizontalContentAlignment" Value="Stretch"/> <Setter Property="HorizontalAlignment" Value="Stretch"/> <Setter Property="Background" Value="{StaticResource GridView_SearchPanelBackground}"/> <Setter Property="BorderBrush" Value="{StaticResource GridView_SearchPanelOuterBorder}"/> <Setter Property="SnapsToDevicePixels" Value="True"/> <Setter Property="Template"> <Setter.Value> <ControlTemplate x:Name="CustomSearch" TargetType="telerik:GridViewSearchPanel"> <Grid UseLayoutRounding="True"> <TextBox x:Name="PART_SearchAsYouTypeTextBox" Text="{Binding SearchText, Mode=TwoWay, Delay=100, UpdateSourceTrigger=PropertyChanged}" MinWidth="160" MaxWidth="200" MaxHeight="25" Margin="0 0 0 1" VerticalContentAlignment="Center" telerik:TextBoxBehavior.UpdateTextOnEnter="True"> <TextBox.IsTabStop> <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="IsTabStop"/> </TextBox.IsTabStop> </TextBox> <telerik:RadButton x:Name="ClearButton" IsTabStop="False" Style="{StaticResource ClearSearchValueButtonStyle}" Command="searchPanel:GridViewSearchPanelCommands.ClearSearchValue"/> </Grid> </ControlTemplate> </Setter.Value> </Setter></Style>
So nothing fancy and for the most part this code is from Telerik's xaml files.
Am I missing something? Do I need to bind something somewhere in order for the highlighting feature to work?
Thank you in advance,
Bastian
I can change the GanttTask item's background color by set its background property. but when I set the task to milestone. it didn't work. it shows original theming color.
How to change the Milestone background color?
Thanks,
-Jacky
Hello everyone.
Currently I'm developing an application for my parents busines and I came to a problem which I can not solve.I am trying to show in the RadCombobox a description (External, Internal) depending on the value I get from SQL (1 or 2). I've try different solutions but I don't know if I am doing something wrong because I am not able to show it.
I have a RadTreeView with an underlying Collection. When I add a new item to that collection I want to set that node into edit mode so the user can immediately enter a name for that node.
After modifying the collection and calling Refresh() on it I call BeginEdit() on the newly created RadTreeViewItem. The item is not set into edit mode though. When I call BeginEdit() on another node, that node is set into edit mode. It seems to be only the newly created item which does not enter the desired state.
Hello,
I'm using RadWindow to show dialog with information. After the dialog opening my software loads data from database, while the process is in progress I would like to show a user all the dialogs, all controls and BusyIndicator. However, I didn't find a correct event to handle. The way I found which should works is to use Activated event, but it didn't helped me. Data loads firstly, and then dialog appears for a user.
The code I use:
View:
<telerik:RadWindow...xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"... > <telerik:EventToCommandBehavior.EventBindings> <telerik:EventBinding Command="{Binding OnActivatedCommand}" EventName="Activated" /> </telerik:EventToCommandBehavior.EventBindings> <telerik:RadBusyIndicator BusyContent="Loading..." IsBusy="{Binding IsBusy}" IsIndeterminate="True"> ... <telerik:RadWindow/>
ViewModel
public class ViewModel: ReactiveObject{ public ViewModel() { OnActivatedCommand = ReactiveCommand.Create(() => { IsBusy = true; Thread.Sleep(5000); //Loading data simulation IsBusy = false; }); } private bool _isBusy; public bool IsBusy { get { return _isBusy; } set { this.RaiseAndSetIfChanged(ref _isBusy, value); } } public ReactiveCommand OnActivatedCommand { get; private set; }}I would like to take the row error indicator icon and display it in a different control (not a gridview). Is this possible?
Hi,
I've created my own Filtering Control how can i change default filter control to my control?
Hello,
I have a radgridview that populates with data from a database. I also have three empty columns for entering in information. The problem I am having is that whenever I enter in information into the columns and click out of the cell, the information disappears and the gridview doesn't update accordingly. I think I have my code set up right, so I'm unsure of what my issue could be. Here is my code for my xaml:
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:DeductionInfoBSAP" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" x:Class="DeductionInfoBSAP.MainWindow" mc:Ignorable="d" Title="MainWindow" Height="482" Width="764.5" Loaded="Window_Loaded"> <Window.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2016;component/Themes/System.Windows.xaml"/> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2016;component/Themes/Telerik.Windows.Controls.xaml"/> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2016;component/Themes/Telerik.Windows.Controls.Input.xaml"/> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2016;component/Themes/Telerik.Windows.Controls.GridView.xaml"/> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Window.Resources> <Grid> <Grid.Resources> <local:ViewModel x:Key="ViewModel"/> </Grid.Resources> <telerik:RadGridView x:Name="gridView" Margin="0,0,0,-454" ScrollViewer.HorizontalScrollBarVisibility="Visible" IsReadOnly="False" AlternationCount="-1" IsManipulationEnabled="True" SelectionChanged="gridView_SelectionChanged" CellEditEnded="gridView_CellEditEnded" CurrentCellChanged="gridView_CurrentCellChanged" /> </Grid></Window>
Here is my code for the gridView_CellEditEnded event which attempts to commit any edits made to those cells:
bool handle = true;
private void gridView_CellEditEnded(object sender, GridViewCellEditEndedEventArgs e)
{
if(e.EditAction == GridViewEditAction.Commit && handle)
{
handle = false;
gridView.Items.EditItem(this.gridView.CurrentItem);
gridView.Items.CommitEdit();
handle = true;
}
}
If anyone is able to help me understand what I'm doing wrong, it would be greatly appreciated. I've read every forum and thread I could on this and could not fix my issue.

I have an application that is extremely close to your ChartView Live data demo. The only real difference is that my data is being fed by the query results of a service and my chart exists in a user control, not the main window. The results are provided back to me in a KeyValue pair list, which I then loop through and parse to get the actual values I need. This in turn is added to a private collection. The chart's collection is a public collection, which is supposed to call and get the private collection. I say supposed to, because at the moment that piece does not work. I can run the code and everything work just fine with no errors, but the moment I bind the data source in the chart's XAML file, I start getting the collection modified error. If I remove the binding, everything runs perfect. I'm currently using UI for WPF R2 2017 SP1.
Is there an actual live data demo where the data is being fed by the results of a query on a timer interval that I can refer to? Everything I have seen thus far are embedded random number generators, which are not realistic in my situation. Thanks.

Hi Team,
I have a requirement to display flow with Arrow line from one coordinate to another in Rad Map. Currently, i am using ArcGisMapProvider in Topographic mode. I am not sure how to achieve this.
As this needs to be done urgently Any help will be appreciated.
Thanks in Advance.