Hello
I have a problem with recurrence pattern.
Appointments are loaded for a selected timespan (for example April 2015).
The problem is, that I don't see any recurrence-appointments, when the main-appointments are not in the selected timespan, because main-appointments are not loaded and therefore the recurrence-appointments by recurrencerule are also not loaded.
How can I detect all recurrence-appointments for the selected timespan without loading all the main-appointments?
Sincerly
A.Kasar
Hello,
I created a chart view with two trends, each trend has a time series data set of 30000 data points.
It is very slow to render the trends, and is also very slow to zoom in and out.
Is there a way to optimize the render for this kind of data?
Thanks
Hi, dear support.
I am trying to set a custom tooltip for when the mouse is hovering over Gantt Events.
Here is fragment of my code:
...
<Grid DataContext="{StaticResource SchedulerViewModel}">
<controls:RadGanttView x:Name="ganttView"
TasksSource="{Binding Tasks}"
MouseDoubleClick="ganttView_MouseDoubleClick" DataContext="{Binding Tasks}" SelectionChanged="ganttView_SelectionChanged">
<controls:RadGanttView.Resources>
<Style TargetType="{x:Type controls:EventContainer}">
<Setter Property="Background" Value="{Binding OriginalEvent.Background}"/>
<Setter Property="ToolTip" Value="{Binding OriginalEvent.TaskFullDescription}"/>
</Style>
</controls:RadGanttView.Resources>
...
The class property TaskFullDescription bound to the tooltip provides a string with all task details. The property Background provided in the same class - works and changes the Event container background, but the property TaskFullDescription has no effect and only the default tooltip is shown.
What is the proper way of customising a tooltip, when it needs to set a text provided by a method.
Thank you, Sergey
The code is here.
<telerik:RadCartesianChart Zoom="10,1" MaxZoom="20,1000" PanOffset="-10000,0" x:Name="CurveCartesianChart" Palette="Flower" Margin="10" MouseRightButtonDown="CurveCartesianChart_MouseRightButtonDown">
<telerik:RadCartesianChart.HorizontalAxis>
<telerik:CategoricalAxis ShowLabels="True" LabelInterval="5"></telerik:CategoricalAxis>
</telerik:RadCartesianChart.HorizontalAxis>
<telerik:RadCartesianChart.VerticalAxis>
<telerik:LinearAxis ShowLabels="True"></telerik:LinearAxis>
</telerik:RadCartesianChart.VerticalAxis>
<telerik:RadCartesianChart.SeriesProvider>
<telerik:ChartSeriesProvider Source="{Binding CurveDataDicList}">
<telerik:ChartSeriesProvider.SeriesDescriptors>
<telerik:CategoricalSeriesDescriptor CategoryPath="XValue"
ValuePath="YValue"
ItemsSourcePath="Points">
<telerik:CategoricalSeriesDescriptor.Style>
<Style TargetType="telerik:LineSeries">
<Setter Property="StrokeThickness" Value="2"/>
<Setter Property="PointTemplate">
<Setter.Value>
<DataTemplate>
<Ellipse Height="7" Width="7" Stroke="White" Fill="{Binding LineStroke, Mode=TwoWay}"/>
</DataTemplate>
</Setter.Value>
</Setter>
<Setter Property="LegendSettings">
<Setter.Value>
<telerik:SeriesLegendSettings Title="{Binding Name}" />
</Setter.Value>
</Setter>
</Style>
</telerik:CategoricalSeriesDescriptor.Style>
</telerik:CategoricalSeriesDescriptor>
</telerik:ChartSeriesProvider.SeriesDescriptors>
</telerik:ChartSeriesProvider>
</telerik:RadCartesianChart.SeriesProvider>
</telerik:RadCartesianChart>
I want the LineStroke here in the pointtemplate is the line's color, but I can't get it.
Hello,
I'm using the RadTreeView with only ONE root node. My ItemsSource is FolderData. FolderData has only one Item - the root node. I'm using
DragDropManager.AddDragOverHandler(this.FolderRadTreeView, new Telerik.Windows.DragDrop.DragEventHandler(OnDragOver), true);
for allowing the dropping in special nodes.
How can I disable the dropping next to root node? I want to avoid to have more than one root nodes. Is it possible?
I have a gridview with two grouping columns. I want to add some images to the group column header
<t:RadGridView x:Name="WorksGridView" Grid.Column="1"
AutoGenerateColumns="False"
ShowGroupPanel="False"
IsFilteringAllowed="False"
CanUserSortColumns="False"
IsReadOnly="True"
SelectionMode="Single"
SelectionUnit="FullRow"
RowIndicatorVisibility="Visible"
IsSynchronizedWithCurrentItem="True"
RowLoaded="RadGridView_RowLoaded"
GroupRenderMode="Flat"
ItemsSource="{Binding WorksGridBinding, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
SelectedItem="{Binding WokrSelectedItem, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
CurrentItem="{Binding WorkCurrentItem, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" >
<t:RadGridView.GroupDescriptors>
<t:GroupDescriptor Member="Groups" SortDirection="Ascending" />
<t:GroupDescriptor Member="Subgroups" SortDirection="Ascending" >
<t:GroupDescriptor.AggregateFunctions>
<t:CountFunction Caption="Entries count: " />
</t:GroupDescriptor.AggregateFunctions>
</t:GroupDescriptor>
</t:RadGridView.GroupDescriptors>
<t:RadGridView.Columns>
<t:GridViewDataColumn Width="*" HeaderTextAlignment="Center" Header="Works" HeaderCellStyle="{StaticResource HeaderStyle}">
<t:GridViewDataColumn.CellTemplate>
<DataTemplate>
<DataGridCell>
<TextBlock Text="{Binding Title}" FontSize="14" HorizontalAlignment="Left" />
</DataGridCell>
</DataTemplate>
</t:GridViewDataColumn.CellTemplate>
</t:GridViewDataColumn>
</t:RadGridView.Columns>
</t:RadGridView>
I add one polygon, which is about 10km wide and high, and consists of around 20 points. I add it to a VisualizationLayer and zoom in, and at zoom level 17 the application pretty much hangs (extremely slow update). When this happens, the desktop also becomes extremely slow. The polygon is a PolygonData object. This problem does not occur if I zoom in to a location outside the polygon.
It does not matter if I add it to the Items collection or if I use virtualization, the result is same.
Hi.
I tried to use ExportToXlsx to export a grid to Excel. I used your example (below), but it will only export the last item of the grid. Do you have any idea what can be wrong? I have sold it by using Spreadsheet and building the xlsx by looping through each item, but it would be nicer and easier to use ExportToXlsx.
- Odd
string
extension =
"xlsx"
;
SaveFileDialog dialog =
new
SaveFileDialog()
{
DefaultExt = extension,
FileName =
"GiekExport.xlsx"
,
Filter = String.Format(
"{1} files (*.{0})|*.{0}|All files (*.*)|*.*"
, extension,
"Excel"
),
FilterIndex = 1
};
if
(dialog.ShowDialog() ==
true
)
{
using
(Stream stream = dialog.OpenFile())
{
GiekExcelGrid.ExportToXlsx(stream,
new
GridViewDocumentExportOptions()
{
ShowColumnFooters =
false
,
ShowColumnHeaders =
true
,
ShowGroupFooters =
false
,
AutoFitColumnsWidth =
true
});
}
}
Hi,
I'm working on a WPF application. I have a rad docking that contains radpane groups with unpinned docked radpanes. When these fly out and a button is pressed on them, I want to display a sort of overlay like rectangle. My rectangle covers everything in the MainWindow except the radpane that is activated which seems to always show up over my rectangle. Nothing can be clicked on the Mainwindow except that active radpane but I need everything to be under the rectangle without exception AND I need the active radpane to stay visible. Is there a way to have my rectangle be the absolute topmost thing over the unpinned radpane? I've attempted using the ZIndex of the rectangle and putting it on the highest level of the xaml. It works for all the controls of my app except, like I mentionned, the currently active radpane.
Cheers!