Telerik Forums
UI for WPF Forum
4 answers
209 views
Hi,

we are using RadDiagram as a WorkflowDesigner for a business-software. How can we test different processes, whether they are produced correctly? Is there a Startpoint (Shape), are the Connectors ok, ...? Any ideas how so solve this?

Thanks
Best Regrads
Rene
Zarko
Telerik team
 answered on 23 May 2014
1 answer
202 views
Hello

I'd like to get a chart like on the attached picture. The problem is I don't understand how to implement the labels below the chart. These labels are not for the points, but for the intervals. For example, assume we have the following array of points {{20, 30}, {40, 15}, {60, 70}} (so 3 points, the first value means X coordinate, the second means Y). In this case I should get 2 labels under the chart. The first one between 20 and 40 value, and the second between 40 and 60.

I tried to use CategoricalAxis, but as I see it doesn't fit exactly what I need. I tried to use annotations, but I didn't manage to locate them under the chart.

Could you please help me and advise how to implement that?
Martin Ivanov
Telerik team
 answered on 23 May 2014
1 answer
131 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
242 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
187 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
143 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
106 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
95 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
117 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
391 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
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
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?