Telerik Forums
UI for WPF Forum
3 answers
107 views
Hi

Do I need to convert my xml datasource to a collection before binding to the radpanelbar or can I bind direct to an xml file?
If I can bind directly please advise how.

Many thanks.
Dimitrina
Telerik team
 answered on 28 May 2009
2 answers
122 views
I have the following linq code...
var CVDOverviewData = from cvdo in pieData.CVDOverviews  
                                  select new  
                                  {  
                                    OverTwentyfive = cvdo.OverTwentyfive,  
                                    OverTwenty = cvdo.OverTwenty,  
                                    OverFifteen = cvdo.OverFifteen,  
                                    OverTen = cvdo.OverTen,  
                                    LessTen = cvdo.LessTen  
                                  }; 

the result is a sinlge row with a column for each range (over25, over20, over15 ...)

How so I get these values into a pie chart?

Sorry if this is a real newbie question.

Cheers in advance.

Ves
Telerik team
 answered on 28 May 2009
5 answers
128 views
Hi

I am unable to run your demo's online, with IE or with Firefox. So I modified the demo's app config (installed on my machine) to point to Northwind on SQL server 2005, so I can peruse the grid demo's. Putting a trace on SQL server it traces the following TSQL 

SELECT [t0].[EmployeeID], [t0].[LastName], [t0].[FirstName], [t0].[Title], [t0].[TitleOfCourtesy], [t0].[BirthDate], [t0].[HireDate], [t0].[Address], [t0].[City], [t0].[Region], [t0].[PostalCode], [t0].[Country], [t0].[HomePhone], [t0].[Extension], [t0].[Photo], [t0].[Notes], [t0].[ReportsTo]
FROM [dbo].[Employees] AS [t0]

Then the Demo dies, with no stack trace

What can I do (where can I go) to see the features of your grid

P





Hristo
Telerik team
 answered on 28 May 2009
1 answer
90 views
Any news or thoughts on a Telerik combobox. The one that ships with VS2008 is fairly limited and does not work as users would like. For example, using the up and down keys and then selecting item with tab key.


Nikolay
Telerik team
 answered on 28 May 2009
1 answer
119 views
Hi,

I have the following code:

            PieSeriesDefinition definition = new PieSeriesDefinition();  
            definition.LegendDisplayMode = LegendDisplayMode.DataPointLabel;  
            radChart1.DefaultSeriesDefinition = definition;  
 
            DataSeries DS = new DataSeries();  
            DataPoint DP = new DataPoint();  
 
            DS.LegendLabel = "Over25";  
            DP.YValue = 66;  
            DS.Add(DP);  
            radChart1.DefaultView.ChartArea.DataSeries.Add(DS);  
 
            DataSeries DS2 = new DataSeries();  
            DataPoint DP2 = new DataPoint();  
            DS2.LegendLabel = "Over20";  
            DP2.YValue = 100;  
            DS2.Add(DP2);  
            radChart1.DefaultView.ChartArea.DataSeries.Add(DS2);  
 
            DataSeries DS3 = new DataSeries();  
            DataPoint DP3 = new DataPoint();  
            DS3.LegendLabel = "Over15";  
            DP3.YValue = 120;  
            DS3.Add(DP3);  
            radChart1.DefaultView.ChartArea.DataSeries.Add(DS3);  
 
            DataSeries DS4 = new DataSeries();  
            DataPoint DP4 = new DataPoint();  
            DS4.LegendLabel = "Over10";  
            DP4.YValue = 113;  
            DS4.Add(DP4);  
            radChart1.DefaultView.ChartArea.DataSeries.Add(DS4);  
 
            DataSeries DS5 = new DataSeries();  
            DataPoint DP5 = new DataPoint();  
            DS5.LegendLabel = "Under10";  
            DP5.YValue = 178;  
            DS5.Add(DP5);  
            radChart1.DefaultView.ChartArea.DataSeries.Add(DS5); 

But this is producing a bar chart. how do I make it a Pie chart?

Cheers,
Kevin.
Giuseppe
Telerik team
 answered on 28 May 2009
1 answer
101 views
I am about to start a new app that will be both WPF and Silverlight.  I noticed for both WPF and Silverlight RadControls that you state

"Common Codebase and Shared API with WPF Controls"

That's great but the components that I really like in Silverlight, Drag & Drop, Docking and Toolbar/Menu/ContextMenu are not in WPF.  Are there plans to add these to WPF

Regards,

Dan R.
Daniel
Top achievements
Rank 1
 answered on 27 May 2009
6 answers
126 views
Hi,

In your documentation for Q1 2009 SP2 (version 2009.1.526) WPF RadGridView it states that:-
"AutoGenerateColumns moved from RadGridView to GridViewDataControl"
however AutoGenerateColumns appears as an option when editing the radGridView node in xaml

P
Paul Gallen
Top achievements
Rank 1
 answered on 27 May 2009
5 answers
106 views
Hi,

Can you give me and example of removing nodes from your RadTreeView as the code snippet below generates an error, at line 
  
Parent.Items.Remove(DirectCast(e.Source, TreeViewItem))   


 Private Sub trvListEvents_Edited(ByVal sender As ObjectByVal e As Telerik.Windows.Controls.RadTreeViewItemEditedEventArgs) Handles trvListEvents.Edited  
        If e.OldText <> e.NewText Then 
            ActionMenuRequest(DirectCast(e.Source, RadTreeViewItem))  
        Else 
            Dim Parent As RadTreeViewItem = Me.CurrentTreeViewItem.Parent  
            Parent.Items.Remove(DirectCast(e.Source, TreeViewItem))  
        End If 
 
    End Sub 

Requirements: After Editing a node, if it does not meet a certain criteria, then delete the node.

Note: I am using the RadTreeView with LoadOnDemand

Best

P

Dimitrina
Telerik team
 answered on 27 May 2009
3 answers
72 views

Hi,

I'm having a pre purchase test for RadGridView.

I try to develop a small test program with one grid on an xbap application.
Whenever I place a RadGridView control on my page (at design time), my visual studio 2008 start to work verry slow.
Every time I open a new file or trying to view a component properties, well, lets make it short, it happens no metter what i do, the window just gets stuck for 10-30 seconds and the cpu goas up to 100% until the command is performed.

Is there any way to make the conrol work faster at design time?

Thank you.

Vlad
Telerik team
 answered on 27 May 2009
2 answers
128 views
I'm using the Caramel theme and somehow, the last column is a little bit over on the right side and thus, making the horizontal scrollbar appears. If I changes the theme to Office_Black, everything is fine. Below is the code used and some screenshot to make it more clear:

<telerik:RadGridView Name="radGridView1" telerik:StyleManager.Theme="Caramel" 
                                     ShowGroupPanel="False" IsFilteringAllowed="True" 
                                     Foreground="Black" Margin="10,30,10,20" AutoGenerateColumns="False" 
                                     RowIndicatorVisibility="Collapsed" ColumnsWidthMode="Fill"
 
                    <telerik:RadGridView.Columns> 
                        <telerik:GridViewDataColumn UniqueName="Title" HeaderText="Title" IsFilterable="False" /> 
                        <telerik:GridViewDataColumn UniqueName="Artist" HeaderText="Artist" Width="Auto" /> 
                        <telerik:GridViewDataColumn UniqueName="Key" HeaderText="Key" Width="Auto"/> 
                    </telerik:RadGridView.Columns> 
                </telerik:RadGridView> 

You can see the filter icon got covered up for a small part on the last column (Key).

No horizontal scrollbar, and the icon shows up perfectly.

How do I fix this issue with the Caramel theme?

Thank you very much,
Kenny.
Kenny
Top achievements
Rank 1
 answered on 25 May 2009
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?