Telerik Forums
UI for WPF Forum
2 answers
217 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
107 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
50 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
326 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
175 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
743 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
93 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
124 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
4 answers
367 views

Hi, 

I am trying to customize the RadAutoCompleteBox visual to fit our application. I went thru the process of doing "Edit a Copy" of the Style. Without making any modification to the copied style, I've encountered an Error which causes the popup no longer shows up correctly.

System.Windows.Data Error: 26 : ItemTemplate and ItemTemplateSelector are ignored for items already of the ItemsControl's container type; Type='RadWatermarkTextBox'
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=WatermarkTextBox'. BindingExpression:Path=ActualWidth; DataItem=null; target element is 'AutoCompleteBoxesWrapPanel' (Name=''); target property is 'Width' (type 'Double')

Elon
Top achievements
Rank 1
 answered on 27 Apr 2016
2 answers
176 views

Hi,

In my GridView, i used a filter. In this filter, there is a lot of values, but not all of them :

We can see on screen '1' that the maximum value is '1.334', but on my graphic, the top of my curve is superior to 5.

BUT

When i choosed "superior to 5" in this same filter (screen '2'), I can see my values on my grid.

 

I want to know how I can see all of values in the values list ?

 

Thank you very much.

 

Valentin.

Valentin
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 27 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
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
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?