Telerik Forums
UI for WPF Forum
1 answer
244 views

I want to be able to toggle between the different orientations of the schedule view. I have a property bound to my view model but this doesn't seem to be working. I have tried different variations. Can someone tell me what i may be missing?

<p><telerik:TimelineViewDefinition  VisibleDays="30" <br>                                                     x:Name="TimelineViewDefinition"<br>                                                     MajorTickLength="1d" <br>                                                     Orientation="{Binding DataContext.ScheduleViewOrientation, RelativeSource={RelativeSource Mode=FindAncestor,                                                                                             AncestorType=telerik:RadScheduleView}, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"</p><p>                                                     StretchAppointments="True"<br>                                                     MinorTickLength="1d"  <br>                                                     GroupHeaderDateStringFormat="MM-dd"<br>                                                     StretchGroupHeaders="False" ></p>




Dilyan Traykov
Telerik team
 answered on 26 Sep 2018
1 answer
159 views

Hello,

when I start a brand new Telerik WPF project, and want to add a RadGridView component to the main window, the following error message shows:

Method not found: 'Telerik.Windows.Controls.SortingState Telerik.Windows.Controls.GridViewColumn.get_SortingState()'.

I just upgraded to the latest Telerik WPF version.

Please advise.

Thx

Vladimir Stoyanov
Telerik team
 answered on 26 Sep 2018
1 answer
135 views

How do you turn off the animation when the filter popup expands and/or collapses as it opens? For other Rad controls, such as RadTreeView, settings

 telerik.IsAnimationEnabled="False" 

works. Putting this in the XAML of the RadGridView does not work, however.

 

Any help would be appreciated. Thank you

 

 

Dilyan Traykov
Telerik team
 answered on 26 Sep 2018
5 answers
110 views

Hi Progress Telerik,

When I type the date 01 09 18, the tooltip suggests 18 Sep 2001.

But when I type 01 09 2018, the tooltip suggests 01 Sep 2018.

I want the suggestion date to be 01 Sep 2018 when I type 01 09 18.

I'm using the CultureInfo en-US and date format dd MMM yyyy.

Kindly assist on how to achieve the same.

 

Thank You,

With Best Regards,

Muhammad Azhar Shah

Premkumar
Top achievements
Rank 1
 answered on 26 Sep 2018
2 answers
266 views

We are using telerik RadrichTextbox in our wpf application. 

When user is entering some space before/after the text.please tell how to trim it of ?

Priyatam
Top achievements
Rank 1
 answered on 25 Sep 2018
5 answers
543 views
Hello!

Im trying to create CustomGridView component by creating WPF CustomControl (control inherits telerik RadGridView). I realized that my custom control style is not loaded. I made simple example about this problem. Example should change my custom control background to blue but it does not.

my cs. file
public class MyCustomGridView : RadGridView  
{   
     static MyCustomGridView()
     {   
        DefaultStyleKeyProperty.OverrideMetadata(typeof(MyCustomGridView), new FrameworkPropertyMetadata(typeof(MyCustomGridView)));
     }  
  
     protected override void OnInitialized(EventArgs e)
     {         
        base.OnInitialized(e);       
     }    
 }

and here is my Generic.xaml in themes folder

<Style TargetType="{x:Type local:MyCustomGridView}">   

<Setter Property="Background" Value="Blue"></Setter>
  
 <Setter Property="Template">
         <Setter.Value>   
             
<ControlTemplate TargetType="{x:Type local:MyCustomGridView}">
                    <Border Background="{TemplateBinding Background}"    
                         BorderBrush="{TemplateBinding BorderBrush}"  
                           BorderThickness="{TemplateBinding BorderThickness}">
                    </Border>          
       
</ControlTemplate>      
       
</Setter.Value>      
   
</Setter>  </Style>

So basically this is classic start for WPF custom control, but in runtime this is not working. Am I missing something ?

Best regards


Dilyan Traykov
Telerik team
 answered on 25 Sep 2018
0 answers
81 views

Hello,

I have problem with RadRibbonViewBackstage. My window shell contains two regions in separate rows. In First region I registered view containing RibbonView with RibbonViewBackstage. In second i defined statusbar view. When ribbonView's backstage is closed everything looks fine (First region and second shares window space). Problem appears when I open backstage. Backstage View is always taking whole window space and my status bar dissapears under. Is there any option to make Backstage same size as region in which i is defined so it will leave space for bottom status bar?

Thanks for your help :)

Maciej
Top achievements
Rank 1
 asked on 25 Sep 2018
6 answers
596 views
Hello,

I'm trying to use the PDF viewer to look at a specific page number in a pdf document. I try to set the document source, and then set the CurrentPageNumber property. The viewer will still only load the pdf on the first page. Is there a different way to jump to a specific page in the document?

I used the following:
PdfDocumentSource newDoc = new PdfDocumentSource(new Uri(@"C:\12345.pdf"));
pdfViewer.DocumentSource = newDoc;
pdfViewer.CurrentPageNumber = 5;

Peshito
Telerik team
 answered on 25 Sep 2018
3 answers
244 views

Hi,

i use a RadDocking Control and a RadButton so save layout changes. Now i want to reset
the Layout and delete all changes + refreshing the RadDocking Control. Saving is no
problem, but how do i reload the original xaml layout?

 thanks a lot

regards

Rene

Vladimir Stoyanov
Telerik team
 answered on 25 Sep 2018
1 answer
127 views

Hi,

I'm working with a RadCartesianChart to display Value / Time.
I'm using an DateTimeContinuousAxis as bottom axis. 
On this Axis I use a Major Step Unit in Days.

I display 2 series. One with value in days and one with value in hour.

The day serie is display with a simple LineSeries.

The hour serie MUST but be displayed in a RangeBarSeries to show min/max values.

In this case the Bar are to wide. My probleme is that RangeBarSerieModel generate a RadSize in function of the Axis Step size and not in function of the value covered by it.
In this case the Bar are to wide. 

For example 1 step == 1 day is represented by 28px then the bar have a width of 28px.

Is it possible to change the behavior to have a bar width = (Day/hour) * StepSize = Min(1,  1/24 * 28) ?

This way the width of the bar correspond to the time the value represent.

Thanks,

 

 


Dinko | Tech Support Engineer
Telerik team
 answered on 25 Sep 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?