Telerik Forums
UI for WPF Forum
5 answers
311 views
I'm just now getting around to doing some maintenance on an existing project and it required upgrading all the Telerik libraries. 

So now, I've got both UI for WPF plus Reporting up to the latest versions, and I've learned that the Report Viewer requires implicit styling. Right now it's coming up blank.

So what now? If I follow the instructions on how to get the Report Viewer working, it means replacing my dlls with the NoXaml versions. This will obviously mess with the rest of my application, won't it? So then I would have to change the entire app to use implicit styling.

But currently I'm using more than one theme by setting the Application Theme as well as overriding various controls throughout the app to use a different theme. If I go implicit styling, then I'm merging the xaml files from a specific theme. Won't I lose the ability to override certain controls to a different theme?

I'm a bit confused on how this all works?
Masha
Telerik team
 answered on 29 Apr 2014
2 answers
177 views
YAxis is created each series.

Currently, all axis's color is same.

I want to adjust 'fill in chart'.

But RadCartesianChart's initialize value is null.

How can I do it?

Please answer about that.

Below, my XAML code

                            <telerik:CategoricalSeriesDescriptor.Style>
                                <Style TargetType="chartView:LineSeries">
                                    <Setter Property="LegendSettings">
                                        <Setter.Value>
                                            <telerik:SeriesLegendSettings Title="{Binding Name}"/>
                                        </Setter.Value>
                                    </Setter>
                                    <Setter Property="VerticalAxis" Value="{Binding Data, Converter={StaticResource additionalVerticalAxisConverter}}"/>
                                </Style>
                            </telerik:CategoricalSeriesDescriptor.Style>
Pavel R. Pavlov
Telerik team
 answered on 29 Apr 2014
3 answers
335 views
I have the following xaml:

<telerik:RadPane DataContext="{Binding Path=Panes.ConceptualModel}">
  <telerik:RadPane.Header>
    <StackPanel Orientation="Horizontal">
      <Image Source="{Binding Path=ImagePath}" Width="16" Height="16"/>
      <TextBlock Text="{Binding Path=Name}"/>
    </StackPanel>
  </telerik:RadPane.Header>
  <some content/>
</telerik:RadPane>
                    
This correctly shows both the image and the name in the tab, but the header of the pane says "System.Wndows.Controls.Stackpanel" instead of "Conceptual model", the value of the bound Name property (see attached image WithoutDataTemplate). Also, the coloring of the tab is much lighter than it is if I don't use the <telerik:RadPane.Header> -construction and just bind Header directly to the Name property. 

I found an example here which shows how to use a DataTemplate, which is more in line with how I  want to implement this:
http://www.telerik.com/help/wpf/raddocking-how-to-add-icon-pane-header.html

So if I, according to the example, instead move the stack panel to a DataTemplate like this: 

<DataTemplate x:Key="dtPaneHeader">
  <StackPanel Orientation="Horizontal">
    <Image Source="{Binding Path=ImagePath}" Width="16" Height="16"/>
    <TextBlock Text="{Binding Path=Name}"/>
  </StackPanel>
</DataTemplate>

and change the xaml to:

<telerik:RadPane 
  DataContext="{Binding Path=Panes.ConceptualModel}"
  Header="{Binding Path=Name}"
  HeaderTemplate="{StaticResource dtPaneHeader}" >
 <some content/>
</telerik:RadPane>

I get neither image nor name in the tab (see attached image WithDataTemplate). If I remove Header="{Binding Path=Name}", I get an empty string in the header as well. If I change the image and the text to unbound static values, it works. So apparently there is some sort of binding issue using the DataTemplate?

Here's another example with static property values in the DataTemplate  (see attached image WithDataTemplateStaticProperties):

<DataTemplate x:Key="dtPaneHeader">
    <StackPanel Orientation="Horizontal">
        <Image Source="{Binding Path=ImagePath}" Width="16" Height="16"/>
        <Image Source="Images/Content/Class.png"/>
        <TextBlock Text="{Binding Path=Content}"/>
        <TextBlock Text="Static text"/>
    </StackPanel>
</DataTemplate>


Help appreciated,

Kim
Kim
Top achievements
Rank 1
 answered on 29 Apr 2014
3 answers
457 views
Hi,

is it possible to create an image (jpg,bmp, png) out of a RadBarcode?

Thank you
Best Regards
Rene
Pavel R. Pavlov
Telerik team
 answered on 29 Apr 2014
3 answers
178 views
Hello, I would like to change the display format of RadGridView column's RadDatePicker.
The best I could achieve is as shown in Scenario 1, but upon selecting other cells, it kept showing the default display as shown in Scenario 2. The default display value is also what I will be getting when I tried to retrieve it from back-end. Is there a solution to display as what it is shown in Scenario 1 upon clicking other cells, and also retrieve it? Thanks for your attention. Attached is the picture of the 2 scenarios, and below are my codes:

<telerik:GridViewDataColumn DataMemberBinding="{Binding Path=SvcDate}" UniqueName="SvcDate"
                                            TextWrapping="Wrap" Width="100" TextAlignment="Center" DataFormatString="{}{0:yyyy/MM/dd}">
                    <telerik:GridViewDataColumn.Header>
                        <TextBlock Text="Service Date" TextAlignment="Center"/>
                    </telerik:GridViewDataColumn.Header>
                    <telerik:GridViewDataColumn.CellEditTemplate>
                        <DataTemplate>
                            <telerik:RadDatePicker SelectedValue="{Binding Path=SvcDate}"                                                  
                                                   DateTimeWatermarkContent="Service"
                                                   ErrorTooltipContent="Unrecognised format. Use drop-down interface for input assistance."
                                                   Culture="ja-JP">
                            </telerik:RadDatePicker>
                        </DataTemplate>
                    </telerik:GridViewDataColumn.CellEditTemplate>
                </telerik:GridViewDataColumn>

Dexter
Top achievements
Rank 1
 answered on 29 Apr 2014
2 answers
170 views
Currently I am using print and print preview code from "Print and Export with RadDocument" WPF Demo.
this is not working if more than 250 records in grid and Print and Preview takes too much time.
Yogesh
Top achievements
Rank 1
 answered on 28 Apr 2014
1 answer
326 views
Hi, I'm trying to change the DisplayMemberPath triggered by IsDropDownOpen, but the displayed value does not change. I tried to change the background of the combobox just to verify that the trigger works, and the background is changed accordingly to the IsDropDownOpen state. Am I doing this wrong, do you have another solution?

                    <telerik:GridViewComboBoxColumn.EditorStyle>
                        <Style TargetType="telerik:RadComboBox">
                            <Style.Triggers>
                                <Trigger Property="IsDropDownOpen" Value="False">
                                    <Setter Property="DisplayMemberPath" Value="Value1" />
                                    <Setter Property="Background" Value="Blue"/>
                                </Trigger>
                                <Trigger Property="IsDropDownOpen" Value="True">
                                    <Setter Property="DisplayMemberPath" Value="Value2" />
                                    <Setter Property="Background" Value="Yellow"/>
                                </Trigger>
                            </Style.Triggers>
                        </Style>
                    </telerik:GridViewComboBoxColumn.EditorStyle>

Telerik version: 2013.3.1316.40

Best regards
Arnstein
George
Telerik team
 answered on 28 Apr 2014
3 answers
163 views

Hello

I have grid something like in picture gridview.png (attach files) and I am loading data to it depending which action will be triggered by application user.

I know there are two cases:

  • none of loading data have childrens 
  • all or some of loading data have childrens

For first case gridview.HierarchyChildTemplate must be equal to null and ChildTableDefinitions should be empty (Count = 0).
For second case I load DataTemplate for gridView.HierarchyChildTemplate and I add adequate GridViewTableDefinition. But when I am dealing again with first case I do:

gridview.HierarchyChildTemplate = null<br>
ChildTableDefinitions.Clear()
and extra column for hierarchy indicator stays and it should be gone.

Dimitrina
Telerik team
 answered on 28 Apr 2014
1 answer
228 views
Hi,

I know that there has been discussion before on this topic but the solutions there do not bring me any further forward. This means that dragging from the RadToolbox to a Container on a RadDiagram does not post any DragOver events when the shape is above the Container however the RadDiagram still receives these events. However, the RadDiagram does not receive and Drop event nor does the Container. The RadToolbox does however receive the corresponding DropComplete event. Simply:

1. Drag and Drop works correctly between the RadToolbox and the RadDiagram
2. Drag and Drop does not work when the drop is over the Container.
3. We are using 2013 Q3 release (which we cannot change, hence no upgrade to 2014 Q1 is possible)

This behavior is simply strange.

What I need to achieve is the Drop event on the Container or the RadDiagram (then I can interrogate the Containers to see if the drop position is within its boundaries).

What are my options?

Regards,
Graham
Zarko
Telerik team
 answered on 28 Apr 2014
1 answer
149 views
Hi,

I'm using the Office2013 theme and I would like to know 2 things:

1. When I drag an appointment over another appointment or over a slot, I would like to know if it's possible to have such a "MouseOver" color while dragging an appointment.

2. When I drag an appointment, I would like to know how I can dertermine on which cell my mouse is on top. Of course the dragged appointment can cover 2 cells but but I need to know only the cell my mouse pointer is over.

Thank's
Alain
Rosen Vladimirov
Telerik team
 answered on 28 Apr 2014
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?