Telerik Forums
UI for WPF Forum
1 answer
114 views
My RadPanelBar, along with several other controls, disappeared when I applied a theme to my project.

I had no idea what had happened, and I have spent 30 hours so far trying to figure it out.  Unfortunately I didn't realize for much of that time that the theme was the issue, sigh.

Along the way, desperate to try anything, I rebuilt my project and this time used the NoXaml assemblies (btw - where is an explanation of this?)  

So, finally by dumb luck figured out to add entries to the ResourceDictionary, for my RadGridView and RadImageEditor, but the RadPanelBar was still missing.

Turns out there was no theme for Telerik.Windows.Controls.Navigation (panelbar assembly) in my Themes folder.  I finally found a copy in a test sample provided in response to another forum question.   That works, although I get warnings  (app.xaml:  'An error occurred while finding the resource dictionary')

I am using RadPanelBar from the following assembly:
    UI for WPF Q1 2014\Binaries.NoXaml\WPF45\Telerik.Windows.Controls.Navigation.dll

Can I please get the appropriate version of this file for the above assembly?  :
  "Themes/OfficeBlue/Telerik.Windows.Controls.Navigation.xaml"  

thanks


Pavel R. Pavlov
Telerik team
 answered on 29 Apr 2014
5 answers
245 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
141 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
281 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
363 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
133 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
127 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
267 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
128 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
193 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?