Telerik Forums
UI for WPF Forum
2 answers
200 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
201 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
363 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
254 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
139 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
103 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
169 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
145 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
102 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
1 answer
129 views
How can I set the column header text to Bold in the Transparent theme?

Thank you.
Vlad
Telerik team
 answered on 21 Jun 2012
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
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?