Telerik Forums
UI for WPF Forum
1 answer
255 views

Hello,

We want to display our data which has more than 1000 items in tree view with pagination. and also user should be able to filter the items.items per page should be configurable.how we can implement this.

Martin Ivanov
Telerik team
 answered on 02 May 2016
3 answers
532 views

I am trying to follow the instructions from:  http://docs.telerik.com/devtools/wpf/styling-and-appearance/styling-apperance-implicit-styles-overview.html#applying-theme-globally-in-your-application  From the picture below you can see that it definitely is in my list of References. I apologize if this is a stupid question as I am fairly new to WPF (WinForms was my thing).

http://i.stack.imgur.com/fBtbQ.png

 

I included a Theme's Folder and put the XAML files into that.  I am able to reference them with out error but it does not seem to want to apply the theme to my button type:

                <ResourceDictionary Source="/Themes/System.Windows.xaml"/>

                 <ResourceDictionary Source="/Themes/Telerik.Windows.Controls.xaml"/>

 

As you can see in the picture I have tried using the dll files as references but it doesn't they they are referenced.

                <ResourceDictionary Source="/Telerik.Windows.Themes.Green;component/Themes/System.Windows.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Green;component/Themes/Telerik.Windows.Controls.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Green;component/Themes/Telerik.Windows.Controls.Navigation.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Green;component/Themes/Telerik.Windows.Controls.Docking.xaml"/>

 

 

Anyone able to tell me why it is not able to use the Theme Green dll Reference?

Martin
Telerik team
 answered on 02 May 2016
2 answers
235 views

When I click the column header to sort the gridview   the itemsource's index is not change  

is any way to change the index

rui
Top achievements
Rank 1
 answered on 29 Apr 2016
1 answer
92 views

Hi,

I have a PolarChart with multiple series. The problem is that the scale of the two series is entirely different and when I plot them I am unable to see the one with smaller values.

Is there a way in RadPolarChart similar to RadCartesianChart where I can specify a different axis to plot the second series and also a different location for the secondary axis.

 

Thank You

Dinko | Tech Support Engineer
Telerik team
 answered on 29 Apr 2016
1 answer
137 views
In our project, we have a requirement to show, millions of data from databas and hence we have used
Data virtualization feature in RadGridView using VirtualQueryableCollectionView. Now loading is working
as expected, but we have add/edit/delete functionality within grid. But that seems not working.

Could you please provide some sample or document which can guide us to achieve this.

Looking forward to hear you soon.

Thanks,
Stefan Nenchev
Telerik team
 answered on 29 Apr 2016
2 answers
74 views
Is there a tool?
maanshan
Top achievements
Rank 1
 answered on 29 Apr 2016
6 answers
174 views
Hello,
the Office2013 theme corrects the text of the header so that they are in uppercase.
This work correctly when we just set the header as a text, but not if we want to customize it, for example to add an image or something else. It seems that the theme takes the Text property of the header content, converts it to uppercase and use the result to display in the header. If the header content doesn't contain a Text property, nothing is displayed.

To see this in action, just create a WPF application, add the relevent assemblies and replace MainWindow.xaml with:
<Window
  x:Class="Test_GridView_header_Office2013.MainWindow"
  Title="MainWindow" Height="350" Width="525">
  <tk:RadGridView Margin="10">
 
    <tk:RadGridView.Columns>
 
      <tk:GridViewDataColumn Header="Direct text" />
 
      <tk:GridViewDataColumn>
        <tk:GridViewDataColumn.Header>
          <StackPanel>
            <TextBlock Text="Header with a stack panel" />
          </StackPanel>
        </tk:GridViewDataColumn.Header>
      </tk:GridViewDataColumn>
 
    </tk:RadGridView.Columns>
 
  </tk:RadGridView>
</Window>

If you run the application, you will see that the first header is displayed, but not the second one...
In all other themes I tested, including Windows8, both headers are displayed.

To correct the problem, I think that the best solution is to check whether the header has a Text proprty. If there is none, you should display the header as defined by the user, without changing it.

Patrick
Ivan Ivanov
Telerik team
 answered on 28 Apr 2016
3 answers
141 views

Hello, I am getting the following exception when using grouping in RadGridView. The problem is that the exception seems to happen not inside my code, 
but entirely inside Telerik RadGridView control, so I cannot catch the exception. Any tips how to catch this exception or better - avoid the exception from occuring?  I using the Telerik version 2016.1.217.40. My twitter handle is @Tore_Aurstad. Nice if you got any tips, we are closing in on our release date for our client which is using the Telerik WPF library heavily. 

Thanks,

 Telerik.Windows.Controls.GridView.GridViewDataControl.NestedLayoutStrategy.GenerateScrollingStack

StackTrace:
   ved Telerik.Windows.Data.FuncExtensions.<>c__DisplayClass1`2.<ToUntypedFunc>b__0(Object item)
   ved Telerik.Windows.Controls.GridView.GridViewDataControl.NestedLayoutStrategy.GenerateScrollingStack(Object dataItem)
   ved Telerik.Windows.Controls.GridView.GridViewDataControl.NestedLayoutStrategy.ScrollRowIntoView(Object dataItem, Action`1 scrollFinishedCallback, Action scrollFailedCallback)
   ved Telerik.Windows.Controls.GridView.GridViewDataControl.ScrollRowIntoViewInternal(Object dataItem, Action`1 scrollFinishedCallback, Action scrollFailedCallback)
   ved Telerik.Windows.Controls.GridView.GridViewDataControl.<>c__DisplayClass7f.<ScrollIntoViewAsync>b__7e()
   ved System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   ved MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

Yoan
Telerik team
 answered on 28 Apr 2016
1 answer
84 views

Hi,
we need saving the fields Alt and Tag of the images (ImageInline objects ) but when we try to export in docx using Export method of DocxFormatProvider these fields are lost.
Is there a way to save the values of these fields in docx format?

Thank you.
Regards.

Tanya
Telerik team
 answered on 28 Apr 2016
2 answers
208 views

I can't seem to find 3d chart demos either in the xaml sdk repository (https://github.com/telerik/xaml-sdk) or in the wpf demo application, is this feature no longer supported? I was trying to make a doughnut3d to work, but I get a StackTrace-less stackoverflow exception in runtime

.

 

Xaml:

 

<p></p><p>        <telerik:RadChart x:Name="radChart"<br>                          UseDefaultLayout="False"<br>                          Height="300"<br>                        ItemsSource="{Binding}"><br>            <Grid Margin="10"><br>                <Grid.RowDefinitions><br>                    <RowDefinition Height="Auto" /><br>                    <RowDefinition Height="*" /><br>                </Grid.RowDefinitions><br>                <Grid.ColumnDefinitions><br>                    <ColumnDefinition Width="*" /><br>                    <!--<ColumnDefinition Width="*" />--><br>                </Grid.ColumnDefinitions><br>                <telerik:ChartTitle Margin="0,0,0,10"<br>                                    HorizontalAlignment="Center"<br>                                    Content="Year 2008"<br>                                 Grid.Row="0"<br>                                    Grid.Column="0" /><br>                <telerik:ChartArea x:Name="webBrowsersShare2008Chart"<br>                                  Grid.Row="1"<br>                                   Grid.Column="0" /><br>                <!--<telerik:ChartTitle HorizontalAlignment="Center"<br>                                 Content="Year 2009"<br>                                 Margin="0,0,0,10"<br>                                   Grid.Row="0"<br>                                    Grid.Column="1" /><br>                <telerik:ChartArea x:Name="webBrowsersShare2009Chart"<br>                                  Grid.Row="1"<br>                                   Grid.Column="1" />--><br>            </Grid><br><br>            <telerik:RadChart.SeriesMappings><br>                <telerik:SeriesMapping CollectionIndex="0"<br>                                       ChartAreaName="webBrowsersShare2008Chart"><br>                    <telerik:SeriesMapping.SeriesDefinition><br>                        <telerik:Doughnut3DSeriesDefinition /><br>                    </telerik:SeriesMapping.SeriesDefinition><br><br>                    <telerik:SeriesMapping.ItemMappings><br>                        <telerik:ItemMapping FieldName="Value"<br>                                          DataPointMember="YValue" /><br>                        <telerik:ItemMapping FieldName="Description"<br>                                           DataPointMember="Label" /><br>                    </telerik:SeriesMapping.ItemMappings><br>                </telerik:SeriesMapping><br>                <!--<telerik:SeriesMapping CollectionIndex="1"<br>                                      ChartAreaName="webBrowsersShare2009Chart"><br>                    <telerik:SeriesMapping.SeriesDefinition><br>                        <telerik:DoughnutSeriesDefinition /><br>                    </telerik:SeriesMapping.SeriesDefinition><br>                    <telerik:SeriesMapping.ItemMappings><br>                        <telerik:ItemMapping FieldName="Value"<br>                                            DataPointMember="YValue" /><br>                        <telerik:ItemMapping FieldName="Description"<br>                                           DataPointMember="Label" /><br>                    </telerik:SeriesMapping.ItemMappings><br>                </telerik:SeriesMapping>--><br>            </telerik:RadChart.SeriesMappings><br>        </telerik:RadChart></p><p> </p>
Martin
Telerik team
 answered on 28 Apr 2016
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?