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>
Hi!
I must use FontAwesome in Telerik GridView for WPF - does anyone know how to do it?
FontAwesome: http://fontawesome.io/
Beste regards to all!
m@rko
<telerik:RadDatePicker x:Name="startDate" SelectableDateEnd="{Binding ElementName=endDate, Path=SelectedDate }" /> <telerik:RadDatePicker x:Name="endDate" SelectableDateStart="{Binding ElementName=startDate, Path=SelectedDate }" />Hi,
The line
RtbEditor.ChangeStyleName(style.Name, true);
Works perfectly when Track Changes is disabled. When it is enabled and there are tracked changes in the current paragraph, it works for the first time, but the next time it crashes with the exception
System.ArgumentNullException
Message "Value cannot be null.\r\nParameter name: owner"
at Telerik.Windows.Documents.Model.Styles.DocumentElementPropertiesBase.SetDocumentElementOwner(DocumentElement owner)
at Telerik.Windows.Documents.Model.Styles.ParagraphProperties.SetDocumentElementOwner(DocumentElement owner)
at Telerik.Windows.Documents.Model.Styles.DocumentElementPropertiesBase..ctor(DocumentElement owner)
at Telerik.Windows.Documents.Model.Styles.ParagraphProperties..ctor(DocumentElement owner)
at Telerik.Windows.Documents.Model.Styles.ParagraphProperties.CreateInstance()
at Telerik.Windows.Documents.Model.Styles.DocumentElementPropertiesBase.CopyPropertiesFrom(DocumentElementPropertiesBase fromProperties)
at Telerik.Windows.Documents.Model.Styles.ParagraphProperties.CopyPropertiesFrom(DocumentElementPropertiesBase fromProperties)
at Telerik.Windows.Documents.Commands.Styles.Paragraphs.ClearParagraphFormattingCommand.GetPropertyValue(Paragraph paragraph)
at Telerik.Windows.Documents.Commands.Styles.Paragraphs.ChangeParagraphStyleCommandBase`2.PreserveStateBeforeExecute(TContext context)
at Telerik.Windows.Documents.Commands.UndoableDocumentCommandBase`1.OnExecuting(DocumentCommandContextBase context)
at Telerik.Windows.Documents.Commands.DocumentCommandBase`1.Execute(DocumentCommandContextBase context)
at Telerik.Windows.Documents.Model.RadDocumentEditor.ExecuteChangeStyleNameCommand(StyleType type, String styleName)
at Telerik.Windows.Documents.Model.RadDocumentEditor.ChangeStyleName(String styleName, Boolean useLinkedStyle)
at Telerik.Windows.Controls.RadRichTextBox.ChangeStyleName(String styleName, Boolean useLinkedStyle)
I've made a workaround
var spanstyle = style.LinkedStyle;
var selection = RtbEditor.Document.Selection;
if (!selection.IsEmpty)
foreach (var span in selection.GetSelectedBoxes<SpanLayoutBox>().Select(x => x.AssociatedSpan).Distinct().ToList())
span.Style = spanstyle;
else
{
var paragraph = RtbEditor.Document.CaretPosition.GetCurrentParagraphBox().AssociatedParagraph;
if (paragraph != null)
foreach (var span in paragraph.Inlines.OfType<Span>().ToList())
span.Style = spanstyle;
}
And it seams to be working, but it is kind of hacking.
I'm using version 2016.1.112.45 and haven't tested with the latest one as I don't have time to test if everything else works after the upgrade.
Regards,
Daniel
