Telerik Forums
UI for WPF Forum
3 answers
433 views
Hello,

  I have a requirement for a custom control but not exactly sure which control to use or if it is possible. The sceanrio is simple enough with an explanation outlined below. Any ideas will be greatly appreciated!

REQS

control will be used to visualize the start and stop of a sales cycle

- the control will be embedded in a grid row as a column template
- the control needs to look and behave like a slider control
- the control needs to have two thumbs
- first thumb marks the start of a sales period
- the second thumb marks the end of a sales period
- ticks must be in date format
- the second thumb must enable the user to adjust it along the slider to any position but NOT before the first slider

- i looked at the RAD WPF Slider but the ticks dont appear to be able to render in date format nor did i see a way to add multiple thumbs beyond a range
- i looked at the time bar control but that would most likely be too large and overkill for a templated column
- i looked at the RAD time line control but that doesnt appear to be adjustable

Thank You,
Bill Spaulding
Kiril Vandov
Telerik team
 answered on 20 Feb 2014
1 answer
182 views
Hi,

I created a CustomSlotSelectionBehavior class to limit the slots selection in a single day. In the GetSelectionOverride protected method, I use the "pState.CurrentSelection" to determine the date of the initial slot. If the "CurrentSlot.Start" or the "CurrentSlot.End" are not on the same day than the "pState.CurrentSelection", I want to return a new object with the with "pState.CurrentSelection.Start.Date" or "pState.CurrentSelection.End.Date" and I need to know what is the "DayStartTime/DayEndTime" of the viewdefinition to complete my object. So accomplish that, what shoulf I do?

Thank's
Alain
Kalin
Telerik team
 answered on 20 Feb 2014
12 answers
235 views
Hi !

Got this exception using a the Breadcrumb version 2012.1.221.40

Hard to reproduce on will in my application context but happens sometimes. 

Tell me whether you need more information.

Regards,
Phil

===================================
Object reference not set to an instance of an object. (Telerik.Windows.Controls.Navigation)
------------------------------
Program Location:
   at Telerik.Windows.Controls.Breadcrumb.RadBreadcrumbBar.<>c__DisplayClass5.<SafelyRemoveItemFromOverflow>b__4() in c:\TB\105\WPF_Scrum\Current_HotFix\Sources\Development\Controls\Navigation\Breadcrumb\RadBreadcrumbBar.cs:line 118
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

Source code:

                            <telerik:RadBreadcrumb 
                                        HorizontalAlignment="Stretch"
                                        VerticalAlignment="Center"
                                        VerticalContentAlignment="Center"
                                        Header="{Binding AddressBarPresenter.XmlDocument.Root}" 
                                        ItemsSource="{Binding AddressBarPresenter.XmlDocument.Root.AllFields, Mode=OneWay, IsAsync=True}"
                                        TextModePath="XPathName"
                                        Path="{Binding AddressBarPresenter.CurrentXPath, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                        PathSeparator="/"    
                                        IsHistoryEnabled="True"
                                        IsIconVisible="False">
                                <local:Breadcrumb.HeaderTemplate>
                                    <DataTemplate>
                                        <TextBlock Text="{Binding XPathName}" />
                                    </DataTemplate>
                                </local:Breadcrumb.HeaderTemplate>
                                <local:Breadcrumb.ItemTemplate>
                                    <HierarchicalDataTemplate ItemsSource="{Binding AllFields, Mode=OneWay, IsAsync=True}">
                                        <HierarchicalDataTemplate.ItemTemplate>
                                            <DataTemplate>
                                                <TextBlock Text="{Binding XPathName}" />
                                            </DataTemplate>
                                        </HierarchicalDataTemplate.ItemTemplate>
                                        <TextBlock Text="{Binding XPathName}" />
                                    </HierarchicalDataTemplate>
                                </local:Breadcrumb.ItemTemplate>
                            </telerik:RadBreadcrumb>
mikels
Top achievements
Rank 1
 answered on 20 Feb 2014
1 answer
105 views
Hi,

I'm using the Office 2013 theme with my control and a week view definition and when I drag an appointment, 2 tooltips appear, 1 at the top indicating the appointment beginning and 1 at he bottom indicating the appointment ending. The problem is when the beginning of the appointment reach the header, the tooltips indicating the beginning of the appointment dissapear immedialty.

You can easily reproduce this issue with your wpf demo using the Office 20013 theme. The Silverlight demo is ok!!!

Thank's
Alain
Yana
Telerik team
 answered on 20 Feb 2014
3 answers
293 views
Hi ,

I am looking to export my grid view into pdf format, how i can do.

Please share code .

Thanks
Yoan
Telerik team
 answered on 20 Feb 2014
6 answers
120 views
I did a search, but was not able to find any threads about this problem, so.

Using the latest Telerik VS Extensions, running VS 2010 version 10.0.40219.1 SP1 Rel. on Win 7 64 bit.  When I install the Microsoft Productivity Power tools ( version 10.0.20626.18, http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef/  ) If I try to add references to a C# WPF Project, Visual Studio will abruptly go away.  I am assuming an exception somewhere.  If I uninstall the Telerik VS extensions, everything works great.  If I uninstall the Power Tools but leave the Telerik VS Extensions, everything works great.

So I am assuming that there is a conflict between the Productivity Power Tools and the Telerik VS Extensions in VS 2010.  I really would love to have both of the tools installed. 

Any hints or suggestions?
Thanks
Paul
Petar
Telerik team
 answered on 20 Feb 2014
2 answers
207 views
I have tried in XAML to get footer aggregate results to be shown that way that caption is on left side and result is on right. If column width is changed value should stay to right. I have found some of examples but with no luck for final solution (only with static width I have got it close, but does not work when column widht change).

Here is little example what I want:
Start point:
_____________
| Count         90 |

And when column width is changed result should stay on right:
________________
| Count               90 |

Harri
Top achievements
Rank 1
 answered on 20 Feb 2014
2 answers
137 views
Hi,
currently, i am using on telerik RAD control version 2013.2.724.40. . my assignment is to implement the dragdrop from RADGridview to itemcontrol. The itemscontrol contains a RADCartesianChart and when dropping a row from datagrid to itemcontrol to show the new chart for the related selected row.

i am facing the following problem in the chart view. 

1. it is not possible to show grid lines in the chart view. if i defined the grid in the chart and assigned the grid lines, but it does not shown in run time.
2. is it possible move zoom bar control in left most when the chart view control has multiple Y-Axes. (see the image attached)

i have attached the POC application. could you please check the application and please provide better solution.
Martin Ivanov
Telerik team
 answered on 20 Feb 2014
0 answers
157 views
Hi, I am trying to drag drop a text file on the RadGridView cells and I am having some issues. What I am trying to accomplish is; when I drop the textfile (or any type of file) on a GridCell or GridHeaderCell , I am going to open another screen for user to enter more information. That screen will have that file's physical file path and some more information from the cell which it was dropped on. 
So, regular GridCell is working fine but when I drop the file on the GridHeaderCell, it does not allow me unless I put a breakpoint on OnDropQuery method. Without the breakpoint headercells are not available to drop the file on.

OnDropQuery method is in MainWindow.xaml.cs. I have a sample project prepared but couldnt attach it to the thread.

Please let me know, if you need any additional information. 

Thanks in advance...
Deniz
Top achievements
Rank 1
 asked on 19 Feb 2014
6 answers
155 views
Hi,

Q3 2013 not install in VS 2013 blend toolbox! Please see screenshot.
Kareem
Top achievements
Rank 1
 answered on 19 Feb 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
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?