Telerik Forums
UI for WPF Forum
7 answers
358 views
Hi Telerik,

It seems to me the RadDataGrid is not updating it self when applying a filter to its datasource of type ObservableCollection<T>:

I've tried the same code - just using the standard ListBox - and that works as expected.
The filter is applied and the listbox is updated to only show the items that apply to the filter - but that doesn't work for the RadDataGrid:

Here's a little code example:

//_availableOnBoardSalesProducts is of the type ObservableCollection<Products>  
gridFood.ItemsSource = _availableOnBoardSalesProducts;  
myListBox.ItemsSource = _availableOnBoardSalesProducts;  
 
//Add an item to the ObservableCollection works fine in the RadDataGrid  
        private void Button_Click(object sender, RoutedEventArgs e)  
        {  
            _availableOnBoardSalesProducts.Add(new OnboardSalesService.Products() { Price = 10m, Description = "MyDesc", Category = "MyCat" });  
        }  
 
//But applying a filter only works fine for the standard ListBox - not for the RadDataGrid  
        private void Button_Click_1(object sender, RoutedEventArgs e)  
        {  
            ICollectionView view = CollectionViewSource.GetDefaultView(gridFood.ItemsSource);  
            if (view.Filter == null)  
            {  
                view.Filter = delegate(object item)  
                {  
                    bool result = ((OnboardSalesService.Products)item).Price == 10m;  
                    return result;  
                };  
            }  
            else 
            {  
                view.Filter = null;  
            }  
 
        } 

Thats a bug right?

I've also noticed that you have an Telerik.Windows.Controls.Core.RadObservableCollection<T> available.
Whats that for?
Rossen Hristov
Telerik team
 answered on 25 Mar 2011
1 answer
64 views
Hello,

I have 8small different radial gauges on the same screen of my application. Now I when someone clicks on one of them I want that gauge to be vieuwed in an enlarged version on the side, but still have the origonal visable.

What would be the best way to accomplish this, because there is no copy function.

With Kind regards,
Kevin
Andrey
Telerik team
 answered on 25 Mar 2011
3 answers
75 views
Hi,
I am new to telerik charting. I have a list of nodes having x and y values between -1.5 -1.5 on both x and y axis
 Can you please send me any sample, how can i map my points and set x and y axis values. Thanks
Yavor
Telerik team
 answered on 25 Mar 2011
2 answers
259 views
Hi Guys,

In the RadGridView, I have set the RowVisibilityIndicator="Collapsed". But there's a tiny gap on the left side of the gridview. How can I remove this gap? I also have the same issue with RadTreeListView. Is the approach going to be the same?

Thanks.

Marianne
Marianne
Top achievements
Rank 1
 answered on 25 Mar 2011
5 answers
224 views
Hello, 

In my application, I have a RadGridView that contains columns that have been added via XAML as well as columns that are added dynamically in code.  The problem I am seeing is that the columns added via code cannot be sorted or grouped, while there is no problem with the columns created in XAML.  I have confirmed that the dynamically added columns have the IsSortable and IsGroupable properties set to true.  Should this be all I need?

One important difference is that the programmatically added columns contain more complex property names than do the columns added in XAML.  This results in the EffectiveSortMemberPath being set to something like "Experiments[0].WarpsPerBlock" (from the binding) on each of the dynamic columns.  Could the "deep" property string cause sorting to fail?

Any help will be greatly appreciated!

Thanks,
Mark


Yavor Georgiev
Telerik team
 answered on 24 Mar 2011
1 answer
141 views
I am evaluating the option of using the DateTimePicker instead of another DateTime control. It has been a great fit for us, except for one thing.

In our system, when specifying bounds, we use an end date of 1/1/9000 to indicate that something is open-ended. 

The problem is that even though I have the SelectableDateEnd and DisplayDateEnd properties set to 1/1/9000, when you open the picker, the max date is 1/1/3000.

Is there any way to alter this behavior?
Konstantina
Telerik team
 answered on 24 Mar 2011
2 answers
140 views
Creating a RadPane by code an make it floating dockable, i can't set the floating pane size.

Y try with MinHeight.... Height....

Example
oRadPane.MinHeight = 600;
oRadPane.MinWidth = 600;
oRadPane.MakeFloatingDockable();

Always have the same default size.

Any solution?
Fernando
Top achievements
Rank 1
 answered on 24 Mar 2011
3 answers
193 views
This really is beyond the pale:

I have a collection of specialised appointments, i.e. objects that inherit from Appointment.  They are shown in a Listbox and can be dragged onto a ScheduleView.

The additional fields in my inherited object are already set with their pertinent information.  However, dragging onto the ScheduleView this information is lost.

CopyFrom in the specialised object is called many times, sometimes with the correct original information, sometimes with blank information.  Always the last time is with the blank information, which is clearly wrong.

How can I make ScheduleView only copy the original source Appointment ONCE and ONCE ONLY?

2010 Q3.
Gareth McNicol
Top achievements
Rank 1
 answered on 24 Mar 2011
2 answers
133 views
Hi,

What do I need to do to have a self defined Resource class? Currently I'm inheriting from the class Telerik.Windows.Controls.Resource. My resources are shown in the scheduler, but selection,multiselection and drag and drop does not work correctly anymore. If I add "normal" resource objects everything works fine. What do I have to consider when implementing my own resource class?

thanks in advance,

michael
Michael
Top achievements
Rank 1
 answered on 24 Mar 2011
0 answers
71 views
Hi.
I am trying to bind  radtreelistview with a large static XML (size 20 MB) which is placed in the application folder  ,but i get an error saying "Not enough memory available for this operation".
I have set the property of this XML file as "Build Action" = content.
The binding works well if the file size is around 12MB.

What options do I need to try in order to bind large XML? Please reply
Sharada
Top achievements
Rank 1
 asked on 24 Mar 2011
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
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?