Telerik Forums
UI for WPF Forum
1 answer
172 views

I am using an HtmlFormatProvider to export HTML from a RichTextBox to a database field that eventually gets used in a report for SSRS. Thanks to the many settings available in HtmlExportSettings, I've been able to get very close to a format that works with SSRS. The biggest problem I have remaining is that the SSRS docs specifically state that font-size specified in 'px' units are not supported. Yet those are the only units I've been able to get the HtmlFormatProvider to export the font-size.

 Is there a way to change the units used in the font-size when exporting HTML?

Thank you!

Petya
Telerik team
 answered on 30 Apr 2015
3 answers
3.3K+ views
Good morning, all.

Does Telerik have a WPF textbox? I'm looking for a control for basic input, like the standard MS textbox. I'm new to Telerik so I may have just overlooked this.
Vanya Pavlova
Telerik team
 answered on 30 Apr 2015
3 answers
178 views

Hi,

 

I want to use Pan without press Ctrl. I have reach this result using the advice from the following thread

 http://www.telerik.com/forums/pan-without-ctrl-being-pressed

Now, I want to improve this functionality and when I select one or more shapes and/or connections I want  to deselect them when I click out of the select area. Is there a way to reach this result?

Thanks 

 Ciro

Martin Ivanov
Telerik team
 answered on 30 Apr 2015
13 answers
416 views
How do i position RadDiagramContainerShape? I tried setting Position in code behind but it does not work.

thanks,
John
Pavel R. Pavlov
Telerik team
 answered on 30 Apr 2015
1 answer
274 views

Seems it is impossible to use RadTabItem.HeaderTemplate if RatTabControl is not binded to collection.

Using Snoop i see that template itself is applied but DataContext is null. So any binding don't work in the template.

http://docs.telerik.com/devtools/wpf/controls/radtabcontrol/templating/item-templates-and-selectors say "The HeaderTemplate is mainly used when we bind the RadTabControl to a collection". ). It doesn't say that it is used ONLY for collection.

 

HeaderForeground seem is ignored completely. Using Snoop i see that foreground is taken from some resources if i don't use HeaderTemplate.

 

 

 

Kiril Vandov
Telerik team
 answered on 30 Apr 2015
14 answers
425 views

Hello,

 

I have a ScatterPointSeries which contains multiple points and I want to display histograms on both x and y axis of my plot. the histograms should be synched with the scatter points.

I have used bar series with additional categorical axis (which is wrong) because linear axis of scatter points and categorical axis of histogram are not synchronized as shown in figure.

I have also tried to use ScatterPointSeries with point template as rectangle but it is also not giving me the desired result.

 

Please help me in this matter.

 

 

Petar Marchev
Telerik team
 answered on 30 Apr 2015
3 answers
929 views
Hello,

I have a RadGridView that uses a GridViewSelectColumn to facilitate row selection.  However, under certain circumstances, I would like to prevent certain rows from being selected.  Is there any way that I can prevent rows from being selectable?

Thanks,
Mark
Shreya
Top achievements
Rank 1
 answered on 29 Apr 2015
11 answers
1.9K+ views
Let me start by setting some context:
  • our customers mostly live in Flanders, Belgium; overhere, the default culture nl-BE has  NumberDecimalSeparator = comma, and NumberGroupSeparator = blank space
  • in this post, I will make a clear distinction between "Key.OemPeriod", being the 'regular' period on a keyboard, and "Key.Decimal", being the period on the numpad

Now, most Belgians have a keyboard layout of Belgium - Period. This means that:
  • While typing text in for instance MS Word, the "Key.Decimal" will be interpreted as a period
  • Mathematical software, like for instance MS Excel, will Always interpret the "Key.Decimal" as a decimal separator. 
      (yes, that's right, even though the NumberDecimalSeparator for the nl-BE culture is a comma).


Up to the RadNumericUpDown.
When the culture is set to nl-BE, this control interprets the comma as a decimal separator. So far so good.
However, when the "Key.Decimal" is pressed, this is not interpreted as a decimal separator, but just like a "Key.OemPeriod" is.
This is not the expected behavior; it should be interpreted as a decimal separator.

I'd consider this is a bug.
Is there any work-around for this issue?

I tried creating a behavior that would handle the TextBox's PreviewKeyDown event.
This kind of works, but it has some side effects which makes it not perfect. Any other way to handle this?


Thanks for your time,
Koen
Stef
Telerik team
 answered on 29 Apr 2015
1 answer
132 views

Hi, I am trying to figure out if I can safely use telerik wpf controls in a partial trust wpf web application. I have read in the documentation that not all controls are compatible in this mode, and certain restrictions apply.

I have tried certain controls like menu and docking in a prtial trust application, just plain vanilla code defining these controls in XAML, but the application fails on trying to start degugging with no specific message. IfIa switch the application trust mode to a full trusted one everything works fine.

My question is therefore if I am able to use certain specific telerik controls like docking, and datagrid at all in a partial trust application which is my requirement, and if so where I can find more specific intructions.

 

Regards,

George

Geri
Telerik team
 answered on 29 Apr 2015
3 answers
97 views

Hello,

I'd like to restrict the size of my POI'S Datatemplate to be only shown in an explicit area so it won't get any bigger than this area.
Maybe a LocationRect would be given and my DataTemplate automatically expands and fills this Rect.

Can you tell me if there is a way to achieve anything similar to my requirements?

 See a simplified version of my DataTemplate below:

<DataTemplate x:Key="ResizableTemplate">
    <Grid x:Name="ParentRoot"
               Background="Transparent"
               telerik:MapLayer.Location="{Binding Path=Location}">
        <StackPanel Orientation="Vertical" >
              <TextBlock Text="{Binding Path=Title}" />
              <TextBlock Text="{Binding Path=Description}" />
        </StackPanel>
    </Grid>
</DataTemplate>

 VisualizationLayer:

<telerik:VisualizationLayer x:Name="POILayer" ItemsSource="{Binding POICollection}" ItemTemplate="{StaticResource ResizableTemplate}" />

Pavel R. Pavlov
Telerik team
 answered on 29 Apr 2015
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?