Telerik Forums
UI for WPF Forum
1 answer
127 views
Hi,

i use a custom InOutConncetorClasse. If I drop a Shape, I add the new Points to my shape:

var outConnector = new InOutConnector() { Offset = new Point(0.5, 1), Direction = InOutConnector.eDirection.drOut, Name="StartConncetor" };
NewShape.Connectors.Add(outConnector);
NewShape.UseDefaultConnectors = false;

This works fine. Now I save my diagram to xml. If i load the diagram from xml i try to add the custom connectors again:

var outConnector = new InOutConnector() { Offset = new Point(0.5, 1), Direction = InOutConnector.eDirection.drOut, Name="x"};
(e.Shape as RadDiagramShape).Connectors.Add(outConnector);
(e.Shape as RadDiagramShape).UseDefaultConnectors = false;

The Point is correct, but the InOutConnector.eDirection does not work?

How can i save and relaod this custom connectors?

Thanks
Best Regards
Rene
ITA
Top achievements
Rank 1
 answered on 23 May 2014
1 answer
233 views
Is it possible for the user to be able to resize the columns at run time like any other grid. I see how I can set all columns to a fixed width but I would for the user to be able to drag (like EXCEL) and then save those sizes when you persist the grid settings to XML

Thank you
Kalin
Telerik team
 answered on 23 May 2014
1 answer
177 views
Hi

I have an app that I have a docked component and the existing panes are saved/loaded via isolated storage. This has been working fine. I've now added a new pane to my app, via XAML, but when it's run on a system where the layout is loaded it is never displayed.

If I exclude the layout load step the new pane appears, so I guess in the load it's overriding the entire layout of the dock component (as expected). If I then manually add a step in the LoadLayout method to add the pane, that also seems to be ignored.

Here is the important code and the examples of what I've tried:

using (IsolatedStorageFile storage = IsolatedStorageFile.GetUserStoreForAssembly())
{
    try
    {
        using (var isoStream = storage.OpenFile("RadDocking_Layout.xml", FileMode.Open))
        {
            this.radDocking.LoadLayout(isoStream);
        }
    }
    catch (Exception ex)
    {
        logger.Error("Reading pane layout");
    }
}
 
if (panelMap.PaneGroup == null)
{
    //this doesn't work
    radDocking.Items.Add(panelMap);
 
    //neither does adding into existing pane group
    paneTest.Items.Add(panelMap);
 
    //neither does building a new group for the pane to go into
    RadPaneGroup rpg = new RadPaneGroup();
    rpg.Items.Add(panelMap);
    radSplit.Items.Add(rpg);
}
 
//Part of the XAML
<tel:RadDocking Name="radDocking" HasDocumentHost="False">
    <tel:RadSplitContainer x:Name="radSplit" Width="365" InitialPosition="DockedLeft" Orientation="Vertical">
        <tel:RadPaneGroup x:Name="paneTest">
            <tel:RadPane x:Name="panelMap" Header="Map" CanUserClose="False" Height="24" VerticalAlignment="Bottom" IsSelected="True" tel:RadDocking.SerializationTag="Map">

 
I've obviously got something missing, but when I've looked a the examples I can't seem to figure out what.

Thanks...
George
Telerik team
 answered on 23 May 2014
1 answer
139 views
We have a problem that is actually a result of the backstage panel in the RibbonView, but I think the solution lies with the docking control.

In our application, the user can open a number of documents, all of which host WinForms controls. Unfortunately, when then backstage panel is opened on the RibbonView, the WinForms controls still show through. My understanding is that this is an issue with airspace.

My theory was that we could hide the documents when opening the backstage panel, but I'm unclear as to how we could do this. I was hoping I could set the visibility of the documenthost or panegroup, but this has no affect. Even setting the documentpane only hides the tab at the top.

Any help would be appreciated.

Thanks
Kalin
Telerik team
 answered on 23 May 2014
3 answers
105 views
Hi,
I've got a schedule view set up and uses some resource types to group appointments to particular categories.

I need to be able to show a single appointment that goes across all categories.

How can I achieve this?

Thanks,
Rob
Kalin
Telerik team
 answered on 23 May 2014
1 answer
93 views
I have a series consisting of an x-axis being DateTime and the Y-axis a numeric value. The datapoints are ranges and have a start and end date. Sometimes they have null values for the Y-axis, but still get an X-axis. I have attached a crude mockup of what I am trying to acheive.

The step-line chart comes the closest, but wondering if there was a chart type in the Telerik suite that could explicitly deal with ranges or if I am just thinking about this all wrong.

Thanks in advance.
Pavel R. Pavlov
Telerik team
 answered on 23 May 2014
1 answer
114 views
We are getting Ui Automation related error using ScatterLineSeries and BarSeries..
So I tried to create a class derived from BarSeries
public class CustomLineSeries : LineSeries
{
       protected override AutomationPeer OnCreateAutomationPeer()
       {    return null;   }
}
The issue is I cannot seem to get the series plotted when using derived BarSeries when I use the below code...
Issue seems to be with the Style tageting CustomBarSeries... Removing this style I can see the BarSeries in chart.
But the question is HOW do i set the Style of the derived BarSeries Class...

<telerik:RadCartesianChart.SeriesProvider>
<telerik:ChartSeriesProvider Source="{Binding Series}">
   <telerik:ChartSeriesProvider.SeriesDescriptors>
       <telerik:CategoricalSeriesDescriptor ItemsSourcePath="ChartsDataPoints" CategoryPath="X" ValuePath="Y" TypePath="SeriesType">
           <telerik:CategoricalSeriesDescriptor.Style>
               <Style TargetType="charts:CustomBarSeries">
                    <Setter Property="CombineMode" Value="None"/>
                    <Setter Property="DisplayName" Value="{Binding LegendTitle}"/>
               </Style>
           </telerik:CategoricalSeriesDescriptor.Style>
         </telerik:CategoricalSeriesDescriptor>
     </telerik:ChartSeriesProvider.SeriesDescriptors>
</telerik:ChartSeriesProvider>

In code behind I had Set SeriesType as typeof(CustomBarSeries)....

Have been breaking my head on this... any help is appreciated..
N
Top achievements
Rank 1
 answered on 22 May 2014
1 answer
381 views
Can I display the Items in a drop downlist for a RadComboBox through a Grouping mechanism and if only allow items from the same group to be selected. 

There is suppose to be a IsGrouping capability of a ComboBox does it work in RadComboBox?

unless none are selected, then any group can be selected?

George
Telerik team
 answered on 22 May 2014
9 answers
275 views

Hey,



We have a business object that implements IDataErrorInfo. The Grid validate just the visible cells. If a column that it is not visible (the user needs to scroll) has error, the entire row shows as a valid row. Just when to user scroll (horizontally) the row display as a invalid row.



see the attached screen shots.



Any idea how to fix this?



Thanks,

Mano



















Yoan
Telerik team
 answered on 22 May 2014
1 answer
136 views
Hi.

My chart is good work in function

But I have one problem.

The problem is processing velocity. (at Database Load & save Series list)

So, I want to make loading process.

I attached a file.

Martin Ivanov
Telerik team
 answered on 22 May 2014
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
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?