Telerik Forums
UI for WPF Forum
10 answers
475 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
2.0K+ 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
186 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
123 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
179 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
752 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
192 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
245 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
6 answers
157 views
Hello,

I'm intensively testing RadGantt on different machines. I noticed that the component crashes on every resize on 1 specific machine.
The machine is an Asus N56VM with win 7 installed.

When starting the machine in safe mode, there is no crash. After some research I noticed it is the graphics card (Intel HD Graphics 4000) that causes the crash.

Is this something new to you guys? If not, could you provide me with a solution?

All other machines work like a charm, even a 5-6 year old one with Win XP.

Kind Regards
Vladi
Telerik team
 answered on 06 Feb 2015
3 answers
163 views
I want to extend RadDatePicker. I've created this class:

public class CustomRadDatePicker : RadDatePicker
{
    // no code yet
}


As you can see there is absolutely no code yet in this class but when adding CustomRadDatePicker instead of RadDatePicker in XAML there is no control displayed at design time and runtime. I've extended many other of your controls and there were no Problems so can you please tell me what's wrong here? I need to extend RadDatePicker.
Johannes
Top achievements
Rank 1
 answered on 06 Feb 2015
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
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?