Telerik Forums
UI for WPF Forum
5 answers
180 views
So instead of having a one close button at the far right of the tab strip, you'd then have a close button on each tab header (like the tabstrip on Google Chrome).

Possible?
Dani
Telerik team
 answered on 05 Aug 2010
5 answers
286 views
I am pleased to see that Telerik has implemented the ability to draw custom lines onto the chart, after the request (http://www.telerik.com/community/forums/wpf/chart/drawing-extra-elements-into-or-on-top-of-chart.aspx) that was made; although I don't know if it was already in the works.

Is it possible to draw the CustomLines on top of the Bars? If the Bar's item width percent is set to 100 they effectively are invisible unless drawn at a Y-Value above the bars.
Sia
Telerik team
 answered on 05 Aug 2010
2 answers
105 views
I have a  GridView in my application which displays product information.
Now when  user selects a product, a window is shown. The user can update description here. This description is saved to DB.
Now I want to reflect these changes in the GridView w/o making a new query to DB.
How to assign the changed description to selected product??
Xaria D
Top achievements
Rank 1
 answered on 05 Aug 2010
1 answer
121 views
I wish to handle the data loaded event  for RadGridView.
Further, I need to check a particular value for each row in the grid and perform certain operations.
How to cast the row items to a class object?

P.S. Sorry I posted in the wrong forums
Vlad
Telerik team
 answered on 05 Aug 2010
1 answer
165 views
I have a fairly simple scenario. A non-hierarchical grid bound to an ObservableCollection<T>. The collection resides on a ViewModel. When I load the view, the grid displays data appropriately. A seperate control on the page can force a refresh of data in the ObservableCollection. That is, the collection is cleared and repopulated with new items based on the outside criteria. When the operation completes, I see a new count in the collection, but the rendered grid is unchanged. It was my understanding that the grid would respond to events raised by an ObservableCollection and that no additional handling was necessary. I'm aware of a Rebind method on the grid, which I could call to force a rebind, but as you may be aware, knowledge of controls in a ViewModel is not appropriate. 

Any ideas why the grid would not respond to changes in the collection? Also, if I must force this rebind using the Rebind method, what are some strategies to initiate this from the ViewModel without calling the grid directly from the ViewModel?

Thanks...
kilhoffer
Top achievements
Rank 1
 answered on 04 Aug 2010
4 answers
164 views
Hello,

I'm currently building an application where the user has some control on how a chart looks.

Every property I'm changing work perfectly except for anything linked to a brush.

The different brushes the the SeriesAppearanceSettings are correctly updated till a Rebind() is called or till the ItemSource is changed when a color change has been previously called. From that point on an ArgumentException is thrown if I attempt to change a previously changed brush:
"The provided DependencyObject is not a context for this Freezable.
Parameter name: context"

here is my method for changing colors:
public void SetFillBrush(Brush color)
        {
            _lineDefinition1.Appearance.Stroke = color;
            _barDefinition1.Appearance.Fill = color;
            _areaDefinition1.Appearance.Fill = color;
 
            _lineDefinition2.Appearance.Stroke = color;
            _barDefinition2.Appearance.Fill = color;
            _areaDefinition2.Appearance.Fill = color;
        }


Any help is appreciated.
Julien
Top achievements
Rank 1
 answered on 04 Aug 2010
1 answer
88 views
Hello,

I was wondering if there was any planning in separating the style of the AxisStyles.GridLineStyle into MajorGridLineStyle and MinorGridLineStyle.

My application requires to be able to have the minor grid line in a difference color than the major one and I am unable to do so at the moment.
Sia
Telerik team
 answered on 04 Aug 2010
4 answers
111 views
I'm trying to set a global theme for either Telerik controls or non-telerik controls in xaml using a style.  This works in Visual Studio, but not in Blend.  I get the error:  'Office_Blue' is not a valid value for the 'Telerik:Windows.Controls.StyleManager.Theme' property on a Setter.

I am using RadControls for WPF Q1 2010 SP2 (version 2010.1.0603) on Windows 7 x64.  Here is the xaml:

<Style TargetType="telerik:RadGridView">
 <Setter Property="telerik:StyleManager.Theme" Value="Office_Blue" />
</Style>
Adam Love
Top achievements
Rank 1
 answered on 04 Aug 2010
2 answers
327 views
I have a grid that I only ever want to show a subset of data items. I want the user to be able to play around with the filters, so I've created a CollectionView based on the original collection that has the permanent filter set. This CollectionView is set as the grid's ItemsSource so that the permanent filter and the user defined filters (FilterCollection) are kept separate.

However, I get an index out of bounds exception when adding items to the original collection. It looks like this is because the INotifyCollectionChangedEventArgs are specifying an index that is present in the original collection, but too high once the CollectionView filter has been applied.

Is this a strategy that should work and I'm missing something, or does anyone know of a better way to have a filter always set on the grid, despite calling FilterCollection.Clear() (my fallback strategy is to now create a FilterDescriptor to do the same job and re-add it every time I clear the filters).
Geoff Smith
Top achievements
Rank 1
 answered on 04 Aug 2010
1 answer
103 views
Hi,

How can i apply "Row Selection Style" for RadGridView using a predefined property.

Thanks,
-Narendra
Vlad
Telerik team
 answered on 04 Aug 2010
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
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?