<UserControl x:Class="DeviceReading.Views.DeviceReadingView" xmlns:prism="http://prismlibrary.com/" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" prism:ViewModelLocator.AutoWireViewModel="True">. . . . . . . . . . . . . . . . . . .<StackPanel Grid.Row="0" Grid.Column="0" HorizontalAlignment="Stretch" Margin="0 5 0 3" Orientation="Horizontal"> <CheckBox Content="Gas Velocity" Command="{Binding Path=ShowHideGasVelocityChartViewCommand}" CommandParameter="{Binding Path=IsChecked, RelativeSource={RelativeSource Self}}"/></StackPanel><telerik:RadDocking Grid.Row="1" Grid.Column="0" x:Name="Docking">. . . . . . . . . . . . . . . . . . . <telerik:RadSplitContainer> <telerik:RadPaneGroup> <telerik:RadPane Header="Gas Velocity" IsHidden="{Binding IsGasVelocityChartHidden, Mode=TwoWay}" prism:RegionManager.RegionName="GasVelocityChartRegion" /> </telerik:RadPaneGroup> </telerik:RadSplitContainer>. . . . . . . . . . . . . . . . . . .</telerik:RadDocking>. . . . . . . . . . . . . . . . . . .</UserControl>Where UserControl is Prism UserControl. Below is ViewModel code.
public class DeviceReadingViewModel : BindableBase, IConfirmNavigationRequest{ . . . . . . . . . . public DeviceReadingViewModel(IEventAggregator eventAggregator) { this._eventAggregator = eventAggregator; this.ShowHideGasVelocityChartViewCommand = new DelegateCommand<object>(this.showHideGasVelocityChartView); } // Field and property controlling of the RadPain status (Visible / Hidden) private bool _isGasVelocityChartHidden; public bool IsGasVelocityChartHidden { get { return this._isGasVelocityChartHidden; } set { this.SetProperty(ref this._isGasVelocityChartHidden, value); } } // The command of hidding / visualizing of the RadPain. public DelegateCommand<object> ShowHideGasVelocityChartViewCommand { get; private set; } private void showHideGasVelocityChartView(object parameter) { if ((bool)parameter == true) this.IsGasVelocityChartHidden = false; else this.IsGasVelocityChartHidden = true; }}Thanks,
Ryan
Hi,
If i select a row in the gridview, the selected color is orange and has a red border around it.
How can I remove this border?
The same for the row that is under the mousecursor. The color is than yellow, but it also has red border.
I tried this one but it does not work:
<Style TargetType="telerik:GridViewRow">
<Setter Property="Background" Value="White" />
<Setter Property="Foreground" Value="Black"/>
<Setter Property="BorderThickness" Value="0" />
</Style>
when I use the group by (move a column to the group by header)
there is a empty column added.
How can I hide these?
I need to show unpened RadPanel on event coming form my ViewModel. I tried with RadPanel/RadPanels Content methodes BringIntoView/Focus. But without success. How can i make the radPanel popup from code behind
public void ListIcon(){ var tile = Application.Current.Resources["ListTile"] as Tile; Tiles.Add(tile);}<telerik:Tile x:Key="Calendar" TileType="Double" Background="#FF79256B" Group="Other"> <telerik:RadCalendar x:Name="calendar" FontFamily="Segoe UI" FontSize="10" controls:StyleManager.Theme="Windows8" VerticalAlignment="Top" HorizontalAlignment="Center" SelectionMode="Extended" IsTodayHighlighted="True" ViewsHeaderVisibility="Collapsed" SelectedDate="{Binding SelectedDate, Mode=TwoWay}" Culture="en-US" DayTemplateSelector="{StaticResource EventDayTemplateSelector}"/></controls:Tile>
Everytime a new user is logged in, ListIcon() is called. If I log out and log into a second user the error occurs. May I ask how do I resolve this.
<DataTemplate x:Key="ListBoxDataTemplate"> <StackPanel Orientation="Horizontal"> <TextBlock Text="{Binding FieldName, Mode=TwoWay}" Width="120" /> <telerik:RadAutoCompleteBox Width="197" Name="autoCompBox" Background="Beige" SelectionMode="Multiple" TextSearchMode="StartsWith" TextSearchPath="Code" AutoCompleteMode="Suggest" DropDownItemTemplate="{StaticResource ContactSearchTemplate}" DataContext="{Binding}" ItemsSource="{Binding DataContext.Codes, Mode=TwoWay, RelativeSource={RelativeSource AncestorType=telerik:RadListBox}}" SelectedItems="{Binding Path=AssociatedCodes, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"> </telerik:RadAutoCompleteBox> </StackPanel> </DataTemplate>public List<ReportDataAssociation> ReportDataAssociation { get { return m_reportDataAssociation; } set { m_reportDataAssociation = value; OnPropertyChanged("ReportDataAssociation"); } }string FieldName;ObservableCollection<ReportCodes> AssociatedCodes;Hi telerik support
I have a telerik license for the wpf controls and we are using 2012 version (2012.2.725.40).
Now, i want to try the telerik reports.
For this i'd created a separate solution (Visual studio solution) which contains 2 projects (one for reporting lib and another one for wpf) which is working fine with no issues.
Now the problem is when i try to integrate with my existing wpf application, what i did as follows
1. Added the ReportLib project to the existing solution
2. Added new window for the report in which added a reportViewer control ( as given by the telerik samples, which is also working fine as i said above)
Now the issue is, Since i'm already using telerik controls inside my application, the report viewer is not showing in the window
Can you please help me, how to resolve this?
NOTE: I'd also tried adding the latest dlls( Telerik.Windows.Data.dll, Telerik.Windows.Controls.Input,Telerik.Windows.Controls.Navigation, Telerik.Windows.Controls). by doing so, my existing controls are not working (build error)

I know there's probably a simple solution to this problem but I cant find it for the life of me. Im trying to use RadMap in order to display a floor plan that I can later add points to similar to the demo shown here. The issue that im facing is that I cant get the Floor plan to appear. Ive tried using different images with different sizes and that has yet to yield any results when I run it I simply see a blank canvass with the coordinates. The floor plan is saved as a FloorMap.png and for now I have placed it in my desktop. I was not sure how to set the GeoBounds so I have left them as they appear in the sample used here
<UserControl x:Class="testingxaml.MainPage" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" HorizontalAlignment="Center" VerticalAlignment="Center" mc:Ignorable="d" d:DesignWidth="625" d:DesignHeight="629"> <Grid x:Name="LayoutRoot"> <telerik:RadMap x:Name="xRadMap" NavigationVisibility="Collapsed" ZoomBarVisibility="Collapsed" CommandBarVisibility="Collapsed" Center="42.72481708629, 23.3176519378416"> <telerik:RadMap.Provider> <telerik:UriImageProvider GeoBounds="42.786, 23.17, 25, 14" Uri=file:///C:/Users/*****/Desktop/FloorMap.png/> </telerik:RadMap.Provider> </telerik:RadMap> </Grid></UserControl>
