Telerik Forums
UI for WPF Forum
2 answers
204 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
98 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
262 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
110 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
588 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
44 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
151 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
97 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
285 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
16 answers
113 views
Just install 2011 Q2 and when I drag a column head the ghost image is 2.5 inches down and 3 inches to the right.
Hristo
Telerik team
 answered on 31 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?