Telerik Forums
UI for WPF Forum
4 answers
827 views
I'm getting error: "The type or namespace name 'External' does not exist in the namespace 'Telerik.Windows.Controls'(are you missing an assembly reference?)"

This error is in my MainWindow.g.cs file. It occurred when I added "Telerik.Windows.Controls.ScheduleView.xaml" (OfficeBlue) to my project. Whenever I get this error I can "clean solution" and run and it works. But if I make a change to anything in my project and try to run it, it errors. I tried finding this class reference in the ScheduleView documentation and no luck. If I delete the "using Telerik.Windows.Controls.External;" out of my code I get a bunch of errors. So I assume there has to be some reference that the project is finding.

Any help would be much appreciated.

(This is using the trial version with Blend 4, Windows 7 service pack 1).
Geoff
Top achievements
Rank 1
 answered on 21 Jun 2012
2 answers
161 views
Maybe this is obvious but I can't seem to figure it out.
I have a RadGridView that's displaying paged data (with a RadDataPager).
Let's say the page size is N.
When there are less than N items in the data source, the grid sizes itself exactly to the number of rows.
When there are exactly or more than N items in the data source, the grid sizes itself exactly to N rows (and it will never be any bigger, of course).
Is it possible to "lock" the grid's desired height to the PageSize (so that it doesn't change size regardless of the number of items being displayed, and it's always exactly big enough to show N items, with empty space only if the number of items is less than N).
The grid's containing element will size itself dynamically according to the grid's preferred size. 
I don't want to hard-code the Height, for obvious reasons.
Wayne
Top achievements
Rank 1
 answered on 21 Jun 2012
3 answers
173 views
Hi,

in my RadWindow I have a RadComboBox, when I show my RadWindow, I already have an object and I set the Text property of my RadComboBox but at the same time, I have a running BackgroundWorker who get the ItemSource data of my RadComboBox. The BackgroundWorker take about 3 or 4 seconds to get all the data for the RadComboBox.

When my BackgroundWorker is completed, I set the ItemsSource of my RadComboBox but the Text property of my RadComboBox are not synchronize with their ItemSource. If I click on the dropdown button of my RadComboBox, the corresponding value in the dropdown are highlight.

How I can fix tthis?

Thank's
Konstantina
Telerik team
 answered on 21 Jun 2012
3 answers
307 views
Hi, I have two question I can't find in the forum:

1-. I have a RadGridView binded to datasource, once the data is binded (or binding), how can i tell RadGridView wich columns are visibles and which aren't. (AutogenerateCoumns=true)

2-. Is there a way to bind columnheaders?

We are using MVVM pattern

Thanks
Dimitrina
Telerik team
 answered on 21 Jun 2012
3 answers
231 views
Is the engine being used to evaluate text expressions built into the RadExpressionEditor, or is it a separate assembly? I would like to use the RadExpressionEditor to build expressions within a WPF environment, but then I need to be able to take that expression text and rebuild the expression in an environment that does not have references to the WPF related assemblies.

Thanks,
Brian
Dimitrina
Telerik team
 answered on 21 Jun 2012
4 answers
124 views
the contextmenu hind behind the RadPane when performing a right click, does anybody know how to fix this?
James
Top achievements
Rank 1
 answered on 21 Jun 2012
1 answer
92 views
I need to call a custom method when the slider / scroller of the RadPdfViewer slides up and down. How can I do that ?
Kammen
Telerik team
 answered on 21 Jun 2012
1 answer
149 views
Hi,

I am using RadGridView to display a List of objects that implement IDataErrorInfo, this list is being populated by objects imported from an XML file. Unfortunately some of the records may contain invalid data which the application should point out. Implementing IDataErrorInfo lets me do this wonderfully.

However, I would like to find a way to get these invalid rows, and valid ones, and I have not managed to find a way to do so.

Any ideas?

Thanks,
Daryl
Nedyalko Nikolov
Telerik team
 answered on 21 Jun 2012
0 answers
130 views

Dear support,

When I click "Add", fill-in data and then "OK", the data has successfully put in the collection but "Add" button is still disabled.
I have to click "Edit" follow by "Cancel" so that the "Add" button become enabled again.

Now I know what cause the problem.
The dataform was bound to a ListCollectionView of objects that implement IEditableObject and INotifyPropertyChanged.
By design, those objects raised OnPropertyChanged event on EndEdit or CancelEdit method because there were some changes in their internal properties. This made the dataform think the object has been changed again so it didn't enable navigation and Add New buttons.

My question, can we make the dataform pay attention to only those properties bound to UI element under the dataform, or is there any other solution?

thanks,
Meaw

Sirilak Tanepoon
Top achievements
Rank 1
 asked on 21 Jun 2012
1 answer
75 views
I notice that out-of-the-box the RadGridView auto-generates columns for navigation properties from an OData source, regardless of whether or not they were actually expanded by the query. Is there anything built into the controls to more flexibly handle navigation properties? I was thinking it might be nice to automatically generate hyperlinks in these cells that would issue the appropriate query back to the service when clicked.

It looks like I could roll my own scheme by intercepting AutoGeneratingColumn and setting up a cell template, but then how would I determine the link information from the feed?
Vlad
Telerik team
 answered on 21 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?