Telerik Forums
UI for WPF Forum
1 answer
110 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
326 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
102 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
150 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
219 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
218 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
287 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
559 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
97 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
7 answers
155 views

Hi Telerik admin,

I am trying to add reordering row functionally to my gridview, I found the example somewhere on Telerik 4rum, but the example used RadDragAndDropManager which is obsolete implementation, thus I changed to DragDropManager follow this link: here, but it does not work.

I had searched so much before created this thread, plz take a look at the attached file and wonderful if anyone modify it to work. Thanks

Nasko
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
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?