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

I'm trying to recreate an existing polar chart. The existing chart shows curved lines between each datapoint and the default for RadPolarChart is straight lines. I've attached examples to explain.

Is it possible to have curved lines?
Petar Marchev
Telerik team
 answered on 09 Feb 2015
5 answers
211 views
Hi...I'm Jimmy . New VB.Net 2008 programmer. Developing POS software.
I had a question , can anybody help me ? Should i use RAD for WinForm
or RAD for WPF.Will the WPF more powerful than Winform the near future?

Rgds
Jimmy
Dimitrina
Telerik team
 answered on 09 Feb 2015
10 answers
456 views
Hello, 

 I have a telerik grid and I am happy with functionalities of the filtering control. By the way I want to change the default value of the filtering control combo box (now is equal to) in to "Contains"? 

Thanking You
Yoan
Telerik team
 answered on 09 Feb 2015
15 answers
1.9K+ views
Hello,
I'm using Q1 2010 RadGridView in an application where I have a context menu that displays options based on the cell value.

It works perfectly when the user clicks on the cell (CurrentCell property is being loaded) and then right click on it to get the context menu.  However, I'd like to provide a behavior like excel in which, when the user rightclicks on any cell, it gets selected and the corresponding context menu will consider the actual cell value.
I couldn't find any property like "SelectCellOnMouseRightClick" or workaround that could help me achieve this.  Is there a way I can have this behavior in my RadGridView?

My SelectionMode="Extended", as there are other operation that require multiple row selection.

Thanks in advance
Nimisha
Top achievements
Rank 1
 answered on 09 Feb 2015
2 answers
181 views
Hello All,
         I have two radlistbox in my application. I can drag and drop all item without any problems.I have the same model class bind to itemsources of listboxes . But ı cant see effect as two way . For Example I want to drag and drop object a list to another . I want to see this difference in code behind. How can ı do this.A collection object to another collection object.

Thanks.
Erhan
Top achievements
Rank 1
 answered on 08 Feb 2015
2 answers
112 views
Hi team,
i want to implement a list box custom data field for data form, for a collection property. However it doesn't work. I attach the code here with a jpg suffix, because only picture are allowed. I guess I have something missing here. But don't know where. 

Thanks,
J
Jackey
Top achievements
Rank 1
 answered on 08 Feb 2015
1 answer
174 views
Hi,

I hava a docx file includes some bookmarks. You can see in attached file.
I need to convert it to pdf and thispdf contains my bookmarks.


PdfFormatProvider prov = (PdfFormatProvider)formatProvider;
                    PdfExportSettings set = new PdfExportSettings();
                    set.CommentsExportMode = PdfCommentsExportMode.NativePdfAnnotations;
                     
                    prov.ExportSettings = set;
                    prov.Export(document, streamer);
I use this code block, but when i export docx to pdf, bookmarks doesnt seen in PdfFile.

You can see in attached File. 
Tanya
Telerik team
 answered on 06 Feb 2015
2 answers
715 views
Hello, is there any way to scroll the RadTimeline vertically with the scroll wheel?

Ideally I'd like to have the zoom behaviour be restricted to the horizontal scrollbar (user can drag the horizontal bar's edges to zoom in and out etc), but I'd like to bind the vertical scroll position to the scroll wheel. I've achieved this with a RadChart using the PanAndZoomBehavior, but there is no equivalent for the Timeline.

Is there at least a way to programatically scroll the TimelineScrollBar from behind code when I capture the mouse wheel event?
Martin Ivanov
Telerik team
 answered on 06 Feb 2015
6 answers
188 views
Hi,

When I use ResourceTypeSource and SpecialSlotStyleSelctor I dont get the style for the HighlightItem. When I remove the ResourceTypeSource I get the style returned by the specialSlotStyleSelector. I dont know where I made mistake.. Plz Help...

Here is my ScheduleView
<sv:RadScheduleView x:Name="Scheduler" AppointmentsSource="{Binding Appointments}" Loaded="Scheduler_Loaded"
                            MouseLeftButtonUp="Scheduler_MouseLeftButtonUp"  ShowDialog="Scheduler_ShowDialog"
                            ResourceTypesSource="{Binding ResourceTypes}" AppointmentCreating="Scheduler_AppointmentCreating"   >
            <sv:RadScheduleView.ViewDefinitions>
                <sv:DayViewDefinition ShowAllDayArea="True"  MajorTickLength="1h" MinorTickLength="30min"  />
                <sv:WeekViewDefinition ShowAllDayArea="True" MajorTickLength="1h" MinorTickLength="30min" />
                <sv:MonthViewDefinition />
            </sv:RadScheduleView.ViewDefinitions>
            <sv:RadScheduleView.GroupDescriptionsSource>
                <sv:GroupDescriptionCollection>
                    <sv:DateGroupDescription />
                    <sv:ResourceGroupDescription ResourceType="Speaker" />
                </sv:GroupDescriptionCollection>
            </sv:RadScheduleView.GroupDescriptionsSource>
        </sv:RadScheduleView>

And the SpecialSlotStyleSelector...

class SpecialSlotStyleSelector:ScheduleViewStyleSelector
    {
        private Style nonworkingHourStyle;
        public Style NonworkingHourStyle
        {
            get
            {
                return this.nonworkingHourStyle;
            }
            set
            {
                this.nonworkingHourStyle = value;
            }
        }
        public override Style SelectStyle(object item, DependencyObject container, ViewDefinitionBase activeViewDefinition)
        {
            return this.NonworkingHourStyle;
        }
 
    }

And here is the style..

<s:SpecialSlotStyleSelector x:Key="SpecialSlotStyleSelector">
                <s:SpecialSlotStyleSelector.NonworkingHourStyle>
                    <Style TargetType="{x:Type sv:HighlightItem}">
                        <Setter Property="Template">
                            <Setter.Value>
                                <ControlTemplate>
                                    <Border Background="LightGray" Opacity="0.8" />
                                </ControlTemplate>
                            </Setter.Value>
                        </Setter>
                    </Style>
                </s:SpecialSlotStyleSelector.NonworkingHourStyle>
 
            </s:SpecialSlotStyleSelector>
praveen
Top achievements
Rank 1
 answered on 06 Feb 2015
2 answers
240 views
I am charting multiple PointSeries.  I am creating each PointSeries in code.  How do you control the color of each PointSeries?

Code:
var chartViewModel = Grid.DataContext as ChartViewModel;
 
var pointSeries = new PointSeries
{
    ItemsSource = chartViewModel.DataPoints,
    CategoryBinding = new PropertyNameDataPointBinding("DateTime"),
    ValueBinding = new PropertyNameDataPointBinding("Point"),
    PointSize = new Size(3, 3)
};
 
Chart.Series.Add(pointSeries);

XAML:
<telerik:RadCartesianChart x:Name="Chart">
    <telerik:RadCartesianChart.VerticalAxis>
        <telerik:LinearAxis LineThickness="1"
                            MajorTickLength="5"
                            TickThickness="1"/>
    </telerik:RadCartesianChart.VerticalAxis>
    <telerik:RadCartesianChart.HorizontalAxis>
        <telerik:DateTimeCategoricalAxis DateTimeComponent="Minute"
                                         LabelFormat="M/d H:mm"
                                         LineThickness="1"
                                         MajorTickInterval="60"
                                         MajorTickLength="5"
                                         TickThickness="1"/>
    </telerik:RadCartesianChart.HorizontalAxis>
    <telerik:RadCartesianChart.Grid>
        <telerik:CartesianChartGrid MajorLinesVisibility="XY" />
    </telerik:RadCartesianChart.Grid>
</telerik:RadCartesianChart>

Thanks in advance!
Pavel R. Pavlov
Telerik team
 answered on 06 Feb 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?