Hi.
When I open a combobox, selected item is scrolled somewhere in the bottom of dropdown area (Screenshot 1). I need to have selected item scrolled at the very top of that area (Screenshot 2). Is this possible? How can I do that?
Thank you.
Tomas
Some interesting behaviour can be observed when using the search-as-you-type function of the grid and non-string columns.
Is there a generic way to handle these so you can literally search any column using a "contains" approach?
I have bound an external textbox for the filter, but it gives the same result when using the built-in controls. Observations are:
Is there a standard approach that can be utilised for all column types as the benefit to this and me not rolling my own, is the built in template and styling of the highlighted results.
Thank you,
Maurice
Hi All,
I am now trying to have a DatePicker without the year on the TextBlock (only day and month).
I've tried to use StringFormat by puting it on 'dd/MMMM' but it doesn't work.
my code is the following:
<telerik1:RadDatePicker Width="150" x:Name="DatePickerRevision" SelectedDate="{helpers:CultureAwareBinding Model.BauxInfo.DateDerniereRevision, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat='dd/MMMM'}" IsTabStop="True"
ErrorTooltipContent="{helpers:CultureAwareBinding ValidationMetier,Converter= {converters1:ErreurValidationMetierConverter},ConverterParameter=DateDerniereRevision}"
DisplayDate="{helpers:CultureAwareBinding DateClick}" String>
<telerik1:RadDateTimePicker.CalendarStyle>
<Style TargetType="telerik1:RadCalendar" BasedOn="{StaticResource {x:Type telerik1:RadCalendar}}" >
<Setter Property="MonthViewHeaderFormat" Value="MMMM" />
<Setter Property="AreWeekNumbersVisible" Value="False"/>
</Style>
</telerik1:RadDateTimePicker.CalendarStyle>
</telerik1:RadDatePicker>
Please help, is there anything in my code that doesn't let the TextBlock taking the format I need?
thank you
I want to see which of my invalid grid rows are selected.
Basically I am wanting the same thing as this post - https://www.telerik.com/forums/selected-row-highlighting but I am using the VisualStudio2013 theme and trying to make a similar change didn't fix it.
We have VisualizationLayer which has ~2400 item that make moving around the map is very slow
he is code example the resource is DrawingBrush with 2 GeometryDrawing one is arrow another is circle with stroke and fill in different colors. When the zoom level is low (you see more of the map) the map works very slowly. Can you tell me some solution for that?
01.
<
telerik:VisualizationLayer
ItemsSource
=
"{Binding items}"
>
02.
<
telerik:VisualizationLayer.ItemTemplate
>
03.
<
DataTemplate
>
04.
<
Rectangle
Fill
=
"{DynamicResource resource}"
05.
telerik:MapLayer.Location
=
"{Binding Location}"
06.
telerik:MapLayer.ZoomRange
=
"{Binding ZoomRange}"
07.
telerik:MapLayer.BaseZoomLevel
=
"{Binding BaseZoomLevel}"
08.
ToolTip
=
"{Binding FormattedDate}"
Width
=
"16"
Height
=
"16"
RenderTransformOrigin
=
"0,0"
>
09.
<
Rectangle.RenderTransform
>
10.
<
TransformGroup
>
11.
<
TranslateTransform
X
=
"-8"
Y
=
"-8"
/>
12.
<
RotateTransform
CenterX
=
"0"
CenterY
=
"0"
Angle
=
"{Binding Heading}"
/>
13.
</
TransformGroup
>
14.
</
Rectangle.RenderTransform
>
15.
</
Rectangle
>
16.
</
DataTemplate
>
17.
</
telerik:VisualizationLayer.ItemTemplate
>
18.
</
telerik:VisualizationLayer
>
<
telerik:RadGridView
x:Name
=
"RadTreeListView1"
AutoGenerateColumns
=
"False"
IsReadOnly
=
"True"
ItemsSource
=
"{Binding List1, Mode=TwoWay}"
CanUserResizeColumns
=
"True"
CanUserFreezeColumns
=
"False"
RowLoaded
=
"RadTreeListView1_RowLoaded"
>
<
telerik:RadGridView.ChildTableDefinitions
>
<
telerik:GridViewTableDefinition
/>
</
telerik:RadGridView.ChildTableDefinitions
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
...some Columndefinitions />
</
telerik:RadGridView.Columns
>
<
telerik:RadGridView.HierarchyChildTemplate
>
<
DataTemplate
>
<
telerik:RadGridView
x:Name
=
"StrukturListe"
IsFilteringAllowed
=
"False"
CanUserSortColumns
=
"False"
CanUserFreezeColumns
=
"False"
AutoGenerateColumns
=
"False"
ItemsSource
=
"{Binding List2,Mode=TwoWay}"
>
<
telerik:RadGridView.ChildTableDefinitions
>
<
telerik:GridViewTableDefinition
>
<
telerik:GridViewTableDefinition.Relation
>
<
telerik:TableRelation
IsSelfReference
=
"True"
>
<
telerik:TableRelation.FieldNames
>
<
telerik:FieldDescriptorNamePair
ParentFieldDescriptorName
=
"Id"
ChildFieldDescriptorName
=
"ParentId"
/>
</
telerik:TableRelation.FieldNames
>
</
telerik:TableRelation
>
</
telerik:GridViewTableDefinition.Relation
>
</
telerik:GridViewTableDefinition
>
</
telerik:RadGridView.ChildTableDefinitions
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
...some Columndefinitions />
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
</
DataTemplate
>
</
telerik:RadGridView.HierarchyChildTemplate
>
</
telerik:RadGridView
>
Hello! I need to have a TabControl system where the tabs for the panes have 3 different states to them.
- Inactive: Not selected or active
- Selected: The tab is selected, but isn't the active pane
- Active: The tab is selected, but is also active
I want to be able to shift click multiple tabs to make them selected. Then whatever pane has the focus, that would be the Active pane. The reason for this is that I have a filter function that would filter that data this provided to the panes. The user needs to be able to selected multiple tabs that would apply the filters to those selective and active panes.
Thanks!
Hi,
I was wondering if there was any way to prevent double clicking on button?
Currently, when my user double-click on any button in my RibbonView, it tries and starts the process twice, and depending of the process, crashes the app. Is there a way to disable the button until the action is done being executed?
<telerik:RadRibbonButton Command="{Binding AddTravelClaimCommand}" Text="{DynamicResource TravelClaim.NewButton}" LargeImage="{StaticResource icon_addEvent}" Visibility="{Binding CanAddTravelClaim, Converter={StaticResource BooleanToVisibilityConverter}}" ClickMode="Press" />
<telerik:RadRibbonButton Command="{Binding ViewTravelClaimCommand}" Content="{DynamicResource TravelClaim.ViewButton}" LargeImage="{StaticResource icon_preview}" Visibility="{Binding CanViewTravelClaim, Converter={StaticResource BooleanToVisibilityConverter}}" />
<telerik:RadRibbonButton Command="{Binding EditTravelClaimCommand}" Text="{DynamicResource TravelClaim.EditButton}" LargeImage="{StaticResource icon_edit}" Visibility="{Binding CanEditTravelClaim, Converter={StaticResource BooleanToVisibilityConverter}}" />
<telerik:RadRibbonButton Command="{Binding ViewTravelClaimHistoryCommand}" Content="{DynamicResource TravelClaim.ViewHistoryButton}" LargeImage="{StaticResource icon_history}" Visibility="{Binding CanViewTravelClaimHistory, Converter={StaticResource BooleanToVisibilityConverter}}" />
<telerik:RadRibbonButton Command="{Binding WithdrawTravelClaimCommand}" Content="{DynamicResource TravelClaim.WithdrawButton}" LargeImage="{StaticResource icon_withdraw}" Visibility="{Binding CanWithdrawTravelClaim, Converter={StaticResource BooleanToVisibilityConverter}}"/>
<telerik:RadRibbonButton Command="{Binding DeleteTravelClaimCommand}" Content="{DynamicResource TravelClaim.DeleteButton}" LargeImage="{StaticResource icon_delete}" Visibility="{Binding CanDeleteTravelClaim, Converter={StaticResource BooleanToVisibilityConverter}}" />
<telerik:RadRibbonButton Command="{Binding CancelTravelClaimCommand}" Content="{DynamicResource TravelClaim.CancelButton}" LargeImage="{StaticResource icon_cancel}" Visibility="{Binding CanCancelTravelClaim, Converter={StaticResource BooleanToVisibilityConverter}}" />
Thank you so much,
Hi guys,
I am having some issues with binding the DataFormComboBoxField. I am setting the item source of the comboboxfield to a collection that is not stored in the CurrentItem of the RadDataForm. I wish to update the EditableModel with the JobID from the selected drop down value. Also the Combobox should have the item selected base on the item set in the EditableModel on load. Any help would be appreciated.
VIEW MODEL
public class EditableViewModel : ReactiveObject
{
public EditableModel SelectedEntity { get; set; }
public List<JobModel> Collection { get; set; }
}
Models
public class EditableModel
{
public string Name { get; set; }
public int JobId { get; set; }
}
public class JobModel
{
public string Name { get; set; }
public int Id { get; set; }
}
VIEW
<reactiveui:ReactiveWindow
x:Class="TestWpfApplication.MainWindow"
x:TypeArguments="test:EditableViewModel"
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:test="clr-namespace:TestWpfApplication.ViewModels"
xmlns:reactiveui="http://reactiveui.net"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
Title="NuGet Browser" Height="450" Width="800"
mc:Ignorable="d">
<Grid>
<Grid.Resources>
<DataTemplate x:Key="MyTemplate">
<StackPanel>
<telerik:DataFormDataField Label="First Name" DataMemberBinding="{Binding Path=Name, Mode=TwoWay}" />
<telerik:DataFormComboBoxField Label="Job" SelectedValuePath="Id" DisplayMemberPath="Name" DataMemberBinding="{Binding JobId, Mode=TwoWay}" ItemsSource="{Binding Jobs, Mode=TwoWay}"/>
</StackPanel>
</DataTemplate>
</Grid.Resources>
<telerik:RadDataForm AutoGenerateFields="False" x:Name="RadDataForm" EditTemplate="{StaticResource MyTemplate}"/>
</Grid>
</reactiveui:ReactiveWindow>