Telerik Forums
UI for WPF Forum
0 answers
76 views
How i can apply horizontal and verticall scrolling on the grid view?

Please reply..
vikas gupta
Top achievements
Rank 1
 asked on 29 Dec 2011
1 answer
115 views
I was wondering if there is a way to hook into how the Ctrl+Tab works in the RadGridView?

Currently the Ctrl+Tab acts just like the Tab and we would like to move focus out of the RadGridView when a user hits Ctrl+Tab.

In .XAML you can define KeyboardNavigation.ControlTabNavigation, but I've had no luck so far with this. Any help would be appreciated.
Dave
Top achievements
Rank 1
 answered on 28 Dec 2011
4 answers
259 views
How we can change "boolean column grouping value" true false to our language. I want to use checkbox in my column, i do not want to change it.


            if (propertyDescriptor.PropertyType == typeof(bool))
            {
                column.DataMemberBinding = new Binding(header.Key);
                ??????
            }
Maya
Telerik team
 answered on 28 Dec 2011
2 answers
327 views
Hi Team,

I would like to know how do i force user input to Upper case for RadCombobox? I didn't find any property as CharacterCasing similar to TextBox.

Thanks in Advance
Ishan
ishan
Top achievements
Rank 1
 answered on 28 Dec 2011
2 answers
342 views
Hi,

I'm looking to dynamically set the ItemsSource property of a SeriesMapping in code-behind. Here's the XAML I'm trying to achieve:
<telerik:SeriesMapping
    x:Name="EventTypeSeries"
    ItemsSource="{Binding EventAlarmLog}">

The code I'd like to use is as follows:
EventTypeSeries.SetBinding(SeriesMapping.ItemsSourceProperty, "EventAlarmLog")

However, there is no function "SetBinding" for a SeriesMapping. I am able to do this in code-behind for the entire chart (which I am doing right now), however I'd like to chart a series from a separate data source and specify bind the "ItemsSource" property of the individual series in code-behind (so that the "ItemsSource" can be dynamically built). How can I do this?

Kind regards,
Dave.
David
Top achievements
Rank 2
 answered on 28 Dec 2011
4 answers
131 views
Hi,

since I upgraded from V2010.3.1314.35 to V2011.2.712.35, when my application start, my expanders show nothing.
In my XAML I placed component into my expander and I set the IsExpanded property to True but when my application shown, the button of my expander indicate me that he is expanded but his size still like he have nothing inside him. If I click on the button to collapsed the expander and then reclick on the button to expand my expander, everything appear!!!

Whan I was with version V2010.3.1314.35 it was ok!!!

Here is the piece of code in my XAML

 

 

<telerik:RadExpander Name="SignCtxSearchExpander" IsExpanded="False" Style="{DynamicResource REF-RadExpanderStyle-Dark}" telerik:RadDockPanel.Dock="Top" Header="{StaticResource SearchFilter}" VerticalAlignment="Top" GotFocus="SignCtxSearchExpander_GotFocus" LostFocus="SignCtxSearchExpander_LostFocus">

 

 

 

<Grid Style="{DynamicResource REF-GridStyle-Dark}">

 

 

 

<telerik:RadDockPanel Style="{DynamicResource REF-RadDockPanelStyle-Dark}">

 

 

 

<Grid Margin="6" telerik:RadDockPanel.Dock="Bottom">

 

 

 

<Grid.ColumnDefinitions>

 

 

 

<ColumnDefinition/>

 

 

 

<ColumnDefinition/>

 

 

 

</Grid.ColumnDefinitions>

 

 

 

<telerik:RadButton Grid.Column="0" HorizontalAlignment="Right" Name="SignCtxBtnSearchByFilters" Content="{StaticResource Search}" Padding="3" Margin="6,0,6,6" Style="{DynamicResource REF-RadButtonStyle-Dark-Main}" Click="SignCtxSearchByFilters_Click" Height="25" />

 

 

 

<telerik:RadButton Grid.Column="1" HorizontalAlignment="Left" Name="SignCtxBtnResetFilters" Content="{StaticResource Reset}" Padding="3" Margin="6,0,6,6" Style="{DynamicResource REF-RadButtonStyle-Dak-Ligth}" Click="SignCtxResetFilters_Click" Height="25" />

 

 

 

</Grid>

 

 

 

<Grid Margin="6" HorizontalAlignment="Center" Style="{DynamicResource REF-GridStyle-Dark}">

 

 

 

<Grid.RowDefinitions>

 

 

 

<RowDefinition/>

 

 

 

<RowDefinition/>

 

 

 

</Grid.RowDefinitions>

 

 

 

<Grid.ColumnDefinitions>

 

 

 

<ColumnDefinition Width="Auto" MinWidth="50" />

 

 

 

<ColumnDefinition Width="Auto" MinWidth="125" />

 

 

 

<ColumnDefinition Width="Auto" MinWidth="100" />

 

 

 

<ColumnDefinition Width="Auto" MinWidth="125" />

 

 

 

<ColumnDefinition Width="Auto" MinWidth="100" />

 

 

 

<ColumnDefinition Width="Auto" MinWidth="125" />

 

 

 

<ColumnDefinition Width="Auto" MinWidth="100" />

 

 

 

<ColumnDefinition Width="Auto" MinWidth="125" />

 

 

 

</Grid.ColumnDefinitions>

 

 

 

<TextBlock Grid.Column="0" Grid.Row="0" HorizontalAlignment="Right" Margin="1" TextWrapping="Wrap" Text="{StaticResource TranscriptionPeriodFrom}">

 

 

 

<TextBlock.Foreground>

 

 

 

<SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ControlTextColorKey}}"/>

 

 

 

</TextBlock.Foreground></TextBlock>

 

 

 

<TextBlock Grid.Column="0" Grid.Row="1" HorizontalAlignment="Right" Margin="1" TextWrapping="Wrap" Text="{StaticResource PeriodTo}">

 

 

 

<TextBlock.Foreground>

 

 

 

<SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ControlTextColorKey}}"/>

 

 

 

</TextBlock.Foreground></TextBlock>

 

 

 

<TextBlock Grid.Column="2" Grid.Row="0" HorizontalAlignment="Right" Margin="1" TextWrapping="Wrap" Text="{StaticResource Department}">

 

 

 

<TextBlock.Foreground>

 

 

 

<SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ControlTextColorKey}}"/>

 

 

 

</TextBlock.Foreground>:</TextBlock>

 

 

 

<TextBlock Grid.Column="4" Grid.Row="0" HorizontalAlignment="Right" Margin="1" TextWrapping="Wrap" Text="{StaticResource Modality}">

 

 

 

<TextBlock.Foreground>

 

 

 

<SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ControlTextColorKey}}"/>

 

 

 

</TextBlock.Foreground>:</TextBlock>

 

 

 

<TextBlock Grid.Column="2" Grid.Row="1" HorizontalAlignment="Right" Margin="1" TextWrapping="Wrap" Text="{StaticResource Physician}">

 

 

 

<TextBlock.Foreground>

 

 

 

<SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ControlTextColorKey}}"/>

 

 

 

</TextBlock.Foreground>:</TextBlock>

 

 

 

<TextBlock Grid.Column="6" Grid.Row="0" HorizontalAlignment="Right" Margin="1" TextWrapping="Wrap" Text="{StaticResource VisitNumber}">

 

 

 

<TextBlock.Foreground>

 

 

 

<SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ControlTextColorKey}}"/>

 

 

 

</TextBlock.Foreground>:</TextBlock>

 

 

 

<TextBlock Grid.Column="4" Grid.Row="1" HorizontalAlignment="Right" Margin="1" TextWrapping="Wrap" Text="{StaticResource ReqCode}">

 

 

 

<TextBlock.Foreground>

 

 

 

<SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ControlTextColorKey}}"/>

 

 

 

</TextBlock.Foreground>:</TextBlock>

 

 

 

<CheckBox Grid.Column="6" Grid.Row="1" Name="SignCtxUrgent" HorizontalAlignment="Right" VerticalAlignment="Top">Urgent</CheckBox>

 

 

 

<telerik:RadDatePicker Name="SignCtxFromDate" Margin="1" Grid.Row="0" Grid.Column="1" Height="21" SelectionChanged="SignCtxFromDate_SelectionChanged" />

 

 

 

<telerik:RadDatePicker Name="SignCtxToDate" Margin="1" Grid.Row="1" Grid.Column="1" Height="21" SelectionChanged="SignCtxFromDate_SelectionChanged" />

 

 

 

<telerik:RadComboBox Name="SignCtxDepartment" Grid.Column="3" Height="21" Width="175" ClearSelectionButtonVisibility="Visible" ClearSelectionButtonContent="{StaticResource ClearSelection}" />

 

 

 

<telerik:RadComboBox Name="SignCtxPhysician" Grid.Column="3" Grid.Row="1" Height="21" Width="175" ClearSelectionButtonVisibility="Visible" ClearSelectionButtonContent="{StaticResource ClearSelection}" />

 

 

 

<telerik:RadComboBox Name="SignCtxModality" Grid.Column="5" Height="21" Width="175" ClearSelectionButtonVisibility="Visible" ClearSelectionButtonContent="{StaticResource ClearSelection}" />

 

 

 

<telerik:RadMaskedTextBox Name="SignCtxReqCode" Grid.Column="5" Grid.Row="1" Height="21" Width="175" MaskType="None" />

 

 

 

<telerik:RadMaskedTextBox Name="SignCtxVisitNumber" Grid.Column="7" Grid.Row="0" Margin="1" Width="125" MaskType="None" />

 

 

 

</Grid>

 

 

 

</telerik:RadDockPanel>

 

 

 

</Grid>

 

 

 

</telerik:RadExpander>

 


Thank's
Petar Mladenov
Telerik team
 answered on 28 Dec 2011
3 answers
156 views
Hi,

I have added a crosshair(which is actually a line serie) to RadChart and currently I have functionality that crosshair follows the mouse cursor when I move cursor over the chart area, that seems to work ok.

But now I need to change that functionality. Instead of following the mouse cursor I need to "drag" the crosshair and then move it to another location on the chart.

Any idea how can I do that?

I have trying to add onDrag event to crosshair series but for some reason I cannot do that?!
Evgenia
Telerik team
 answered on 28 Dec 2011
5 answers
159 views
I placed Datafilter on Popup window, which return FilterDescriptor. After that i add FilterDescriptor to Gridview. Up to now its working nice. If I again open popup, I want to set previous filter on Datafilter control, AS FilterDescriptor property of DataFilter is read only, kindly help me.

One other thing, I am using EditorTemplateSelector for custom input filter such as Combobox. Every time when I define EditorTemplateSelector for individual Item, it become hardcoded. I want a generic solution. DataFilter that I am using can have any collection, so its very difficult for me handle this situation. Can you send me sample solution, where i can use generic EditorTemplateSelector.
Kamran
Top achievements
Rank 3
Iron
Iron
Veteran
 answered on 28 Dec 2011
2 answers
84 views
Hi there,
I'm Using RadTreeView.It have a default ScrollView of Telerik,and it works well except on a touch screen,does it support when I touchmove the TreeViewPanel,then the ScrollViewer Scroll?Thanks!

Best Wishes,
Sky
Yu
Top achievements
Rank 1
 answered on 28 Dec 2011
9 answers
416 views
Hi,
I is there a way to have custom tool tips for each comboboxitem in the combobox ?

<telerik:RadComboBox Name="comboWorkingPlan" Height="20" Width="100"
DisplayMemberPath="Name"
SelectionChanged="comboWorkingPlan_SelectionChanged"
SelectedItem="{Binding Source={StaticResource MainUIDataSource}, Path=Class, Mode=TwoWay}"
ItemsSource="{Binding Source={StaticResource MainUIDataSource}, Path=PlansDataSource.AllClasses}" Initialized="comboWorkingPlan_Initialized"/>

Lets say I have a property called "Description" for each Class, would I be able to display that as a tooltip ?

Cheers
Kristján
Siva Prakash
Top achievements
Rank 1
 answered on 27 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?