Telerik Forums
UI for WPF Forum
3 answers
173 views
Hi,

I use a RadScheduleView with a collection of SpecialSlots (SpecialSlotsSource) and I'm trying to handle if the user drop an appointment on a compatible slot or not. My SpecialSlot (SpecialSlotsSource) was defined as follow:

public class MySpecialSlot : Slot
{
    public bool IsCompatible  { get; set; }
}

I implemented a CustomDragDrop behavior and in the override method Drop I'm trying to cast the "state.DestinationSlots.ElementAt(0) as MySpecialSlot" to check if the "IsCompatible" member is TRUE/FALSE the cast always return null.

Thank's
Alain
Yana
Telerik team
 answered on 16 Apr 2014
13 answers
478 views
Hello.

I have some problem with using RadGridView. My application  add, delete or update GridView data in real time. It happens in different threads. And some times I get a error (see attached files). It's very important for me. Thanks.
Yordanka
Telerik team
 answered on 16 Apr 2014
4 answers
624 views
Hi,

I have 3x RadCartesianChart using LinearAxis (Y) and DateTimeContinuousAxis (X).
The zoom & pans shall be synchronized on X, but not Y - right now they are synchronized, but all axes.
The zoom control beside and underneath the axis shall be visible. DragMode shall be Zoom, but only on horizontally - right now I either can zoom only horizontally and only have the horizontal zoom control below OR I can zoom by selection horizontally & vertically and have both zoom controls.

Any path on how to achieve this?

Thanks,
Markus

 

Was
Top achievements
Rank 1
 answered on 16 Apr 2014
1 answer
167 views
I've upgraded RadControls from 2011.3.1220.40 to 2014.1.0414.40 and now if DPI = 125% undocking of RadPanes shift pane from cursor on some distance. It works correctly if DPI = 100%.

How can I fix it?
Vladi
Telerik team
 answered on 16 Apr 2014
1 answer
152 views
Hi There,

Telerik version 2013.2.611.45
runtime version v4.0.30319

We have a WPF application that is built targeting .net 4.5. Windows server 2003/Windows XP only supports .net runtimes up to version 4, so when I change the target framework to either .net 4.0 or .net 4.0 client profile we get the following error for a bunch of telerik WPF controls.

Error    165    The tag '<TAG>' does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation'. Line 2 Position 5.   

where <TAG> is either RadExpander/RadOutlookBar/RadWindow/RadRichTextBoxRibbonUi which are the controls we are utilizing.

and also :

Error    171    The tag 'RadWindow' does not exist in XML namespace 'clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation'.


The website says that .net 4.0 is the minimum requirement for Telerik WPF controls, so we are wondering how we go about getting our application to compile when targetting 4.0 / 4.0 client profile. Maybe another installation package built against 4.0 is available?

Any help appreciated.
Thank You,
J
Yana
Telerik team
 answered on 16 Apr 2014
1 answer
167 views
We are using implicit themes and all we want to do is change the transparency of the highlight color (i.e. increase it) for the gridrow when it is selected. Depending on the theme selected the selected highlight color changes and we want to keep that functionality but merely make it more transparent. I understand that we could go change all of the underlying XAML files and recompile the assembly but for such a small change we would rather not do that. Can you suggest any other way of accomplishing this. Thank you
Vanya Pavlova
Telerik team
 answered on 16 Apr 2014
8 answers
169 views
Hi,

My Requirement: I am using WPF RadscheduleView. I have 2 buttons in the bottom of the grid which will be used to navigate prev/next week.

I am using FirstVisibleRange and navigate to next week based on the calculation of next date. The scroll moved to calculated date , but the FirstVisibleRange property of schedule view grid still showing previous date only.

Pls help me out on this. Or let me know the best way to achieve prev and next week navigation in schedule view.

Regards,
Sugumar P
Sugumar
Top achievements
Rank 1
 answered on 16 Apr 2014
2 answers
236 views
Hello,

I have a problem with the RadComboBox control. The telerik version that I use is Q1 2014.

When I group data using ICollectionViewSource, the data are well grouped but some items are not accessible because the scroll go directly to the next group.

How can I solve that problem ?

The code of the Group style is defined below:

01.public FormatBox()
02.        {
03.            this.IsEditable = false;
04.            this.EmptyText = Translator.Translate("Generic_SelectFormat");
05. 
06.             
07.            ScrollViewer.SetCanContentScroll(this, true);
08. 
09.            DataTemplate itemTemplate = new DataTemplate();
10. 
11.            FrameworkElementFactory stackPanelFactory = new FrameworkElementFactory(typeof(StackPanel));
12.            stackPanelFactory.SetValue(StackPanel.OrientationProperty, System.Windows.Controls.Orientation.Horizontal);
13. 
14.            FrameworkElementFactory textBlock = new FrameworkElementFactory(typeof(TextBlock));
15.            textBlock.SetBinding(TextBlock.TextProperty, new Binding("Name"));
16.            stackPanelFactory.AppendChild(textBlock);
17. 
18.            textBlock = new FrameworkElementFactory(typeof(TextBlock));
19.            textBlock.SetValue(TextBlock.TextProperty, " - ");
20.            stackPanelFactory.AppendChild(textBlock);
21. 
22.            textBlock = new FrameworkElementFactory(typeof(TextBlock));
23.            textBlock.SetBinding(TextBlock.TextProperty, new Binding("Description"));
24.            stackPanelFactory.AppendChild(textBlock);
25. 
26.            itemTemplate.VisualTree = stackPanelFactory;
27. 
28.            this.ItemTemplate = itemTemplate;
29. 
30. 
31.            GroupStyle style = new GroupStyle();
32.            style.HidesIfEmpty = true;
33. 
34.            DataTemplate headerTemplate = new DataTemplate();
35. 
36.            textBlock = new FrameworkElementFactory(typeof(TextBlock));
37.            textBlock.SetBinding(TextBlock.TextProperty, new Binding("Name") { Converter = new FormatBoxBooleanToTranslationConverter() });
38.            textBlock.SetValue(TextBlock.FontWeightProperty, FontWeights.Bold);
39.            textBlock.SetValue(FrameworkElement.MarginProperty, new Thickness(5, 0, 5, 0));
40.            textBlock.SetValue(FrameworkElement.VerticalAlignmentProperty, VerticalAlignment.Center);
41.            style.HeaderTemplate = headerTemplate;
42. 
43.            FrameworkElementFactory border = new FrameworkElementFactory(typeof(Border));
44.            border.SetValue(Border.BackgroundProperty, new SolidColorBrush(System.Windows.Media.Color.FromArgb(255, 227, 239, 255)));
45.            border.SetValue(FrameworkElement.HeightProperty, 20d);
46. 
47.            border.AppendChild(textBlock);
48. 
49.            headerTemplate.VisualTree = border;
50. 
51.            this.GroupStyle.Add(style);
52.        }

Thanks in advance, this problem is critical for us.
Geofrrey
Geoffrey
Top achievements
Rank 1
 answered on 15 Apr 2014
3 answers
205 views
My current installed version is 2013.3.1204.40.

I am using RadGridView to print and print preview using "Print and Export with RadDocument". I want to set header on each page at the time of
Print & Print Preview. How can I go about with this issue.

Any help will be much more appreciated.

Regards,
Bharat Mendapara
Dimitrina
Telerik team
 answered on 15 Apr 2014
2 answers
54 views
Hi,

I just upgraded from V2013.3.1204.40 to V2014.1.0331.40 and since then I have some "BasedOn" styling problems.

Any thought???

Thank's
Alain
Christie Admin
Top achievements
Rank 1
 answered on 15 Apr 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?