ExportFormat.Xlsx and ExportFormat.Pdf are now obsolete?
I was using these formats.
Is there a work-around to continue using?
Weren't these formats just introduced last year?
Hello,
I’ve had issue with RadMap Provider cache in my application. My RadMap is connected to a local WMS (Geoserver). I've changed the map on the Geoserver to hide airport locations but it's not displayed in my RadMap (see attachments).
I have set
the attribute "IsTileCachingEnabled
= true" to enable tile caching
(under %APPDATA%/Local/TelerikMapCache).
Then I added a function to clear the MapProvider when requested by the user :
if (_mapProviderWrapper.MapProvider is WmsCustomProvider)
{
var wmsCustomProvider = (WmsCustomProvider)_mapProviderWrapper.MapProvider;
var cacheStorage =
wmsCustomProvider.CacheStorage as FileSystemCache;
if (cacheStorage != null)
{
string cachePath =
cacheStorage.CachePath;
Directory.Delete(cachePath, true);
Directory.CreateDirectory(cachePath);
}
}
But even
when the folder is empty and that I restart the application, RadMap still display
airports which may means that tiles are cached somewhere else.
Is there a
way to force a refresh of a MapProvider after the cache has been cleared?
Thanks!
Etienne
hi my friends
I wanna to change RadBusyIndicator busy content from database record by using foreach loop like this
foreach(rs in records){
RadBusyIndicator .busycontent=rs.SchoolName;
}
but I get last record in RadBusyIndicator busy content note;
because it not waiting
with my thanks
Why would a PreviewMouseDown event prevent the ComboBox from opening?
In using the snippet below and using that event (whether there is any code in the handler or not), the ComboBox will not open. Once the event reference is removed from XAML it works as expected.
What am I missing here?
<telerik:RadComboBox Height=
"23"
Margin=
"12,20,12,0"
VerticalAlignment=
"Top"
DisplayMemberPath=
"LIST_NAME"
IsEditable=
"True"
IsFilteringEnabled=
"True"
IsReadOnly=
"True"
IsTabStop=
"True"
IsTextSearchEnabled=
"True"
ItemsSource=
"{Binding Path=ElementTypes}"
OpenDropDownOnFocus=
"False"
PreviewMouseDown=
"rcb_PreviewMouseDown"
StaysOpenOnEdit=
"True"
TextSearchMode=
"Contains"
/>
<
telerik:RadAutoCompleteBox
Margin
=
"6 0"
x:Name
=
"AttendeeAutoCompleteBox"
Grid.Column
=
"1"
ItemsSource
=
"{Binding Path=AdditionalData.Atts, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
SelectedItems
=
"{Binding Occurrence.Appointment.SelectedAttendees, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
DisplayMemberPath
=
"DisplayName"
TextSearchPath
=
"Search"
Style
=
"{StaticResource MultiAutoBox}"
WatermarkContent
=
"Search ..."
MinHeight
=
"55"
VerticalContentAlignment
=
"Top"
Padding
=
"5"
>
<
telerik:RadAutoCompleteBox.DropDownItemTemplate
>
<
DataTemplate
>
<
Grid
Background
=
"#F7F7F7"
Margin
=
"0"
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
</
Grid.RowDefinitions
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
/>
<
ColumnDefinition
/>
<
ColumnDefinition
/>
<
ColumnDefinition
/>
</
Grid.ColumnDefinitions
>
<
TextBlock
Text
=
"{Binding PersonName}"
FontWeight
=
"Bold"
FontSize
=
"14"
/>
<
TextBlock
Text
=
"{Binding SubName}"
FontWeight
=
"Bold"
FontSize
=
"14"
Grid.Column
=
"2"
/>
<
TextBlock
Text
=
"{Binding RType}"
Grid.Column
=
"1"
/>
<
TextBlock
Text
=
"{Binding SubType}"
Grid.Column
=
"3"
Grid.Row
=
"0"
/>
</
Grid
>
</
DataTemplate
>
</
telerik:RadAutoCompleteBox.DropDownItemTemplate
>
</
telerik:RadAutoCompleteBox
>
public ObservableCollection<
AttendeeSearchDTO
> SelectedAttendees
{
get
{
return this.Storage<
CustomAppointment
>().selectedAttendees;
}
set
{
CustomAppointment storage = this.Storage<
CustomAppointment
>();
if (storage.selectedAttendees != value)
{
storage.selectedAttendees = value;
this.OnPropertyChanged(() => this.SelectedAttendees);
}
}
}
Hello,
I'm using a RadRibbonDropDownButton. Inside, I'm using a RadRibbonDropDownButton.DropDownContent. Inside it, I had put some differents controls.
You can see the begining of my code in '1' attached file.
For example, when I had clicked in a comboBox item, the DropDownContent is closing. But if I click on a radioButton, DropDownContent stays here (is that I want).
Do you know if there is a property who can avoid to close the DropDownContent ?
Thanks you.
Valentin.
Hello all,
wonder if someone can help me to find the solution for get 'PropertyAggregateDescription' into a 'ColumnGroupDescriptions'. This is my code:
<Window.Resources>
<pivot:LocalDataSourceProvider x:Key="LocalDataProvider" AggregatesPosition="Rows">
<pivot:LocalDataSourceProvider.RowGroupDescriptions>
<pivot:PropertyGroupDescription PropertyName="Product Line" />
</pivot:LocalDataSourceProvider.RowGroupDescriptions>
<pivot:LocalDataSourceProvider.ColumnGroupDescriptions>
<pivot:PropertyGroupDescription PropertyName="Value:Net Revenue - Total" />
</pivot:LocalDataSourceProvider.ColumnGroupDescriptions>
<pivot:LocalDataSourceProvider.AggregateDescriptions>
<pivot:PropertyAggregateDescription PropertyName="Net Revenue - Total" StringFormat="C" AggregateFunction="Sum" />
<pivot:PropertyAggregateDescription PropertyName="Cost Total" StringFormat="C" AggregateFunction="Sum"/>
<pivot:PropertyAggregateDescription PropertyName="GM $" StringFormat="C" AggregateFunction="Sum"/>
<pivot:PropertyAggregateDescription PropertyName="GM %" StringFormat="P" AggregateFunction="Sum"/>
</pivot:LocalDataSourceProvider.AggregateDescriptions>
</pivot:LocalDataSourceProvider>
</Window.Resources>
And if you see 'Problem.png' image is what i get. But I want something like the send image 'ThisIsWhatIWant.png', I can do it if I modify my Pivot with the FieldList in run time, just draggin the Values item into 'Column Labels', I need to have this in XAML or C# code, I think that it's something simple, but I just can't do it ):
Can someone help me?
For a given property of type Vector3 (struct). If I set a custom EditorAttribute on the property, the binding with the custom editor's Value will be properly set to TwoWay:
[Editor(
typeof
(Vector3Editor),
"Value"
)]
public
Vector3 Position
{
...
}
If on the other hand use a DataTemplateSelector on the property grid (to avoid having to specify the Editor attribute on every Vector3 property) with the AutoBindBehavior in the DataTemplate, the binding will be OneWay. Looking in ILSpy (PropertyGridEditorFactory.GetBindingMode) it looks to only support TwoWay with primitive types.
I would expect the same BindingMode whether I use the EditorAttribute or a DataTemplateSelector with the AutoBindBehavior.
Thanks!
Hi,
I'm using LayoutControl with DisplayMode="Expander", but when I collapse a group, its content doesn't resize, controls disappear but LayoutControl height doesn'tchange.
I tried to use a WrapPanel to contains controls but it's the same behavior.
Am I missing something ?
This is my XAML
<
Grid
Grid.Row
=
"2"
Grid.Column
=
"0"
Grid.ColumnSpan
=
"2"
Margin
=
"5"
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"550"
/>
</
Grid.RowDefinitions
>
<
telerik:RadLayoutControl
Grid.Row
=
"0"
Grid.Column
=
"0"
Orientation
=
"Vertical"
>
<
telerik:LayoutControlGroup
DisplayMode
=
"Expander"
IsExpanded
=
"True"
IsExpandable
=
"True"
Header
=
"{DynamicResource layTabAccAccountCausalsFlags}"
>
<
WrapPanel
>
<
CheckBox
HorizontalAlignment
=
"Left"
Margin
=
"5,0,0,0"
Height
=
"20"
IsChecked
=
"{Binding Causal.GeneralUse}"
Content
=
"{DynamicResource labTabAccAccountCausalsGenericUse}"
Validation.ErrorTemplate
=
"{StaticResource ErrorTemplate}"
></
CheckBox
>
<
CheckBox
HorizontalAlignment
=
"Left"
Margin
=
"5,0,0,0"
Height
=
"20"
IsChecked
=
"{Binding Causal.IVAUse}"
Content
=
"{DynamicResource labTabAccAccountCausalsIVAUse}"
Validation.ErrorTemplate
=
"{StaticResource ErrorTemplate}"
></
CheckBox
>
<
CheckBox
HorizontalAlignment
=
"Left"
Margin
=
"5,0,0,0"
Height
=
"20"
IsChecked
=
"{Binding Causal.CustomersUse}"
Content
=
"{DynamicResource labTabAccAccountCausalsCustomersUse}"
Validation.ErrorTemplate
=
"{StaticResource ErrorTemplate}"
></
CheckBox
>
<
CheckBox
HorizontalAlignment
=
"Left"
Margin
=
"5,0,0,0"
Height
=
"20"
IsChecked
=
"{Binding Causal.SuppliersUse}"
Content
=
"{DynamicResource labTabAccAccountCausalsSuppliersUse}"
Validation.ErrorTemplate
=
"{StaticResource ErrorTemplate}"
></
CheckBox
>
<
CheckBox
HorizontalAlignment
=
"Left"
Margin
=
"5,0,0,0"
Height
=
"20"
IsChecked
=
"{Binding Causal.ThirdPartsUse}"
Content
=
"{DynamicResource labTabAccAccountCausalsThirdPartsUse}"
Validation.ErrorTemplate
=
"{StaticResource ErrorTemplate}"
></
CheckBox
>
<
CheckBox
HorizontalAlignment
=
"Left"
Margin
=
"5,0,0,0"
Height
=
"20"
IsChecked
=
"{Binding Causal.INTRAUse}"
Content
=
"{DynamicResource labTabAccAccountCausalsINTRAUse}"
Validation.ErrorTemplate
=
"{StaticResource ErrorTemplate}"
></
CheckBox
>
</
WrapPanel
>
</
telerik:LayoutControlGroup
>
<
telerik:LayoutControlGroup
DisplayMode
=
"Expander"
Margin
=
"3"
IsExpanded
=
"True"
IsExpandable
=
"True"
Header
=
"{DynamicResource layTabAccAccountCausalsIVA}"
>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"150"
/>
<
ColumnDefinition
Width
=
"150*"
/>
</
Grid.ColumnDefinitions
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"40"
/>
<
RowDefinition
Height
=
"40"
/>
<
RowDefinition
Height
=
"40"
/>
</
Grid.RowDefinitions
>
<
Label
Grid.Row
=
"0"
Grid.Column
=
"0"
Content
=
"{DynamicResource labTabAccAccountCausalsSign}"
Style
=
"{StaticResource styleLabels}"
/>
<
StackPanel
Orientation
=
"Horizontal"
Grid.Row
=
"0"
Grid.Column
=
"1"
>
<
telerik:RadRadioButton
IsChecked
=
"{Binding Causal.Sign, Converter={StaticResource boolToStringConverter}, ConverterParameter=D}"
Content
=
"{DynamicResource valGive}"
Margin
=
"3"
Width
=
"50"
/>
<
telerik:RadRadioButton
IsChecked
=
"{Binding Causal.Sign, Converter={StaticResource boolToStringConverter}, ConverterParameter=A}"
Content
=
"{DynamicResource valHave}"
Margin
=
"3"
Width
=
"50"
/>
</
StackPanel
>
<
Label
Grid.Row
=
"1"
Grid.Column
=
"0"
Content
=
"{DynamicResource labTabAccAccountCausalsIVABookID}"
Style
=
"{StaticResource styleLabels}"
/>
<
Label
Grid.Row
=
"2"
Grid.Column
=
"0"
Content
=
"{DynamicResource labTabAccAccountCausalsIVASign}"
Style
=
"{StaticResource styleLabels}"
/>
<
StackPanel
Orientation
=
"Horizontal"
Grid.Row
=
"2"
Grid.Column
=
"1"
>
<
telerik:RadRadioButton
IsChecked
=
"{Binding Causal.IVASign, Converter={StaticResource boolToStringConverter}, ConverterParameter=+}"
Content
=
"{DynamicResource valPlus}"
Margin
=
"3"
Width
=
"35"
/>
<
telerik:RadRadioButton
IsChecked
=
"{Binding Causal.IVASign, Converter={StaticResource boolToStringConverter}, ConverterParameter=-}"
Content
=
"{DynamicResource valMinus}"
Margin
=
"3"
Width
=
"35"
/>
</
StackPanel
>
</
Grid
>
</
telerik:LayoutControlGroup
>
<
telerik:LayoutControlGroup
DisplayMode
=
"Expander"
Margin
=
"3"
IsExpanded
=
"True"
IsExpandable
=
"True"
Header
=
"{DynamicResource layTabAccAccountCausalsCounterpart}"
>
<
CheckBox
HorizontalAlignment
=
"Left"
Margin
=
"5,0,0,0"
Height
=
"20"
IsChecked
=
"{Binding Causal.GeneralUse}"
Content
=
"{DynamicResource labTabAccAccountCausalsGenericUse}"
Validation.ErrorTemplate
=
"{StaticResource ErrorTemplate}"
></
CheckBox
>
<
CheckBox
HorizontalAlignment
=
"Left"
Margin
=
"5,0,0,0"
Height
=
"20"
IsChecked
=
"{Binding Causal.IVAUse}"
Content
=
"{DynamicResource labTabAccAccountCausalsIVAUse}"
Validation.ErrorTemplate
=
"{StaticResource ErrorTemplate}"
></
CheckBox
>
<
CheckBox
HorizontalAlignment
=
"Left"
Margin
=
"5,0,0,0"
Height
=
"20"
IsChecked
=
"{Binding Causal.CustomersUse}"
Content
=
"{DynamicResource labTabAccAccountCausalsCustomersUse}"
Validation.ErrorTemplate
=
"{StaticResource ErrorTemplate}"
></
CheckBox
>
<
CheckBox
HorizontalAlignment
=
"Left"
Margin
=
"5,0,0,0"
Height
=
"20"
IsChecked
=
"{Binding Causal.CustomersUse}"
Content
=
"{DynamicResource labTabAccAccountCausalsCustomersUse}"
Validation.ErrorTemplate
=
"{StaticResource ErrorTemplate}"
></
CheckBox
>
</
telerik:LayoutControlGroup
>
</
telerik:RadLayoutControl
>
</
Grid
>