Telerik Forums
UI for WPF Forum
3 answers
147 views
Hi there

Can anyone tell me if it is possible to add enevt handler for each sector on the radChart control when seriesDefinition is set to PieSeriesDefinition? MoreOver, Can we remove the legend area ?

Many thanks

Bo
Giuseppe
Telerik team
 answered on 02 Dec 2009
14 answers
249 views
Hi,

I'm using a RadGridView with a lot of columns, which requires horizontal scrolling to see all the columns. But when a filter is applied to a column outside the view, and that filter returns no results (empty list), the view scrolls to the start and the horizontal scrollbar disappears. If that happens, I can't clear the filter because I can't scroll to the column the filter is set on.

I tried:

<telerik:RadGridView ScrollViewer.HorizontalScrollBarVisibility="Visible">  
<!-- columns and stuff --> 
</telerik:RadGridView> 

But the scrollbar still disappears.

Is there some solution for this problem?

Thanks in advance.
Vlad
Telerik team
 answered on 02 Dec 2009
2 answers
488 views
Hi,

I'm binding data to a pie chart. My YValues are double representing percentage (e.g. 0.258963 for 25,90 %).
I would like that the Telerik Pie Chart display label  as percentage (25.90%) and not as the value of the double (0.258963).
What's the solution ? Should i convert my YValues on my own or Telerik have a "format" properties.

Thanks in advance.

G. Moelens
Khoa Ho
Top achievements
Rank 1
 answered on 02 Dec 2009
3 answers
157 views
How can I set a context menu when I right click on the tab of a document in the DocumentHost?
Miroslav Nedyalkov
Telerik team
 answered on 01 Dec 2009
2 answers
107 views

Hello, 

when grouping is active there seems to be a problem with multi-selection by clicking on the CheckBoxes of a GridViewSelectColumn (using the current internal build). CheckBox and row change state, but SelectionChanged is not raised.

Multi-selection by mouse clicking is raising SelectionChanged as expected. 

Thanks for looking into this,

Alex

Alexander
Top achievements
Rank 1
 answered on 01 Dec 2009
1 answer
229 views

Hello,

How can I set the CellStyle for All Cell of RadGridView ?


Tsvyatko
Telerik team
 answered on 01 Dec 2009
4 answers
523 views
Hi
I'm using a RadTreeView with checkboxes. I'm binding the ItemsSource property of the radtreeview to a collection of my businessobject. I need to retrieve the checked items (businesss objects) on my view model class. I tried to bind the CheckedItems property to an ObservableCollection on my viewmodel. but it gives me a compile error because the set accessor is not accessible.
Is there another way of doing this other than hooking it to the checked event from the code behind?
Binu Abraham
Top achievements
Rank 1
 answered on 30 Nov 2009
4 answers
187 views

Hello,

I have recently upgraded to the latest Q3 release and have run into a problem that used to work with the Q2 binaries.  I have an object that I use to “collect” properties from multiple objects for displaying on a grid.  For instance, I have a person object with name properties, and an address object(collection) with its fields.  In a grid, I’d like to display the person’s name and their (primary) address.

I had a solution that worked well in the Q2 binaries, but since the upgrade my solution will no longer work as the item source seems to look at the base class, instead of the object being passed in. 

Here’s a boiled down example to illustrate my issue.   


Here's the class difinitions:
        public class Visualitems : List<Visualitem> {  
            object Parent { getset; }  
        }  
        public abstract class Visualitem {  
            public object Parent { getset; }  
        }  
        public class GridDataItem : Visualitem {  
            public GridDataItem( string first, string middle, string last ) {  
                this.FirstName = first;  
                this.LastName = last;  
                this.MiddleName = middle;  
            }  
            public string FirstName { getset; }  
            public string MiddleName { getset; }  
            public string LastName { getset; }  
        }  
 

Here's how I attempt to setup and populate the grid:
            Visualitems items = new Visualitems();  
            items.Add( new GridDataItem( "Jon""A""Smith" ) );  
            items.Add( new GridDataItem( "Tom""P""Jones" ) );  
            items.Add( new GridDataItem( "Ken""W""Adams" ) );  
            items.Add( new GridDataItem( "Kelly""C""Truman" ) );  
 
            Telerik.Windows.Controls.GridViewDataColumn gvc = new Telerik.Windows.Controls.GridViewDataColumn();  
            gvc.UniqueName = "FirstName";  
            gvc.Header = "First Name";  
            gvc.DataContext = "FirstName";  
            gvc.IsVisible = true;  
            gvc.Width = new Telerik.Windows.Controls.GridViewLength( 1, Telerik.Windows.Controls.GridViewLengthUnitType.Star );  
            grid.Columns.Add( gvc );  
              
            Binding binding = new Binding();  
            binding.Source = items;  
            binding.Mode = BindingMode.OneWay;  
            binding.BindsDirectlyToSource = true;  
 
            grid.DataContext = binding.Source;  
            grid.SetBinding( Telerik.Windows.Controls.RadGridView.ItemsSourceProperty, binding ); 

This will generate the error:  "Property with name FirstName cannot be found on type Visualitem"

Any guidance on this matter would be appreciated...

Thank you in advance for your time,

Craig
capsule
Top achievements
Rank 1
 answered on 30 Nov 2009
1 answer
93 views
Hi, i am trying to use RadGridView
i have add the reference dll and add namespace definition, 
and use this Code in my project 

<Controls1:RadGridView ItemsSource="{Binding Orders}" AutoGenerateColumns="True"></Controls1:RadGridVie> 


I have no compiler error, but when i lunch the application i get the follow exception:

Can not assign value  '/Telerik.Windows.Controls.GridView;component/themes/office/black/GridViewToggleButton.xaml' to property 'Source' of object 'System.Windows.ResourceDictionary'. Object reference not set to an instance of an object. Error at object 'System.Windows.ResourceDictionary' at markup file 'Telerik.Windows.Controls.GridView;;;Component/Themes/GenericOfficeBlack.xaml'.

How Can i solve my problem ? 


Rossen Hristov
Telerik team
 answered on 30 Nov 2009
1 answer
130 views
Hi,
I am creating a chart in code behind.

I have a small problem when using SplineAreaSeriesDefinition -> see attachment.
I cant get the series x axis to start at zero ?

Does anyone have a tip ?

Best regards.
krissi.
Sia
Telerik team
 answered on 30 Nov 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
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
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
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?