Telerik Forums
UI for WPF Forum
2 answers
190 views
i get following exception while trying to filter at runtime using UI:
"'System.Object' is not a valid metadata type for type filtering operations. Type filtering is only valid on entity types and complex types."
           
When i add filter in code :
FilterDescriptor fd=new FilterDescriptor("nazwa",FilterOperator.Contains,"GT");
view.FilterDescriptors.Add(fd);
everything works.

binding code:             QueryableCollectionView view = new QueryableCollectionView(presenter.Model.EntityList);
            view.PageSize = 1000;
            SortDescriptor sd=new SortDescriptor();
            sd.Member = "nazwa";
            sd.SortDirection = System.ComponentModel.ListSortDirection.Ascending;
            view.SortDescriptors.Add(sd);
            radGridView1.ItemsSource = view;

presenter.Model.EntityList contains objects that derive from EntityObject(so i think they are of "entity type" ).
What should i do to avoid this problem?


Stefan Dobrev
Telerik team
 answered on 25 Aug 2009
3 answers
176 views
Hi

Is there a way to make two rows of header
in order to group few columns together
like this

      a              b             c
a1 a2 a3  b1 b2 b3  c1 c2 c3 
Pavel Pavlov
Telerik team
 answered on 25 Aug 2009
1 answer
161 views
Hi,

I am just wondering if there any reason why IsBusy property of GirdView is readonly? It would be great to be able change this property to True while loading data from database, then assign the data to gridView.ItemsSource and then set IsBusy to false.
My problem is that  database which is used by application might be  somewhere  in the Internet not in local network. So when I have to fetch a lots of data from DB, it may take about 10 seconds. During this time it would be great to set IsBusy to true and when data are fetched, assign the collection to the ItemSource and resotre the grid. Now it looks like this: UI hangs when fetching the data for 10 seconds and then when collection is assigned the busy icon is animated for about 1 sec.

Could you provide some example how to solve such an issue?
Maybe I can change RadGridView soruce code and change setter of IsBusy to public?

Cheers!
Milan
Telerik team
 answered on 25 Aug 2009
4 answers
312 views
Hello Telerik team,

I am using telerik radgridview in one of my WPF application. When i am binding Itemsource property i am binding a object which has foreign key columns, now in radgridview column i am getting the foreign key ID values as expected.

For example:

Binding Table Colums:
TableID
Name
Description
ForeignKeyTableID (FK)

Foreign key table:
ForeignKeyTableID
Value




Now i want to display the value of the foreign key rather than the id value, as id doesn't make any sense to display. What would be the efficient way to do this. I am thinking of using converter while binding, but it would be heavy as i will be working on thousands of records in radgrid.

Looking for a best and efficient way to handle this...

Thanks,
Kranthi
Pavel Pavlov
Telerik team
 answered on 25 Aug 2009
1 answer
253 views
hello telerik,

how do i implement pagination functionality for a RadGridview, does it have an in-built pagination control?
can i get some idea about implementing the pagination functionality for RadGridView..

thanks,
kranthi
Milan
Telerik team
 answered on 25 Aug 2009
6 answers
159 views
My RadChart does not display when place in a ItemsControl or a ListBox, when the RadChart is part of a DataTemplate that varies on DataType, no plots of my Datapoints are render.  Telerik, what's up with that, why can't RadChart render in a ItemsControl and/or ListBox?.
Patrick Fletcher
Top achievements
Rank 1
 answered on 24 Aug 2009
1 answer
63 views
Hi,

these days I stumbled over the "automatic edit selection" as described here.
http://www.telerik.com/help/wpf/gridview-data-editors.html
Although this looks "nothing special" the mechanism behind it allows us to implement our own editor and register is with the system.
I made a code library post about it since this is a real powerful mechanism.
By the way - congratulations for this - I love it!!

And since I have to proof my role as annoying customer I ask if it wouldn't be possible to implement this also for the "display part" of the RadGridView.
So additional to RegisterDefaultEditor(typeof(myDataType), typeof(myDataTypeEditorSettings)) I would like to see something like
RegisterDefaultCellTemplate(typeof(myDataType), typeof(myTemplate)).

Since in this case there is no need for the complex logic of an editor (with editor settings) a simple "Dictionary of DataTemplates" could do the job. At least in the first step.

Regards

Manfred
Stefan Dobrev
Telerik team
 answered on 24 Aug 2009
1 answer
80 views
Hi,

I am trying to add multiple barseries where each of them also have another serie that belongs to it.

So basically what I want to do is to have the line (or point) value to be directly above or below the bar that the serie belongs to. Right now the bars are standing next to each other (just like i want them to) but the lines or points that are connected to each bar serie is located in the middle of the XCategory and not in correlation with the bar.

I am assuming that this happens since bar are not drawn on top of each other but lines and points are. So if there is any way to prevent this that would be helpful.

What I want to achieve in the end is to show min/max and standard deviation values for an average bar, so in case there are better ways to do this I would be glad to hear about that too.

Thanks in advance,
Mattias
Ves
Telerik team
 answered on 24 Aug 2009
3 answers
143 views
This is my first experience with WPF and Telerik.

When I create an empty WPF project in VS2008, I'm given a Window1.xaml and the outer component is <Window x:Class="..." >

If I'm going to use the Rad controls throughout, should I replace that with telerik:RadWindow? If so, how? When I drag a RadWindow into my current canvas, it is nested. When I run the app, I don't see the RadWindow.

Essentially I'm looking to have a base window for my app that has a RadPanelBar on the left side as the primary menu, and a main content area that will hold multiple windows created dynamically based on menu selections.

I'm not sure what the foundation of a Telerik WPF app should start with.

Thanks,
ms
ManniAT
Top achievements
Rank 2
 answered on 22 Aug 2009
6 answers
1.0K+ views
I have a dataset that is  a master/detail, displaying as hierchical data.

The 2 tables are joined on a column called "InvoiceID"

I do not want to show the "InvoiceID" column in the detail data

Without defining every column that should be displayed in xaml, is there a way to specify a column that I want to hide?  Thanks
jas
Top achievements
Rank 1
 answered on 22 Aug 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?