Telerik Forums
UI for WPF Forum
12 answers
591 views
How can we automatically display dates in the correct format for users, based on their Windows localisation settings?

e.g.
UK: 20/12/2013
NO: 20.12.2013
US: 12/20/2013
etc
Kalin
Telerik team
 answered on 22 Oct 2013
1 answer
103 views
i need to filter column (hold integer value) as string ,
EX: col1 
      1023
      11255
      1269
I need to allow (starts with) in the filter

Any Help Please
Matt
Top achievements
Rank 1
 answered on 22 Oct 2013
3 answers
132 views
Hie,
i had written a small code to view pdf file using radpdfviewer and calling the aspx file on server via IIS..
but the problem is, it taking too much time to load on server..
can its downloading pdf file first then showing pdf?? 
Alexander
Telerik team
 answered on 22 Oct 2013
6 answers
355 views
Hi

I want to achieve some functionality. I have searched the web for over 4 days to find a solution but no luck at all. I am using Q2 2013 WPF components.

I have a MainVM that's creates and binds various VMs (one at a time). One of the VM is personVM with 3 properties Name, IsValid and lets say Age. I have implemented the IDataErrorInfo interface and it is working with PropertyGrid as expected. I have the same personVM for creating and editing person. The Name is required property and I want to force the user to set the Name before setting the Age. Best solution would be to disable Age definition and enable it when user sets the Name. I tried to set Age property definition IsReadOnly property to bind to IsValid, but it gave me an error 2 cannot find governing frameworkelement... I found an online help that says I need to explicitly define Source property of IsReadOnly property. How can I achieve that?? Or do you know better solution?? I tried also to disable AutoGeneratedPropertyDefinitions and create custom edit template with TextBox for Age and bind the TextBoxs IsEnabled to IsValid, but it is always enabled. Does the property definition override the enabled property of the textbox?? 

Thanks 

Vitalij
Mikhail
Top achievements
Rank 1
 answered on 22 Oct 2013
1 answer
86 views
Hi,
I wanted to add a title to the Cartesian Chart and used the default template to add a textblock as below :

 <Style x:Key="RadCartesianChartStyle" TargetType="{x:Type controls:ExtendedRadCartesianChart}">
                           <Setter Property="MinWidth" Value="100"/>
                           <Setter Property="MinHeight" Value="100"/>
                           <Setter Property="Background" Value="Transparent"/>
                           <Setter Property="HorizontalContentAlignment" Value="Center"/>
                           <Setter Property="VerticalContentAlignment" Value="Center"/>                                
                           <Setter Property="Template">
                           <Setter.Value>
                           <ControlTemplate TargetType="{x:Type controls:ExtendedRadCartesianChart}">
                           <Border x:Name="layoutRoot" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}">
                           <Grid>
                                            <StackPanel Orientation="Vertical">
                                              <TextBlock Text="This is a test Title" HorizontalAlignment="Center"></TextBlock>
                             <ContentPresenter x:Name="emptyContent" ContentTemplate="{TemplateBinding EmptyContentTemplate}" Content="{TemplateBinding EmptyContent}" 
                                                                HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" 
                                              IsHitTestVisible="False" 
                                              Visibility="Collapsed" 
                                              VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                             <Canvas x:Name="adornerContainer" Background="Transparent" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                             <Canvas x:Name="labelContainer" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                             <Canvas x:Name="renderSurface" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                             <Border x:Name="plotAreaDecoration" Style="{TemplateBinding PlotAreaStyle}"/>
                             </Canvas>
                             </Canvas>
                             </Canvas>
                                           </StackPanel>
                           </Grid>
                           </Border>
                           </ControlTemplate>
                           </Setter.Value>
                           </Setter>
                           <Setter Property="TrackBallLineStyle">
                           <Setter.Value>
                           <Style TargetType="{x:Type Polyline}">
                           <Setter Property="Stroke" Value="#FF828282"/>
                           <Setter Property="StrokeThickness" Value="2"/>
                           </Style>
                           </Setter.Value>
                           </Setter>
                           <Setter Property="DragZoomBorderStyle">
                           <Setter.Value>
                           <Style TargetType="{x:Type Border}">
                           <Setter Property="BorderBrush" Value="#FF828282"/>
                           <Setter Property="BorderThickness" Value="1"/>
                           <Setter Property="Background" Value="#40FFFFFF"/>
                           </Style>
                           </Setter.Value>
                           </Setter>
                  </Style>

Now when I move the mouse over the chart, the vertical tracker line doesn't appear until I move the mouse over the series line and then the trackerball information appears fine. What property do I need to set  to allow the trackerball vertical line to appear as it appears before overriding with this control template?
Tina Stancheva
Telerik team
 answered on 22 Oct 2013
1 answer
125 views
I have a radpanegroup docked to the right hand side and the tab headers are vertical.
 


Is there a way to set the tab headers to be horizontal?

Thanks

Andrew

Heres my xaml:
<telerik:RadSplitContainer x:Name="rsc"  Width="500" InitialPosition="DockedRight">
                    <telerik:RadPaneGroup x:Name="rpg" >
                        <telerik:RadPane x:Name=
"materialsTab"  Header="Materials" IsPinned="False" CanUserClose="False" GotFocus="RadPane_GotFocus_1">

Kalin
Telerik team
 answered on 22 Oct 2013
3 answers
210 views
Hello,

I use your framework for one of our projects, to create several custom planning view.

In one of these view, I need to insert timeline in gantView item, which work perfectly.

However, I do not have control of the size of each row (item) of the ganttView. Indeed, the size of row is calculated based on the content of the left column (TreeColumnDefinition and columnDefinition), but not in the real data (DataTemplate of ganttview). The custom data template have not sized fixed but a size depending of number items attached to the timeline (the timeline present in each item of my GanttView).
I  cheat by adding a rectangle in one of my column definition, with the height of this rectangle calculated with the number of item of timeline attached (with a converter). 
The number of item depending of user actions in the view.
it seemed to work perfectly, at the beginning the size is standard, the user add an item, the converter launch, the height of the rectangle increase so the row increase like I expected.
But the contrary is not true, when the user delete an item, the rectangle height decrease, but not the row!

There is other solution to manage better the height of the ganttView Item ? 

Thanks For your response

Sincerely,

Julien Gourdon

PS  : Sorry for my english I'm french
Polya
Telerik team
 answered on 22 Oct 2013
1 answer
110 views

I'm sure this has been asked before but I cannot find any references, is it possible to have a column of youtube videos that display and will play if the user clicks on the video in the cell?    If so how would I go about doing this?

Thanks

Alan
Dimitrina
Telerik team
 answered on 22 Oct 2013
3 answers
296 views
when i updated recently from the 2012 Q3 release to the 2013 Q2 release, i notice the following difference in appearance of the application button.  we set ApplicationButtonImageSource to a png in our project.  the image still shows up fine, but the clipping is different.  previously, the height of the application button + tab portion was high enough to fit the tabs and cropped the image in the application button.  now, the image expands the height of that portion of the ribbonview to fully fit the image.

for instance, say we have a 100x100 image, and the tabs need to be 50 pixels high to accommodate the text.  previously, the application-button-plus-tabs area would be 50 pixels high and the 25th through 75th rows of the image were displayed (so, cropped, not scaled, and centered on the image).  now, it is 100 pixels high and the image is fully visible..

how can i restore the previous behavior, please?

images of new and old behavior attached.

thanks!

-david
Stefan
Telerik team
 answered on 22 Oct 2013
17 answers
311 views
Dear Telerik,

Today we have upgraded to version 'RadControls_for_WPF_2012_1_0326'.
We have encountered a problem after upgrading.
The Aggregate Sumfunction of our RadTreeListView always displays 0 instead of the right sum.

Did something change in the new version ?

Regards,
Gert



<
telerik:GridViewDataColumn DataMemberBinding="{Binding CalVal,StringFormat=N,ConverterCulture=DE}" Header="Σ" Width="Auto" TextAlignment="Right" FooterTextAlignment="Right"  IsReadOnly="True">
<telerik:GridViewDataColumn.CellStyle>
          <Style TargetType="telerik:GridViewCell">
               <Setter Property="Background" Value="{Binding parentItem, Converter={StaticResource backColorConvertor},ConverterParameter=Summe}" />
           </Style>
 </telerik:GridViewDataColumn.CellStyle>
<telerik:GridViewDataColumn.AggregateFunctions>
            <telerik:SumFunction SourceField="CalVal" Caption="Sum: " />
 </telerik:GridViewDataColumn.AggregateFunctions>
</telerik:GridViewDataColumn>
Yoan
Telerik team
 answered on 22 Oct 2013
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
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?