Telerik Forums
UI for WPF Forum
1 answer
69 views
Hi,

After upgrading from Q1 2011 to Q2 2011, I can no longer build my program.  I receive multiple errors that say "Set property, 'Telerik.Windows.Controls.LocalizationManger.ResourceKey' threw an exception."

The innerexception detail is: {"Object of type 'System.Windows.Setter' cannot be converted to type 'System.Windows.DependencyObject'."}

Any ideas what has changed in between the two versions that can cause this problem?  
Ivo
Telerik team
 answered on 01 Nov 2011
2 answers
225 views
Hi,

I am using a RadTreeListView and want to change the rowstyle of the TreeListViewRow. I was able to achieve this using Blend but when I applied the new rowstyle into my radtreelistview somehow the expander button is not working as expected even if I didn't change anything to my new style. When I collapsed an expanded row and then expand it again, the expander button appears even if a row is not a parent. And also all the expander buttons now stays on the left hand side even if the row is indented.

Steps to reproduce:
1. Add new style to RadTreeListView rowstyle (I copied the TreeListViewRow style using Blend 4)
2. Expand/collapse a parent row then expand again

Please help.

Thanks in advance,
Jo
Jo
Top achievements
Rank 1
 answered on 01 Nov 2011
5 answers
104 views
Hi,

How can I align results of aggregated functions to columns in table? In my particular case I have GridView with columns for each hour (H1-H24) and few other columns like City, Country, etc. User is able to group data by City and Country column. When grouping is on I would like to display in group header result of aggregated sum function fore each hour column H1-H24, and I have to huge problems:

  1. Results width is much bigger then whole GridView width.
  2. Results aren't aligned with related columns in GridView.

How can I solve this two problems?

Regards,
MC
Maya
Telerik team
 answered on 01 Nov 2011
3 answers
275 views
Hello!

We want to implement validation in the Wpf RadGridView in such a way that the user can leave a cell that contains an error,
the cell should still display the invalid input, and still display the red error-border.
This is the normal behaviour for ordinary Wpf-controls, but a Grid cell seems to force the user to correct the input before she can continue.

regards
Stefan Wimo
Nedyalko Nikolov
Telerik team
 answered on 31 Oct 2011
1 answer
121 views
Hi, 

I'm binding a chart to an observable collection that is updated every second.  This all works great, but I only want to show 10 minutes of data.  That's why I want to have a FIFO (First In, First Out) chart where the oldest data begins drops off (1 second at a time) when the 10 minute mark is hit.  I can remove the items from the collection without a problem, but the datapoints remain on the chart.  Any way to remove specific datapoints?
Nick
Top achievements
Rank 1
 answered on 31 Oct 2011
7 answers
625 views
You provide a nice, complete sample of using the new export extentions for silverlight in:

http://blogs.telerik.com/vladimirenchev/posts/09-01-22/Export_to_Word_Excel_and_Csv_with_RadGridView_for_Silverlight.aspx


Do you have a sample of the same for WPF?

I manage to generate the html from the gridview, but embedding this in an actual .xls or .doc file is beyond me.

Thank you for any help!

-Tomas
Azhar
Top achievements
Rank 1
 answered on 31 Oct 2011
0 answers
45 views
Please ignore my question.
It was nothing to do with Telerik controls...
D
Top achievements
Rank 1
 asked on 31 Oct 2011
5 answers
163 views
Hi,

I have a grid view that specifies a RowDetailTemplate, something simple, like an empty grid.  Whenever I populate the ObservableCollection which is bound to the ItemsSource property of the grid, everything works fine, and the grid contains the data.  I can remove one element at a time, no problems.  Whenever I try to .Clear() the collection or .Remove() the last element, BOOM!, Object Ref Not Set...If I take off the RowDetailsTemplate, I can remove all items without exceptions.  Has anyone found a work around for this bug in the GridView?  I really need to remove all items and still have the Row Details.  Thanks for any suggestions!
Yordanka
Telerik team
 answered on 31 Oct 2011
3 answers
111 views
Hi !

I've got a simple project with a ScheduleView in the MainWindow. The constructor code is as follows:

public MainWindow()
        {
            InitializeComponent();

            m_scheduleView.AppointmentsSource = new List<Appointment>();

            // Init the schedule view
            m_scheduleView.ViewDefinitions.Add(
                new WeekViewDefinition()
                {
                    FirstDayOfWeek = DayOfWeek.Sunday,
                    VisibleDays = 7,
                    TimerulerMajorTickStringFormat = "{0:H:mm}"
                } );
            m_scheduleView.ViewDefinitions.Add(
                new MonthViewDefinition()
                {
                    FirstDayOfWeek = DayOfWeek.Sunday
                } );

            // Make the beginning of the schedule read-only.
            var excludedRange = new ObservableCollection<Slot>();
            excludedRange.Add( new Slot( DateTime.MinValue, new DateTime( 2011, 10, 22 ) ) { IsReadOnly = true } );
            m_scheduleView.SpecialSlotsSource = excludedRange;

            m_scheduleView.ScrollIntoView( new Slot( new DateTime( 2011, 10, 23 ), new DateTime( 2011, 10, 24 ) ) );
        }


What I'm trying to do here is make the schedule read-only up to a certain date, then scroll the following day into view.
However, the last line, where I attempt to scroll a date into view, doesn't work.

Am I missing something or was this broken in SP1 ?

Thanks,
Sebastien
Idan
Top achievements
Rank 1
 answered on 31 Oct 2011
5 answers
307 views
I have an application that has a vertical splitpanel that has two horizontal splitpanels. In the horizontal splitpanels I have RadDocking controls hat hold a viewer control that can show camera images. When docking or undockung a pane it gets reloaded, and the camera images blanks for a moment because the connection needs to be setup again. It would be nice if there is a solution for this, so if anyone has ideas please respond.

To solve this I tried setting PaneGroup.IsContentPreserved to true. This caused a nasty side effect: some of my content controls of the RadDocking did not receive resize events anymore, and they got loaded with an ActualSize of 0. So my application came up with some empty RadDocking controls while others were working correctly. After quite some time I discovered that Solution for this is to leave IsContentPreserved to false.
Miroslav Nedyalkov
Telerik team
 answered on 31 Oct 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
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
VirtualKeyboard
HighlightTextBlock
Security
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?