Telerik Forums
UI for WPF Forum
1 answer
101 views

I am trying to create dynamic columns by creating column header and assigning the list of string values based on the index to the column databinding and while i am trying to add aggregation to the columns i am facing runtime issue as mentioned below.

"No generic method 'Sum' on type 'System.Linq.Enumerable' is compatible with the supplied type arguments and arguments. No type arguments should be provided if the method is non-generic."

I am unable to resolve this issue after number of workarounds.

 Kindly provide me a solution ASAP.

Regards,

Karthikeyan R

Stefan Nenchev
Telerik team
 answered on 29 Jan 2016
1 answer
126 views

Hi *,

I try to use the selection changed Event for the cartesian Chart to notify another view.

It works fine but I recognized that there is no possibility to select an item with the null value (see attached Picture).

 

Any ideas?

Thx

Rostislaw

Petar Marchev
Telerik team
 answered on 29 Jan 2016
1 answer
338 views

I have a radlistbox which has images, title and createddate of them. I showed images and title but i don't know what this listbox sort by. How can i sort listbox by createddate?

Something likes 

                                <telerik:RadGridView.SortDescriptors>
                                    <telerik:SortDescriptor Member="DateCreate" SortDirection="Ascending" />
                                </telerik:RadGridView.SortDescriptors>

of gridview.

Such as 'example.png', ListBox shows image and title, I want it to sort by created date.

 

Nasko
Telerik team
 answered on 29 Jan 2016
2 answers
114 views

Hi,

I have simple diagram (container and three items inside) as you can see on before.jpg.

When select container shape and quick drag in other place, connection change as you can see on after.jpg

This is really disturbing, beacuse in diagram with many elements inside container dragging makes it looks unreadable. Connections are arranged senselessly, not the same as user create them but random.

 

Any ideas?

Jakub
Top achievements
Rank 1
Iron
 answered on 29 Jan 2016
1 answer
181 views

I use the SDK sample - "Custoizing item" to change the item color

but when I try to get SelectedItem. it  always be null. it seems it can not be selected

ItemTemplateSelector="{StaticResource ItemTemplateSelector}"

 <local:CustomItemTemplateSelector x:Key="ItemTemplateSelector"
InstantItemTemplate="{StaticResource InstantItemTemplate}"
ItemWithDurationTemplate="{StaticResource ItemWithDurationTemplate}"/>
    

-Jacky

Martin Ivanov
Telerik team
 answered on 29 Jan 2016
3 answers
233 views

Hello!

I need to move the splitters at runtime. It's possible? How?

I'm using Telerik WPF 2015.1.

Thank you!

Nasko
Telerik team
 answered on 29 Jan 2016
5 answers
236 views

Hi,

I have defined custom filtering control like this. It's a custom control.

public class SalusGridViewCustomFilteringControl : FilteringControl
    {
        private GridViewDataControl _parentGrid;
        private GridViewBoundColumnBase _parentColumn;
        private readonly List<FilterDescriptor> _filterDescriptors = new List<FilterDescriptor>();
 
        static SalusGridViewCustomFilteringControl()
        {
            DefaultStyleKeyProperty.OverrideMetadata(typeof(SalusGridViewCustomFilteringControl), new FrameworkPropertyMetadata(typeof(SalusGridViewCustomFilteringControl)));
        }
 
...
 
public static readonly DependencyProperty ItemsProperty = DependencyProperty.Register(
            "Items", typeof (ObservableCollection<AgendaActivityType>), typeof (SalusGridViewCustomFilteringControl), new PropertyMetadata(default(ObservableCollection<AgendaActivityType>)));
 
        public ObservableCollection<AgendaActivityType> Items
        {
            get { return (ObservableCollection<AgendaActivityType>) GetValue(ItemsProperty); }
            set { SetValue(ItemsProperty, value); }
        }
 
...

 But when I use it as filtering control for column like this:

 

<telerik:GridViewDataColumn.FilteringControl>
                                       <controls:SalusGridViewCustomFilteringControl Items="{Binding AgendaItemTypes}" ItemContainerStyle="{StaticResource AgendaFilteringItemStyle}"/>
                                   </telerik:GridViewDataColumn.FilteringControl>

 Binding to AgendaItemTypes not works. Ok it is because telerik FilteringControl class, which is base class for my custom filtering control, sets DataContext to FilteringViewModel. FilteringViewModel does not contains property AgendaItemTypes.

But when I change binding of Items property to element which has right datacontext i.e. like this:

<telerik:GridViewDataColumn.FilteringControl>
                                        <controls:SalusGridViewCustomFilteringControl Items="{Binding ElementName=AgendaModule_AgendaPlannedActivityView_GridView, Path=DataContext.AgendaItemTypes}" ItemContainerStyle="{StaticResource AgendaFilteringItemStyle}"/>
                                    </telerik:GridViewDataColumn.FilteringControl>

 Binding still not work. Can someone give me advice please?

Stefan
Telerik team
 answered on 29 Jan 2016
2 answers
325 views

Hello!

I have a question about Prism and RadWindow, In Prism's  Samples of Wpf on GitHub, there is a "InteractivityQuickstart ",

in this sample, alert ,confirm and window are Window but not RadWindow,

and I find there are 3 Window Control in PrismLibrary named "DefaultConfirmationWindow","DefaultNotificationWindow" and "DefaultWindow",

I want to know is there any way to show Telerik alert ,confirm, prompt and pop window in Prism mode?

If I replace the 3 Window Control by RadWindow in PrismLibrary, there will no Icon in alert ,confirm and prompt. if I set a Icon, it can not fit for different themes.

Is there some good solution?

 

Wang
Top achievements
Rank 1
 answered on 29 Jan 2016
7 answers
596 views
Hi,


I want to do the following operations in Telerik RadGridView control in my WPF application:
a) Edit a Row
b) Update a Row
c) Delete a Row

How can I do this operations in Telerik RadGridView control.

Any quick code samples will be highly appreciated.

Please, mail me the solution with code to hiraks@infospantech.com.


Thanks & Regards,
Hirak

Stefan Nenchev
Telerik team
 answered on 28 Jan 2016
1 answer
109 views

I am stumped on this, and I think its my way of thinking, but simply, I cannot follow how to add further timeline points during runtime.  I can follow the examples given on the Telerik website easily enough, which get you to a point on initially running the example of having a selection of random points on the timeline, but to then add further ones is not working for me.

 I am using VB.net, can you point me in the right direction for this - any help is appreciated, thanks (consider me at a beginner level, ta)

Dinko | Tech Support Engineer
Telerik team
 answered on 28 Jan 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
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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?