Telerik Forums
UI for WPF Forum
2 answers
118 views
I download a project from this forum
it was ok
but when I copy the code to my project it fail

this is the code 

var

 

masterFilter = (CompositeFilterDescription)(this.RadGridView1.FilterDescription);

 

 

var subjectFilter = (FieldFilterDescription)masterFilter.FilterDescriptions[0];

 

 

subjectFilter.Values.Add(

"Cats");

this is the error
Error 1 'Telerik.Windows.Data.FieldFilterDescription' does not contain a definition for 'Values' and no extension method 'Values' accepting a first argument of type 'Telerik.Windows.Data.FieldFilterDescription' could be found (are you missing a using directive or an assembly reference?)

 

Orit
Top achievements
Rank 1
 answered on 08 Jun 2009
10 answers
288 views
Hi,
I have create a RadChart based on a datatable that has 2 columns "XValue" and "YValue".

Dim

 

seriesMapping2 As New SeriesMapping

 

seriesMapping2.SeriesDefinition =

New BarSeriesDefinition

 

 

Dim itemMapping2 As New ItemMapping

 

itemMapping2.DataPointMember = DataPointMember.YValue

itemMapping2.FieldName =

"YValue"

 

seriesMapping2.ItemMappings.Add(itemMapping2)

RadChart1.SeriesMappings.Add(seriesMapping2)

 

When i execute the chart, the X axis labels values are 1,2,3, .... and i would like to put here the values of "XValue" column on my datatable. How can i do it?


Also, If I try to put string values to "YValue" column in mi datatable, the chart fails, that is, only numeric values can be put as source of a serie?.

Thanks a lot.

Giuseppe
Telerik team
 answered on 05 Jun 2009
8 answers
329 views
Hi

I am trying to do a simple bar chart showing the following data;

Group               Value

Group 1 140.30
Group 2   5.00
Group 3          81.70

I wish to have the above groups as labels in the x-asis, but the barchart always shows 1,2,3

Can you please give me a simple example on how to achieve the above.

Regards
Velin
Telerik team
 answered on 05 Jun 2009
3 answers
126 views
I would like to style and edit the control template of the RadDatePicker inside Expression Blend.
When I add a copy of either the control template or the style of it, i get the following exception (german error message):

"
An Exception was thrown.
StackTrace: Empty

Inner Exception: Der öffentliche Typ mit dem Namen "RadDatePicker" kann von dem Typverweis nicht gefunden werden
XamlParseException: Der öffentliche Typ mit dem Namen "RadDatePicker kann von dem Typverweis nicht gefunden werden
StackTrace
bei System.Windows.Markup.XamlReaderHelper.Read(XamlNode& xamlNode)
...
InnerException:None
"

Translation of the message: "The public type with the name "RadDatePicker" can't be found by the reference type"
When I open the project with Visual studio, the exception does not occur.

Thanks in advance for helping.
Boyan
Telerik team
 answered on 05 Jun 2009
3 answers
225 views
Hi,

Please bear with me as I am a newbie to WPF and we are evaluating RadGridView as part of a new development project. I have a issue with filtering and grouping on columns.

I have another Grid with Contact information with and a related table that stores other contact information, such as address details. If I have the Grid bound to a datarecord type of Contact and want to have related columns such as Address.Line1, Address.Line2 displayed on the parent GridRow. What is the best way to acheive this? I can get the information display but my issue is that I can not use the Filter or Groups on the Address columns. I have attached some simple code behind that I am using, Name works as expected, however Address.Line1 displays data but can not use filtering or the grouping functionality

private void SetupGridView()  
{  
    myGridView.Columns.Add(new GridViewDataColumn()   
    {  
        HeaderText = "Name",  
        UniqueName = "Name",  
        DataMemberBinding = new Binding("Name")   
    });  
 
    myGridView.Columns.Add(new GridViewDataColumn()  
    {  
        HeaderText = "Address Line 1",  
        UniqueName = "Address.Line1",  
        DataMemberBinding = new Binding("Address.Line1"),  
        IsFilterable = true 
    });  

Any help is greatly appreciated.

Glen

Rossen Hristov
Telerik team
 answered on 05 Jun 2009
1 answer
386 views
Dear Sir,

I need Telerik.Windows.Themes.Vista.dll etc.... But I did not find any where.
Can you please tell me from where I can download the same?

Regards
Vinay
Boyan
Telerik team
 answered on 05 Jun 2009
3 answers
109 views
Hi,

I am trying to prevent dropping of items on level other than their own , i.e., items on a specific level cannot be moved to level above or below). For this, I am working with PreviewDragEnded and if the item is not being dropped to the same level, i prevent it by setting e.Handled to true. It works fine when DropPosition is DropPosition.Inside. However, when the DropPosition is After or Before, the TargetDropItem is null ,for some reason, and I cannot check the level to which the item is dropped. The TargetDropItem gets a value on DragEnded event but it's already too late. Is there a way to do it?
Thank you,
Tal
Bobi
Telerik team
 answered on 05 Jun 2009
6 answers
459 views
Hello all,
I'm using RadGrid to displays items from a table. One of the column in a row stores the path to a file, how do I get the value of that particular column on double click (on the row) so that I can displays the file's path and display the file (I'll be using DocumentViewer to display the file.)

Thanks,
Kenny.
Kenny
Top achievements
Rank 1
 answered on 04 Jun 2009
1 answer
148 views
Hello. I have a small problem with the treeview. I change manually the icon of a treeviewItem from the code depending on some db changes any couple of seconds but the icon does not change in the treelist unless I click that item. What is the problem?
Thanks
Bobi
Telerik team
 answered on 04 Jun 2009
1 answer
88 views
Hi. I would like to know if there is a way I can disable the DataContext property of a TreeViewItem so it will not fire for changes. I am not using DataBinding and I would like to use that DataContext just for keeping the object I am displaying to the user. Or maybe there is another way I can keep an object in the treeViewItem. Thanks
Miroslav
Telerik team
 answered on 04 Jun 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
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?