Telerik Forums
UI for WPF Forum
3 answers
159 views
Hallo,
we have a performance problem with TileView on create tile view form.
As you can see in attached file, there is a big block with MeasureOverride cals inside Telerik TileView.. Is it possible do any optimalization inside this code?
Thank you. David.
Petar Mladenov
Telerik team
 answered on 31 Jan 2012
1 answer
114 views
Hello Telerik,
I've a ComboBox that shows the most recently selected date used (those data are taken by WCF service and they're stored on a DB), I wish the possibility to specify a new date using the DateTimePicker (I've tougth another combobox voice called "Other date" that shows up the DateTimePicker) ... is this possible? how should I handle this?

To be sincere I use an MVVM pattern (Caliburn Micro, ViewModel-first) but if I got the View-First solution I'll elaborate myself the modelview code

Thanks
Paolo
Konstantina
Telerik team
 answered on 31 Jan 2012
2 answers
202 views
Hi,
Could you please let me know how to create a separate context menu when user clicks on column header displaying all available columns of that grid view. using Data Table as data source for Grid view. Is there any feature , which needs to be set in order to enable the header context menu.


Also could you please let me know how to merge the footer cells and make the footer row of fixed width irrespective of number of columns and their width.

Thanks in Advance.

Regards,
Karthik.
Karthik
Top achievements
Rank 1
 answered on 31 Jan 2012
1 answer
151 views

Hi,

I am creating a demo that uses the tile view control and I would like to make it almost invisible apart from a few controls in the header like the minimise/maximise icon.

To achieve this I have removed the boarder and made the background of the tileview item transparent. I was hoping that there would be an easy way to make the background

of the header transparent but when setting the background to transparent it doesn’t make any difference to the header. Is there a way to make the background header transparent

without having to create a new template in blend and also maintaining the minimise/maximize icons? (I am looking to achieve this in XAML at design time as I am using MvvM)

Kind regards

James

 
Petar Mladenov
Telerik team
 answered on 31 Jan 2012
1 answer
95 views
Hi,

I've a RadGridView with a SelectColumn inside a RadPane (RadDocking). 
When the pane is hosted in DocumentHost and i drag the pane over and pass into floating window an exception i thrown :

Message : Specified element is already the logical child of another element. Disconnect it first.
 
StackTrace :
 
   at System.Windows.FrameworkElement.ChangeLogicalParent(DependencyObject newParent)
   at System.Windows.FrameworkElement.AddLogicalChild(Object child)
   at System.Windows.Controls.ContentControl.OnContentChanged(Object oldContent, Object newContent)
   at System.Windows.Controls.ContentControl.OnContentChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at Telerik.Windows.Controls.GridView.GridViewHeaderCell.PrepareHeaderContent() in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Development\Controls\GridView\GridView\GridView\Cells\GridViewHeaderCell.cs:line 382
   at Telerik.Windows.Controls.GridView.GridViewHeaderCell.Prepare() in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Development\Controls\GridView\GridView\GridView\Cells\GridViewHeaderCell.cs:line 1100
   at Telerik.Windows.Controls.GridView.GridViewHeaderRow.PrepareCell(GridViewCellBase cellBase, GridViewColumn column) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Development\Controls\GridView\GridView\GridView\Rows\GridViewHeaderRow.cs:line 244
   at Telerik.Windows.Controls.GridView.GridViewCellsPanel.PrepareCell(GridViewCellBase cell, GridViewColumn column) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\GridViewCellsPanel.cs:line 410
   at Telerik.Windows.Controls.GridView.GridViewCellsPanel.GetVirtualizedCell(GridViewColumn column, Boolean createIfNull) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\GridViewCellsPanel.Virtualization.cs:line 399
   at Telerik.Windows.Controls.GridView.GridViewCellsPanel.RealizeAndMeasureCells(Int32 startIndex, Int32 predictedLastIndex, Func`2 calculateNextIndex) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\GridViewCellsPanel.Virtualization.cs:line 334
   at Telerik.Windows.Controls.GridView.GridViewCellsPanel.UpdateVirtualizedCells() in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\GridViewCellsPanel.Virtualization.cs:line 269
   at Telerik.Windows.Controls.GridView.GridViewCellsPanel.MeasureOverride(Size availableSize) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\GridViewCellsPanel.cs:line 306
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ItemsPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)

If i remove the SelectColumn, all is working fine.

I'm using the internal build of WPF Controls : 2011.3.1227.40
I tried with stable build and latest internal builds and the behavior is the same.

Any help ?

Thanks.
Yordanka
Telerik team
 answered on 31 Jan 2012
1 answer
234 views
using System.Windows.Media;
using Telerik.Windows.Controls;
 
namespace DragDrop
{
    public class OperativeResource : Resource
    {
       ...
    }
}

Visual Studio is telling me that 'Resource' exists in both
Scheduler.dll and ScheduleView.dll but when I attempt to
inherit from Resource using a fully qualified name...

namespace DragDrop
{
    public class OperativeResource :
      Telerik.Windows.Controls.ScheduleView.Resource
    {
       ...
    }
}
...it says Resource does not exist?? As you can guess I'm trying to define a class that can be used in the header of the ScheduleView and it's very important I can do this so any help is seriously appreciated. Thanks, Dan
Yana
Telerik team
 answered on 31 Jan 2012
5 answers
306 views
Your example "DataForm Integration with RadGridView row-details" looks very nice, but it has a major shortcoming.

It doesn't show how to insert new rows, or how to delete existing rows.

I've been trying to work it out for some hours, now, and am back where I started.

Any ideas?
Maya
Telerik team
 answered on 31 Jan 2012
1 answer
305 views
Hi,
I would like to control the visiblity of a GridViewDataColumn at runtime in a RadGridView.

Thanks in advance.
Vlad
Telerik team
 answered on 31 Jan 2012
0 answers
97 views
It seems like telerik provides several features by default in the base telerik RadGridView Control.
Although, I have achieved some of the customizations I intend to implement. But there are still some which I havent yet been able to implement.
I have attached the snapshots of both the achieved(myradgridview) and the intended(intended1) styles I intend to implement.
I would also like to remove the orangish color of the column header which is activated on mouse hover.
Also, as you would be able to see in the intended1.png snapshot that the color of the selected tuple is bluish and not the orangish provided by default.


Thanks in advance.
Zubair
Top achievements
Rank 1
 asked on 31 Jan 2012
3 answers
371 views
Hi,

I'm having a problem re-templating combo box items on the RadRibbonComboBox. The item template works fine only for items in the drop down, but not for the selected item that shows when the como is closed. I bind the ItemsSource to a collection of custom entities, and was setting the DisplayMemberPath to one of their properties - MemberDisplay - but I now need to do extra formatting on the display so as to change the background colour of certain items based on values in the entity.

As i said, it works for the items in the dropdown, but not for the selection box items. Here is the xaml:

<rad:RadRibbonComboBox
    Width="95"
    Margin="0 5 0 0"
    IsEditable="True"
    IsReadOnly="True"
    ItemsSource="{Binding TimeFilterFromMonitorCombo.Items}"
    SelectedItem="{Binding TimeFilterFromMonitorCombo.SelectedItem}"
    IsSynchronizedWithCurrentItem="True">
    <rad:RadRibbonComboBox.ItemsPanel>
        <ItemsPanelTemplate>
            <VirtualizingStackPanel />
        </ItemsPanelTemplate>
    </rad:RadRibbonComboBox.ItemsPanel>
    <rad:RadRibbonComboBox.ItemTemplate>
        <DataTemplate>                                       
            <StackPanel Orientation="Horizontal">
                <TextBlock Background="{Binding ItemBackground}" Text="{Binding MemberDisplay}" HorizontalAlignment="Stretch" />                                       
            </StackPanel>
        </DataTemplate>
    </rad:RadRibbonComboBox.ItemTemplate>                               
</rad:RadRibbonComboBox>


That seems right to me, and when i use this kind of concept for other combos it works ok. Is this something particular to RibbonComboBox controls? I've attached images of how it looks in the application.

Konstantina
Telerik team
 answered on 30 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?