Telerik Forums
UI for WPF Forum
5 answers
371 views
Hi,
I have a Grid nested inside another one using RadGridView.ChildTableDefinitions. I cannot make the nested grid to fit it's columns to the width of the parent so that I don't have scroll bars (please see screenshot). I tried setting ColumnWidth to "Auto" for both grids but this didn't help.
Yoan
Telerik team
 answered on 03 Sep 2012
3 answers
156 views
Hi

I have an application where I need to have nesting levels of RadDocking currently I have to set the AllowUnsafeMode to true in the inner RadDocking in order to be able to use it without an exception.

I am using RadControls 0422 is this problem solve in the latest 0521 internal build?

Thanks

Ariel
Yana
Telerik team
 answered on 03 Sep 2012
3 answers
45 views
Hi, I would like to upgrade our scheduler product to the latest version, is there any step by step documentation? Is it backward compatible? I'm using RadSchedulerView Thanks
Vladi
Telerik team
 answered on 03 Sep 2012
4 answers
133 views
I'm trying out my WPF app on the tablet I received at the last MS Build conference with the Windows 8 Consumer Preview.

The one big usability enhancement I noticed that works very well in all the windows controls / applications is the finger can be used to scroll the contents up and down (like windows explorer, anything with a scroll-able list).

I noticed my Telerik controls do not do this -- they always fire selection events and don't scroll up and down.

Is there any particular events I should be or should not be capturing for the GridView to act as expected?

Thanks -- Chad

p.s. you can see the same behavior here: http://demos.telerik.com/silverlight/#GridView/UIVirtualization 
Pavel Pavlov
Telerik team
 answered on 03 Sep 2012
3 answers
101 views
I want to split my xaml on 2 seperate screens and when i'm trying to add two raddocking controls to one xaml i got exception. is there any option to do that?
Yana
Telerik team
 answered on 03 Sep 2012
2 answers
154 views

Greetings,

I have a problem with RadScheduleView (WPF). I am starting with it and I have read from you documentation that if I make double click on the schedule view then "create dialog" should appear but i does not. Edit dialog and Delete dialog for existing event will appear but create dialog never shows. I have very easy application. I just put RadScheduleView from toolbox and made binding.

You can see it at the bottom

Could you tell me what I am doing wrong?

Thanks

Dusan Hudecek

MainWindows.xaml:

<Window x:Class="SchedulerWPF2.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
<Grid>
<telerik:RadScheduleView AppointmentsSource="{Binding Appointments}" HorizontalAlignment="Left" Margin="10,10,0,0" Name="radScheduleView1" VerticalAlignment="Top">
<telerik:RadScheduleView.ViewDefinitions>
<telerik:DayViewDefinition />
<telerik:WeekViewDefinition />
<telerik:MonthViewDefinition />
<telerik:TimelineViewDefinition />
</telerik:RadScheduleView.ViewDefinitions>
</telerik:RadScheduleView>
</Grid>
</Window>

MainWindow.xaml.cs:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Collections.ObjectModel;

using Telerik.Windows.Controls.ScheduleView;
using Telerik.Windows.Controls;
using Telerik.Windows.Data;

namespace SchedulerWPF2
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public DataContext dc = new DataContext();
public RadObservableCollection<IAppointment> Appointments { get { return dc.Appointments; } set { dc.Appointments = value; } }

public MainWindow()
{
InitializeComponent();

dc.Appointments = new RadObservableCollection<IAppointment>();
this.DataContext = dc;

Appointment a = new Appointment();
a.Start = DateTime.Now;
a.End = DateTime.Now.AddHours(1);
a.Subject = "test";

dc.Appointments.Add(a);
}
}

public class DataContext
{
public RadObservableCollection<IAppointment> Appointments { get; set; }
}
}

Dusan
Top achievements
Rank 1
 answered on 03 Sep 2012
3 answers
269 views
I'm already modifying the look of the GridViewHeaderCell using a Style resource in my WPF desktop application. I would now like to move the sorting arrow from its default position at the top of the header cell to the right of the header cell.  Can this be done by setting a property or two?  I'd prefer to stay away from Expression Blend.  Thanks.

        <Style TargetType="{x:Type telerik:GridViewHeaderCell}">
            <Setter Property="Foreground" Value="White" />
            <Setter Property="Background">
                <Setter.Value>
                    <LinearGradientBrush EndPoint="0.5,0.971" StartPoint="0.5,0.042">
                        <GradientStop Color="#26FFFFFF" Offset="0" />
                        <GradientStop Color="#00FFFFFF" Offset="1" />
                        <GradientStop Color="#26FFFFFF" Offset="0.467" />
                        <GradientStop Color="#00FFFFFF" Offset="0.475" />
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>
            <Setter Property="Width" Value="Auto" />
            <!-- Any setter properties I can put here to move the sorting arrow?  -->
        </Style>


Vanya Pavlova
Telerik team
 answered on 03 Sep 2012
4 answers
169 views
I had issues when trying to copy and paste custom annotations, where the first annotation being copied wouldn't copy its properties.
This was answered by Iva the telerik Admin in one of my support tickets, so I thought I would share the code so that others can benefit from it.


Please use this code in your semantic range start class if you need to copy custom annotations (you will need to change Product & Name to whatever suits your custom annotation properties). Leave CopyContentFromOverride empty.

protected override void CopyContentFromOverride(DocumentElement fromElement)
{
}
  
  
  
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
{
    base.CopyPropertiesFromOverride(fromElement);
 
    //Your properties to copy here
    this.Name = ((SemanticRangeStart)fromElement).Name;
    this.Product = ((SematicRangeStart)fromElement).Product;
}

I hope this helps you as it did me.

Thanks,

Rob

*** Sorry for the typo. The title should be custom not custome ***
Iva Toteva
Telerik team
 answered on 03 Sep 2012
0 answers
85 views
Hi Team,
        I inherit a usercontrol from Telerik:Control(TextBox). I want to set Partial DataBinding for MaskedText Property in my code (at UserControl definition). This code include Binding ValidationRule. Remaining Binding (DataBiniding like ElementName and Path) in Xaml Code. Is this possible. If yes can you please send me sampleCode??
Kamran
Top achievements
Rank 3
Iron
Iron
Veteran
 asked on 02 Sep 2012
0 answers
118 views
RadGridView.FrozenColumnCount is not a dependencyproperty so doesn't support databinding. Is there an event that is fired when FrozenColumnCount changes so I can create a workaround?
Erik
Top achievements
Rank 1
 asked on 02 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?