Telerik Forums
UI for WPF Forum
1 answer
126 views
I have an implicit style:

<telerik:RadGridView.Resources>
    <Style TargetType="{x:Type telerik:GridViewCell}">
        <Setter Property="Foreground" Value="Red" />
        <Style.Triggers>
            <MultiDataTrigger>
                <MultiDataTrigger.Conditions>
                    <Condition Binding="{Binding IsAllowedToEdit}" Value="True"/>
                    <Condition Binding="{Binding Path=Column.IsReadOnly, RelativeSource={RelativeSource Self}}" Value="False"/>
                </MultiDataTrigger.Conditions>
                <MultiDataTrigger.Setters>
                    <Setter Property="Background" Value="#DBFFEC"/>
                </MultiDataTrigger.Setters>
            </MultiDataTrigger>
        </Style.Triggers>
    </Style>
</telerik:RadGridView.Resources>

But i have to scroll up and down, and one after another each row cells turns green if it is supposed to.

How can i fix this?
Vanya Pavlova
Telerik team
 answered on 15 Jul 2011
4 answers
611 views
I'm considering moving to Telerik grids.  One of the issues I've come up against is that it doesn't look like I can perform bindings which relate to the bound objects ToString() method.

With WPF Toolkit DataGrids I could have a binding on a list view which looked like:

Binding="{Binding}"

This would mean that the ToString() method on the relivant object in the bound collection would be called and displayed.

On Telerik controls if I perform a binding such as:

DataMemberBinding="{Binding}":

Then I do not see this behaviour.  Is this feature missing from your controls or do I have to approach this in another way?  This is something I would really like to be able to do as it allows me to display composite data in a single field.

Thanks
Tony
Top achievements
Rank 1
 answered on 15 Jul 2011
5 answers
147 views
I'd like to expand all TreeListView nodes when the data is loaded. I tried to use DataLoaded event for it but got a problem. After calling ExpandAllHierarchyItems() in DataLoaded event handler, this event fires again and app goes into infinite loop. How can I handle with it? Note: I need expanded tree after each data update, not only once.
Max
Top achievements
Rank 1
 answered on 15 Jul 2011
4 answers
109 views
I have a TreeListView and simple data binding with PropertyChanged notification. Selecting a ComboBox value causes updating of node's child elements in the tree but sometimes cells don't get updated. PropertyChanged() invoked, actual value changed but no reaction from grid. New values appear only after scrolling or shrinking\expanding tree node. I suppose this strange behaviour is due to cells virtualization but don't know how to fix it.
Max
Top achievements
Rank 1
 answered on 15 Jul 2011
1 answer
344 views
Congrats on the forward thinking with respect to the Metro theme.

The docs are a little behind the code (we all sympathise), so I was wondering how to set the Metro theme, and select the Colors used in the theme. Purple is a bit....purple. :)

Bob
Dani
Telerik team
 answered on 15 Jul 2011
2 answers
363 views
I just downloaded the new Q2 bits (demo is impressively clean - nicely done!) and realized you're now offering a busy indicator similar to the one in Windows Phone - something I've been looking for for awhile now. The only question I have is if there is a way to change the color of the ellipses used in the control? I was looking through the them (BusyIndicator_style.xaml) and I can see where the fill is set to AccentBrush but I wasn't sure if it was possible to override this with another color. Purple doesn't really match my app very well.

Thanks in advance!

Edit: One thing that is missing from the demo is a way to change the theme on all the controls. What happened to that choice? I like the Metro one, but I would like to see some of the others too - especially for the main progress bar.
Dani
Telerik team
 answered on 15 Jul 2011
3 answers
99 views
Hello,

I want the RadScheduleViewer to scroll in TimelineView from currentdate to the next or previous appointment.

Do i have to implement a custom solution?

For what is the property AppointmentNavigationButtonsVisibility used?

It seem not to work. When the AppointmentNavigationButtonsVisibility is set to Allways nothing happens.

Please help !!!

Greetings
Valeri Hristov
Telerik team
 answered on 15 Jul 2011
3 answers
142 views
I'd like to have the pagesize for the data pager be dependent on how many items can fit in the gridview without scrolling. I'm assuming I can write code to do this, but was wondering if there might be a better way.
Vlad
Telerik team
 answered on 15 Jul 2011
2 answers
200 views
Hi,


I have a DataTable with numeric data that is bound to a RadGridView. When I sort a column by clicking the grid's header it is sorted by that column which is correct. The problem is that the sort applied to the column is a string sort and I would like it to sort numerically. I looked in the grid documentation under Sorting to no avail. Could you please tell me how this is done?


Best Regards,
Jose
Jose Simas
Top achievements
Rank 2
 answered on 15 Jul 2011
9 answers
123 views
Let DoubleValue be a non primitive type wrapping a double, with a TypeConverter attached that knows how to convert it from/to a Double, and suppose a GridViewDataColumn is bound via DataMemberBinding to a property of this type. Editing the value causes an InvalidCast exception, from String to DoubleValue, in GridViewDataControl.OnKeyDown. Although the exception is captured internally, it is still visible in the Output window of VS.

Going through a ValueConverter in the DataMemberBinding does not make a difference here: the same exceptions are still raised.

The internally raised exceptions are unpleasant and can cause problems with e.g. copy/paste, which I have noted in separate post.

jose
Top achievements
Rank 1
 answered on 15 Jul 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
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?