Telerik Forums
UI for WPF Forum
3 answers
146 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
86 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
210 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
1 answer
99 views

I have a diagram control, and I was drawing an arrow across it. I did this as ATP using Microsoft Coded UI. It recorded the sequence of steps correctly as well as the dragging, however, in the code behine it put  this statement as a comment.

 

System parameter 'Show window contents while dragging' is not set.This could lead to incorrect recording of drag actions

 

when running the ATP, when it comes to the stage of drawing the arrow, it just does not, stays there as though nothing is happening. Any advice whats happening? The particular windows system parameter is set to show contents when dragging. using windows server 2008 R2.

Petar Mladenov
Telerik team
 answered on 28 Apr 2016
5 answers
46 views
Hi. Please tell me - can I use telerik:CollectionEditor to edit content of telerik:RadTreeView? I've dug in Google about it but and don't find any information just about using telerik:CollectionEditor for editing content of telerik:RadTreeView. Thank you very much in advance. I bag your pardon for your time.
Eugene
Top achievements
Rank 1
 answered on 28 Apr 2016
2 answers
318 views

Hi,

in my mainwindow i have a radtabcontrol and i bind it to a collection of tabitems. Further i have datatemplates for each view (user control) and a datatemplateselector. Everything works without problems but once i set the IsContentPreserved property to true i get

System.Windows.Data Error: 25 : Both 'ContentTemplate' and 'ContentTemplateSelector' are set;  'ContentTemplateSelector' will be ignored. ContentPresenter:'ContentPresenter' (Name='')

here is my xaml:

<telerik:RadWindow.Resources>
       <DataTemplate x:Key="ContentTemplateApplicationSettings">
           <local:ApplicationSettings/>
       </DataTemplate>
       <DataTemplate x:Key="ContentTemplateConversionRules">
           <local:ConversionRules/>
       </DataTemplate>
       <DataTemplate x:Key="ContentTemplateProductionOrderConversion">
           <local:ProductionOrderConversion/>
       </DataTemplate>
       <localutil:MainMenuContentTemplateSelector x:Key="MainMenutemplateSelector"
               ApplicationSettingsTemplate="{StaticResource ContentTemplateApplicationSettings}"
               ConversionRulesTemplate="{StaticResource ContentTemplateConversionRules}"
               ProductionOrderConversionTemplate="{StaticResource ContentTemplateProductionOrderConversion}"/>
   </telerik:RadWindow.Resources>
   <Grid>
       <Grid.RowDefinitions>
           <RowDefinition/>
           <RowDefinition Height="Auto"/>
       </Grid.RowDefinitions>
       <telerik:RadTabControl x:Name="MainMenuTabControl"
                              IsContentPreserved="True"
                              ItemsSource="{Binding MainMenuTabItems}"
                              ContentTemplateSelector="{StaticResource MainMenutemplateSelector}">
           <telerik:RadTabControl.ItemTemplate>
               <DataTemplate>
                   <TextBlock Text="{Binding Header}" />
               </DataTemplate>
           </telerik:RadTabControl.ItemTemplate>
       </telerik:RadTabControl>
       <StatusBar Grid.Row="1" Background="{StaticResource HeaderAndStatusBackground}">
           <StatusBarItem>
               <TextBlock Text="{Binding StatusText}" Foreground="White"/>
           </StatusBarItem>
       </StatusBar>
   </Grid>


What is the reason for this error?

thanks, 

michael

Michael
Top achievements
Rank 1
 answered on 28 Apr 2016
4 answers
168 views

 Is it possible RadHeatMap axes SmartLabelsMode="SmartStep" ? As you can see in the attached image , when I have a lot of data , labels overlap. Is there any solution in radhepmap ? In radcartesianchart with SmartStep the problem is solved.

Regards,

Gerard.

Gerard
Top achievements
Rank 1
 answered on 28 Apr 2016
1 answer
733 views

 

Objective:  To filter the listbox (Computers) and select an item whose value matches exactly with that of textbox (Search) value.

 

Considerations:

1) The items from the listbox are binded from the database.
2) The item in the listbox should be selected by default when textbox value matches with the listbox item.

 

Please help me on this

Yana
Telerik team
 answered on 28 Apr 2016
1 answer
86 views

Hi,

 

Look the first image on this page: http://docs.telerik.com/devtools/wpf/controls/radgauge/features/indicators/needle.html

I obtains exactly the same result, the 6 value tick disappears and the scale is not linear.

Thanks, marc.

Evgenia
Telerik team
 answered on 28 Apr 2016
1 answer
122 views

Hi,

I have a wcf service which return me list of items.

I wanted to use this service as Data Virtualization in wpf example.

For ex

I wanted to show 50 customers in the grid and when user scolls down to grid end, grid should be populated with next 50 customers.

I don't want to use WCF RIA/Data services, I have already existing wcf service which gives me list.

 

Please help me to achieve this.

Maya
Telerik team
 answered on 28 Apr 2016
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
Slider
Expander
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?