Telerik Forums
UI for WPF Forum
3 answers
411 views

Hello,

I'm using RadGridView with RowIndicatorVisibility="Visible"

How can I set the row that is marked with the indicator ?

Thank you,

Zvika 

 

Vladimir Stoyanov
Telerik team
 answered on 21 Mar 2018
3 answers
324 views
Hello, 

Is there a way to make a row readonly? just like making a cell readonly? I dont want to disable the row, but make it readonly.

Thanks
Kiran
Stefan
Telerik team
 answered on 21 Mar 2018
6 answers
473 views

Hello,

I have a custom control that hosts a RichTextBox/RtfDataProvider in WPF 4.5.

I'm using Telerik version 2015.3.1104.45.

Following is the XAML which works fine in the visual studio designer.

 

<telerik:RtfDataProvider x:Name="RtfProvider"             Grid.Row="1" 
            Rtf="{Binding RtfFileContent, ElementName=RtfEditorUC, Mode=TwoWay}" 
            RichTextBox="{Binding ElementName=radRTB}" />         <telerik:RadRichTextBox x:Name="radRTB" 
                                Grid.Row="1" 
                                DocumentInheritsDefaultStyleSettings="True" 
                                IsSpellCheckingEnabled="False"                                  
                                LayoutMode="Paged" VerticalAlignment="Top" 
                                IsReadOnly="{Binding IsRtfReadOnly, ElementName=RtfEditorUC, Mode=TwoWay}"/>

 

However, at runtime, I have the following crash :

 

System.Reflection.TargetInvocationException: Une exception a été levée par la cible d'un appel. ---> System.Windows.Markup.XamlParseException: L'invocation du constructeur sur le type 'Telerik.Windows.Documents.FormatProviders.Rtf.RtfDataProvider' qui correspond aux contraintes de liaison spécifiées a levé une exception. ---> System.ArgumentNullException: La valeur ne peut pas être null.
Nom du paramètre : formatProvider
   à Telerik.Windows.Documents.FormatProviders.DataProviderBase..ctor(ITextBasedDocumentFormatProvider formatProvider, DependencyProperty stringProperty)
   à Telerik.Windows.Documents.FormatProviders.Rtf.RtfDataProvider..ctor()
   à System.Xaml.Schema.XamlTypeInvoker.DefaultCtorXamlActivator.InvokeDelegate(Action`1 action, Object argument)
   à System.Xaml.Schema.XamlTypeInvoker.DefaultCtorXamlActivator.CallCtorDelegate(XamlTypeInvoker type)
   à System.Xaml.Schema.XamlTypeInvoker.CreateInstance(Object[] arguments)
   à MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstanceWithCtor(XamlType xamlType, Object[] args)
   à MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstance(XamlType xamlType, Object[] args)

The same code was working fine in WPF 3.5 with Telerik  2012.2.912.35.

Any help appreciated.

Tanya
Telerik team
 answered on 21 Mar 2018
13 answers
3.1K+ views
How do you make the columns fill the grid area proportionaly ?

I want columns to also stretch proprotionaly when you resixze the grid...

Thanks,
Janitha
Top achievements
Rank 1
 answered on 21 Mar 2018
5 answers
224 views

Hello,

I'm trying to have a custom DataFormDataField. Therefore I followed the tutorial on

https://docs.telerik.com/devtools/wpf/controls/raddataform/getting-started/defining-custom-datafields

since my own approach didn't work, I just started over and tried exactly the code from the documentation. It is still not working. 

I tried autogeneratedfields and with datatemplate. In Both cases the custom datafield didn't show. The Visiual Tree is showing the Object as a Child of the RadDataForm but not as a DataFormdataField.

After a while I realized that GetControl() is not called. Can you confirm the Problem for Assembly Telerik.Windows.Controls.Data, Version 2017.3.913.45?

 

Thanks in advance.

sincerely,

Michael

 

rick
Top achievements
Rank 1
 answered on 21 Mar 2018
3 answers
221 views

Hi Telerik,

I would like to request that you add a "Finder" style view for selecting files and folders.  Specifically, one that looks similar to the following:

http://cdn.osxdaily.com/wp-content/uploads/2010/03/set-column-view-size-default-mac-os-x-finder.jpg

So that each level of a path is displayed as a vertical column.  This makes navigating multiple hierarchies much easier.

 

Also, I'd like to request that you also expose the dialogs as controls so that I can use them in different ways in my app.

 

 

Martin
Telerik team
 answered on 20 Mar 2018
2 answers
103 views

Hi,

I'm currently working on a project that has a telerik TimeLine within a TimeBar.  The data is presented in groups.

I'm not sure at which point it happened, maybe when we embedded the TimeLine in the TimeBar (?), but I'm going in circles trying to find out how to reclaim the unused-space between the time markers and the groups.

Attached is a screenshot of the TimeBar.  I added a yellow border to show that the "lost space" is at the top of the TimeLine, above the "Input" group.  I think this is the space where the TimeLine's time-markers used to be -- now we only see the TimeBar time-markers.

Is there a property I can set to push all the data upward, so that it comes flush with the top of the TimeLine's upper-border?

Thank you for any help you can provide,

Seb

PS: Using Dev-Studio's debugger, I got the timeline's "PART_TimelineItemContainer"... and found that setting "EffectiveValueCountainer" to 1 makes the unused space disappear... but I'm sure this is not the way to do it !

Stefan
Telerik team
 answered on 20 Mar 2018
1 answer
98 views

Hi !

 

I  have a problem with the Diagram and Load (Serialize/Deserialize).

If I create a diagram on my computer with a Culture (FR for example) but setting additionnal Parameters :

- Decimal Separator : "." and List Separator : ","

I can create a diagram, open it, save it, ... No problem.

 

Now, I keep the same Culture (FR) but I change the additionnal Parameters :

- Decimal Separator : "," and List Separator : ";"

If I try to Load the previous created Diagram I have an error from the Load Method:

"Index was outside the bounds of the array."

This happens when the method :public Sub Load(serializationValue As String) Member of Telerik.Windows.Controls.RadDiagram is called.

The Serialized XML loaded is exactly the same if I create the diagram with different additionnal parameters of the culture. So, I think it's a problem from the Load method... Maybe...

 

Could you please help me ??

 

 

 

Lise
Top achievements
Rank 1
 answered on 20 Mar 2018
14 answers
449 views

I'm trying to create a custom orthogonal router that acts much like a schematic capture program.  If you look at the youtube video in the link below, starting at 4m28s you will see what I am trying to achieve.

1. I need a custom router to make right angles when I add connections.  I have listed the code below to show what I have so far, which basically adds two points to the middle of the connection, but it does not handle complex routing situations where it needs to route around other shapes.

2. Also, I would like the connection to start on a mouse click (press+release) and start routing as I move my mouse, then finally completing the connection with another mouse click (press+release).  Any thoughts on how to achieve these two items?

public class OrthogonalRouter : IRouter
    {
        public System.Collections.Generic.IList<Point> GetRoutePoints(IConnection connection, bool showLastLine)
        {
            List<Point> pointList = new List<Point>();
            Point start = connection.StartPoint;
            Point end = connection.EndPoint;
 
            pointList.Add(new Point(start.X + (end.X - start.X) / 2, start.Y));
            pointList.Add(new Point(start.X + (end.X - start.X) / 2, end.Y));
 
            return pointList;
        }
    }


http://youtu.be/JutQuq1vFYY?t=4m28s
Petar Mladenov
Telerik team
 answered on 20 Mar 2018
2 answers
353 views

Hello,

Is it possible to achieve this like on the attached file ?

Thanks in advance.

Regards.

Dinko | Tech Support Engineer
Telerik team
 answered on 20 Mar 2018
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?