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

ScheduleView is great. Congratulations.
I have one small question. Is it possible to make the time slots smaller (to stretch to the height of the screen or a fixed width). Now, even if I have a lot of space on screen the scheduler has a vertical scrollbar. I prefer to see all my appointments on screen without scrolling vertically, even if the time slots are smaller. Later if I want to see them bigger, I'll use the zoom feature.

I saw that setting both  MinTimeRulerExtent and MaxTimeRulerExtent on dayviewdefinition makes the time slots smaller, but I don't understand their meaning. Where can I find an example of using these extents or there is another way to do it?

Thanks
Vladimir Stoyanov
Telerik team
 answered on 16 Apr 2018
32 answers
550 views

Hello everyone! I need zoom from years to months, months to days, days to hours, hours to minutes. But with this XAML snippet:

<telerik:RadTimeline PeriodStart="01/01/2010"
                     PeriodEnd="01/01/2015"
                     StartPath="Date"
                     DurationPath="Duration">
    <telerik:RadTimeline.Intervals>
        <telerik:YearInterval/>
        <telerik:MonthInterval/>
        <telerik:DayInterval />
        <telerik:HourInterval/>
        <telerik:MinuteInterval/>
    </telerik:RadTimeline.Intervals>
</telerik:RadTimeline>

 

I can't see hours and minutes. Maximum zoom is day. How can I do that, if my maximum period will be 5 years?

 

Sorry for my poor English. I'm from Russia...

Martin Ivanov
Telerik team
 answered on 15 Apr 2018
1 answer
134 views

We are using the RadCartesianChart in our WPF project.  We are experiencing an issue where the chart does not show zero.  Our range of numbers goes from 0 to 22,000 and back down to 0 but always ends with a zero.  The chart will plot the data correctly, but when the last value is a  single zero, it will not end at zero.  It does not always do this, but enough that it is causing a problem for our end users who need to see that zero plot point.  As a work around, we are adding zeros to the data set and that will resolve the problem.

As an example, if our values being plotted looks like this:

0,100,1000,2000,5000,12000,15000,15000,15000,15000,15000,15000,15000,7000,2500,0

The charts does not drop all the way down to zero.  But if we add zeros to the end of the dataset, like this....

0,100,1000,2000,5000,12000,15000,15000,15000,15000,15000,15000,15000,7000,2500,0,0,0

....the chart line will drop down to zero.

 

Is there a way to make the chart reflect the true values - or at least "snap" to the beginning and end values?

 

Thank you for your help!

 

Martin Ivanov
Telerik team
 answered on 15 Apr 2018
10 answers
903 views
Hi,

I am using the DragDropManager and I managed to get it working. Actually it is working too good. I set AllowDrop = true on only 2 controls, but I can drop the object on all controls.

1. I had hoped to get a Cursors.No on areas where AllowDrop wasn't set to true. How can I do that? Even better would be not to fire the OnDrop() event in this case.
2. If I always have to handle the OnDrop event: Is there a way I can find out in the OnDrop() and OnDragCompleted() method to see if the Drop was legitimate/successful or not?

Regards,

Alfons
Martin Ivanov
Telerik team
 answered on 15 Apr 2018
2 answers
182 views

I'm using RadCartesianChart with a HorizontalAxis of DateTimeContinuousAxis and VerticalAxis of LineSeries. I have ~130,000 points with Value = double? and Category = DateTime. The issue I am having is that I cannot zoom in far enough to show the individual points. I have tried setting PanAndZoomBehavior.DragToZoomThreshold = 0.1; but that does not help. The zoom appears to be limited elsewhere. Thanks for your help.

Chris
Top achievements
Rank 1
 answered on 13 Apr 2018
9 answers
130 views

I have confirmed and unconfirmed project in Categories.

How can I change Category  in  Custom Appointment Dialog?

 

-Jacky

Martin Ivanov
Telerik team
 answered on 13 Apr 2018
1 answer
259 views

Hi all,

In our app, which uses a RibbonWindow and RibbonView, we have some RibbonTabs that are contextual to the currently open workspace, buttons on these tabs  are visible only to the users that have the specific security rights for the command it's bound to. These contextual RibbonTabs and their content are defined in the MainWindow xaml file, each button's visibility is databound via a converter to a CanDoThisOrThat bool property of the current workspace, the button's Command is also bound to an ICommand of the current Workspace. When a workspace is initialized, it reads the security rights of the user and set's the CanDoThisOrThat property which is then used to set the Visibility of the button.

So, our issue now it that depending on the security rights of the user, some RibbonGroups are left empty which looks kind of weird. I have tried some hacky code like hooking-up to the GotFocus event of the RibbonTab and then looping thru its Items to check for IsVisible. if none is found to be visible, the RibbonGroup's visibility is set to Collapsed. This kind of works but some RibbonTab's GotFocus event handler is never called and thus the empty groups are visible.

So my question is: Is there a way to collapse a RibbonGroup when it has no visible children?

Thank you.

Martin
Telerik team
 answered on 13 Apr 2018
3 answers
300 views

I'm using a RadCalendar in a user control with SelectionMode set to Single, DisplayMode set to MonthView, a DayTemplateSelector set like your example of this in your demo. I also have it handling the SelectionChanged event to change the date values in the DayTemplateSelector. Basically I am using a DayTemplateSelector to change the template for the Day based on a collection of appointment dates to look either selected (the scheduled appointment date) or crossed off with an X (an appointment date to be excluded). This is supposed to be modified when the user left clicks on a Day to X it off or exclude it (through the SelectionChanged event handler). Initially I wanted to use a double-click for selection but there is no double-click event to handle and the double-click example I found in another thread here required adding a huge block of xml for the Calendar Button Style and it wouldn't work in our project due to unresolved reference errors (the sample worked but it wouldn't work in our larger real-world project).

The calendar control should only allow a single day to be selected since the SelectionMode is single but each click on a Day seems to select another Day. Why? I tried setting the SelectedDate value to null from the SelectionChanged event to hopefully clear the selections but this seems to have no effect. This seems to result in peculiar looking calendar as eventually multiple days appear to be selected as the user clicks to "exclude" scheduled appointment dates. Either I need a way to ensure only one of the days is selected or I need a way to clear the selections somehow from the SelectionChanged event handler.

Can you please offer some guidance?

 

Thanks!

 

Is there a way to clear the selected day buttons?

Martin Ivanov
Telerik team
 answered on 13 Apr 2018
6 answers
217 views

Hi, I have a strange issue with the TimeBar control:

if I put a RadLinearSparkline inside of it everything works as exected, but if I try replacing the RadLinearSparkline with a RadColumnSparkline, the content doesn't match the timeline anymore. Looks like there's some kind of margin that keeps accomulating until the columns are represented between two days.

The image I've attached best represents the situation, I've also attached the code so that you can see that I'm not doing anything different when using the two controls.

I really need to use the RadColumnSparkline, what can I do to make sure everything is aligned properly?

Thanks in advance,

Matteo

Martin Ivanov
Telerik team
 answered on 13 Apr 2018
1 answer
330 views

Hi, I have a very large collection that would not fit into local memory very well, and I was trying to make use of the VirtualQueryableCollectionView telerik class.  It takes an IEnumerable, but if I pass in an IEnumerable it loops through all items in order to get the initial Count().  I looked at https://www.telerik.com/blogs/data-virtualization-for-your-silverlight-and-wpf-applications and downloaded the example application, but under the hood it's using something called an .edmx which I'm not familiar with.

What I want to do is to fetch the data on-the-fly.  I tried implementing an IList and passing it to VirtualQueryableCollectionView but that didn't seem to work either.  I'm familiar with how WPF Datagrids handle virtualization and paging, (https://www.codeproject.com/Articles/34405/WPF-Data-Virtualization) and have used that before, but I'm not sure how to do it with a Telerik RadGridView.  Can you point me in the right direction?  I'd use the paging control except I want the user to be able to just scroll down.

Yoan
Telerik team
 answered on 12 Apr 2018
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
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?