Telerik Forums
UI for WPF Forum
2 answers
348 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
400 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
156 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
176 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
171 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
104 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
446 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
2 answers
106 views
hi all
i have an table with id filed that has primary key.
i want when i select an row and click on new row then the new row insert next of selected item and id fields re arrange.
can help?
thankful.
rastin
Top achievements
Rank 1
 answered on 27 Dec 2011
3 answers
114 views
Hi,

in my application I have a docking control with multiple panes. For each pane, their "CanFloat and CanUserPin" properties are bind to a dependency property. Can you tell me if any problem exist between the persistence, the docking and some panegroup/ânes properties?

Also, if I want to implement a "Reload user persistence" button, can you tell me if their something I have to be aware before and after loading the last user persistence such an UpdateLayout or something else???

Thank's
Alex Fidanov
Telerik team
 answered on 27 Dec 2011
6 answers
217 views
I think I found a bug. When an exception is thrown from a binding on a GridViewDataColumn the whole application crashes with the following error line:
Telerik.Windows.Controls.GridView.dll!Telerik.Windows.Controls.GridView.GridViewDataControl.MeasureOverride(System.Windows.Size constraint) Line 6969 + 0x2b bytes

Is this an error in the RadGridView? I tried the same on the .Net integrated DataGrid and it doesn't crash when an exception is thrown by a binding.
Nedyalko Nikolov
Telerik team
 answered on 27 Dec 2011
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?