Hi,
I'm creating facility to jump to a specific selection (think of a calendar which has a "Today" button to jump immediately to a specific date). This facility changes both the SelectionStart and SelectionEnd properties in two separate operations, however this causes the SelectionChanged event to be triggered twice, once for each operation. Can an "AddSelection(start, end)" method be included change both properties in one operation and only trigger the SelectionChanged event once? (Similar events could be added for VisiblePeriod and Period). I've based this request on a similar AddRange method for the RadChart control that allows the minimum, maximum and step properties to be changed in one operation.
Kind regards,
Dave.
I'm creating facility to jump to a specific selection (think of a calendar which has a "Today" button to jump immediately to a specific date). This facility changes both the SelectionStart and SelectionEnd properties in two separate operations, however this causes the SelectionChanged event to be triggered twice, once for each operation. Can an "AddSelection(start, end)" method be included change both properties in one operation and only trigger the SelectionChanged event once? (Similar events could be added for VisiblePeriod and Period). I've based this request on a similar AddRange method for the RadChart control that allows the minimum, maximum and step properties to be changed in one operation.
Kind regards,
Dave.
6 Answers, 1 is accepted
0
Hello David,
Please use the Selection property instead. It will allow you to set the selection atomically.
All the best,
Vladimir Milev
the Telerik team
Please use the Selection property instead. It will allow you to set the selection atomically.
All the best,
Vladimir Milev
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
0

David
Top achievements
Rank 2
answered on 02 Aug 2011, 07:45 AM
Hi Vladimir,
I can't seem to access the Selection property in code-behind, only the SelectionStart and SelectionEnd properties. I'm using 2011 Q2 WPF controls in VS 2010 SP1, VB code behind.
Kind regards,
Dave.
I can't seem to access the Selection property in code-behind, only the SelectionStart and SelectionEnd properties. I'm using 2011 Q2 WPF controls in VS 2010 SP1, VB code behind.
Kind regards,
Dave.
0
Accepted
Hello David,
The property is there, although it does not show up in intellisense. Try it:
timebar1.Selection = New SelectionRange(Of DateTime)(startTime, endTime)
Greetings,
Vladimir Milev
the Telerik team
The property is there, although it does not show up in intellisense. Try it:
timebar1.Selection = New SelectionRange(Of DateTime)(startTime, endTime)
Greetings,
Vladimir Milev
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
0

David
Top achievements
Rank 2
answered on 04 Aug 2011, 09:45 AM
Hi Vladimir,
Thanks for the advice. The property does not come up in the Intellisense member list, however once manually entered, it appears in the property tooltip.
Using the tooltip data type definition, I'm using the Date data type instead of DateTime, therefore the VB code I'm using is:
timebar1.Selection = New SelectionRange(Of Date)(startTime, endTime)
This property is missing from the property list in the online help for the Silverlight controls:
http://www.telerik.com/help/silverlight/telerik.windows.controls.datavisualization-telerik.windows.controls.radtimebar_properties.html
I'm referencing the help for the Silverlight controls because the entire Telerik.Windows.Controls.DataVisualization API reference is missing the in the WPF help as I reported in:
http://www.telerik.com/community/forums/wpf/timebar/api-reference-missing-telerik-windows-controls-datavisualization.aspx
Without this property in the Intellisense member list or online help, I had no knowledge of this property previously. Will this property be added to the help and will it be correctly listed in the Intellisense member list in a future release?
Kind regards,
Dave.
Thanks for the advice. The property does not come up in the Intellisense member list, however once manually entered, it appears in the property tooltip.
Using the tooltip data type definition, I'm using the Date data type instead of DateTime, therefore the VB code I'm using is:
timebar1.Selection = New SelectionRange(Of Date)(startTime, endTime)
This property is missing from the property list in the online help for the Silverlight controls:
http://www.telerik.com/help/silverlight/telerik.windows.controls.datavisualization-telerik.windows.controls.radtimebar_properties.html
I'm referencing the help for the Silverlight controls because the entire Telerik.Windows.Controls.DataVisualization API reference is missing the in the WPF help as I reported in:
http://www.telerik.com/community/forums/wpf/timebar/api-reference-missing-telerik-windows-controls-datavisualization.aspx
Without this property in the Intellisense member list or online help, I had no knowledge of this property previously. Will this property be added to the help and will it be correctly listed in the Intellisense member list in a future release?
Kind regards,
Dave.
0
Hello David,
Our developers have already addressed the issue and you can get the fixed version by downloading the latest internal build (currently version 2011.2.0808) from your account page - "Internal Builds Downloads" section. The fix will also be included in the official service pack release. The responsible people are notified and the property list in our online help will be updated soon.
Greetings,
Our developers have already addressed the issue and you can get the fixed version by downloading the latest internal build (currently version 2011.2.0808) from your account page - "Internal Builds Downloads" section. The fix will also be included in the official service pack release. The responsible people are notified and the property list in our online help will be updated soon.
Greetings,
Polina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
0

David
Top achievements
Rank 2
answered on 09 Aug 2011, 02:18 PM
Thanks for the update Polina!