Telerik Forums
UI for WPF Forum
5 answers
583 views
I've found this article: http://www.telerik.com/help/wpf/gridview-filtering-programmatic.html
But column doesn't have "ColumnFilterDescriptor" property. I use 2011.3.1220.40 version of controls.

My problem:
I want to set filters to auto-generated column. I can set filters to grid using "grid.FilterDescriptors" property. It filters data in grid but when I open filter in column header it resets. How to set filters to column?

P.S. My code for adding filter to grid:
grid.FilterDescriptors[i] = new ColumnFilterDescriptor(newColumn)
{
    FilterDescriptors = oldColumnDescriptor.FilterDescriptors,
    LogicalOperator = oldColumnDescriptor.LogicalOperator,
    Column = newColumn
};

Dimitrina
Telerik team
 answered on 16 Jan 2013
1 answer
88 views

I presumed one did "Auto" shape layout and the other did "Fixed" shape layout but I cannot see any behavioural difference when playing around with these controls in the Telerik demo.
Miro Miroslavov
Telerik team
 answered on 16 Jan 2013
1 answer
275 views
Hi there,

I'm trying to host a RadTimeLine inside a RadTimeBar so that I can view timeline events but with the selection ability of the TimeBar.

a) If I want the mouse scrolling to work, I need to have intervals set on my RadTimeBar, but I don't want duplicate intervals to be displayed. I can't seem to make the header height for the RadTimeLine drop to zero - is it possible to completely hide either of the headers?

b) I'd like the cursor to just be a single line rather than a selected range - representing an instant in time rather than a period. Is there a simple way to do this?

Many thanks

Nick
Tsvetie
Telerik team
 answered on 16 Jan 2013
1 answer
66 views
Hi,

Is it possible to limit the number of RandPaneGroup within a RadDocking control?

At this moment, we have one RadSplitContainer with RadPane in it on the left for navigation purpose.

And another DocumentHost with one RadPane in it occupying the rest of area.

When there are multiple RadnPane in the RandPaneGroup of the DocumentHost, they can be draaged out to float, and when they dock back, we would like to make the float window docked back to the original PanGroup they are from.

The reason is we are using Prism region with radDocking. When they radpane are docked back to diffrent RadPanGroup. exceptions will be thrown.

Is it possible to do it? Does it need to disalbe some indicator of the Compass?

Regards,

Yu
Vladi
Telerik team
 answered on 16 Jan 2013
1 answer
182 views
I have data bound the RadMap Center and ZoomLevel to properties in my ViewModel. These work fine up until I move the map or zoom in/out using the mouse. It appears as if the databinding is no longer working. I'm firing the OnPropertyChanged events but the map fails to respond. The mouse events are being handled directly by the control.

Any Idea if this is a bug? Or should I update these properties in another way?
Andrey
Telerik team
 answered on 16 Jan 2013
3 answers
247 views
Hi,

is it possbile to view a Report (Example the Dashboard.trdx) in a wpf Application?

Thanks
Best Regards
Rene
Steve
Telerik team
 answered on 16 Jan 2013
7 answers
205 views

Is it possible to write unit test against the VirtualQueryableCollectionView? I tried to write a unit test to verify the VirtualItemCount, but it seems that the collection is tightly coupled to the UI components and therefore requires tests to run on a STA thread. Is this correct?

Vlad
Telerik team
 answered on 16 Jan 2013
1 answer
219 views
This exception occurred while I was using the RadRichTextBox, and it crashed my application.  I have not been able to reproduce it since.  I am on RadControls for WPF version 2012.3.1017.40.

ShellApplication.HandleException : InteractionDesktopClient: App Domain Unhandled exception
Top Exception
Type=System.ArgumentNullException
Source=mscorlib
Message=Value cannot be null.
StackTrace:
   at System.Threading.Monitor.ReliableEnter(Object obj, Boolean& lockTaken)
   at System.Threading.Monitor.Enter(Object obj, Boolean& lockTaken)
   at Telerik.Windows.Documents.DocumentPosition.Dispose() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Core\DocumentPosition\DocumentPosition.cs:line 2626
   at Telerik.Windows.Documents.DocumentPosition.Finalize() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Core\DocumentPosition\DocumentPosition.cs:line 2650

Is this a known issue?

Thanks,
Evan
Boby
Telerik team
 answered on 16 Jan 2013
5 answers
688 views
Hi,

I am trying to use the AggregateFunctions and display them inside the Footer of the Grid using ItemsControl.ItemTemplate similar to the sample you provide. Though this works fine I have run into a problem, I have a tab control with 2 tabs inside each tab I have a Grid both using AggregateFunctions displayed in the footer using the ItemsControl.ItemTemplate. Initially the footers are displayed fine, if I however move between tabs/grids the footers are displayed empty.

If I do not use the ItemsControl.ItemTemplate approach the footers work fine, if I go and add or update the contents of the grid then the footer is displayed correctly again.

This code does not work:

<telerik:GridViewDataColumn Header="Available Amount" UniqueName="Amount" DataMemberBinding="{Binding Amount}" > 
    <telerik:GridViewDataColumn.AggregateFunctions> 
        <telerik:SumFunction Caption="Sum: " ResultFormatString="{}{0:0}" SourceField="Amount" /> 
        <telerik:AverageFunction Caption="Average: " ResultFormatString="{}{0:0}" SourceField="Amount" /> 
    </telerik:GridViewDataColumn.AggregateFunctions> 
    <telerik:GridViewDataColumn.Footer> 
        <StackPanel Orientation="Vertical" Margin="5,0">  
            <telerik:AggregateResultsList ItemsSource="{Binding}" VerticalAlignment="Center" Grid.Column="4">  
                <ItemsControl.ItemTemplate> 
                    <DataTemplate> 
                        <StackPanel Orientation="Horizontal" VerticalAlignment="Center">  
                            <TextBlock VerticalAlignment="Center" Text="{Binding Caption}" Width="100"/>  
                            <TextBlock VerticalAlignment="Center" Foreground="Blue" Text="{Binding FormattedValue}" /> 
                        </StackPanel> 
                    </DataTemplate> 
                </ItemsControl.ItemTemplate> 
                <ItemsControl.ItemsPanel> 
                    <ItemsPanelTemplate> 
                        <StackPanel Orientation="Vertical" /> 
                    </ItemsPanelTemplate> 
                </ItemsControl.ItemsPanel> 
            </telerik:AggregateResultsList> 
        </StackPanel> 
    </telerik:GridViewDataColumn.Footer> 
</telerik:GridViewDataColumn> 

This code does display but I would really like to control how it is displayed:

<telerik:GridViewDataColumn Header="Available Amount" UniqueName="Amount" DataMemberBinding="{Binding Amount}" > 
    <telerik:GridViewDataColumn.AggregateFunctions> 
        <telerik:SumFunction Caption="Sum: " ResultFormatString="{}{0:0}" SourceField="Amount" /> 
        <telerik:AverageFunction Caption="Average: " ResultFormatString="{}{0:0}" SourceField="Amount" /> 
    </telerik:GridViewDataColumn.AggregateFunctions> 
</telerik:GridViewDataColumn> 

I am using Q2 2009 (Version: 2009.2.701.35)

Hopefully it is something I am missing.

Regards,
Glen
Pankaj
Top achievements
Rank 1
 answered on 16 Jan 2013
4 answers
217 views
Is there a way to increase the height of the tab size (below the title bar).

Thanks

Chom
Chom
Top achievements
Rank 1
 answered on 15 Jan 2013
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
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?