If I cancel the selection of an item within the PreviewSelectionChanged event of the RadOutlookBar there are different behaviors depending on where the selection was made.
1) Selection in the 'normal' items-area -> Everthing is fine. The selected Item stays highlighted.
2) Selection in the MinimizedArea -> The wrong item gets highlighted.
Is it possible to workaround this ?
Regards
Rainer
Here is the sample-code:
<telerik:RadOutlookBar x:Name="obMenu" PreviewSelectionChanged="obMenu_PreviewSelectionChanged"> <telerik:RadOutlookBarItem Header="Item 1"> <Border Background="Blue"> <TextBlock Text="Item1"/> </Border> </telerik:RadOutlookBarItem> <telerik:RadOutlookBarItem Header="Item 2"> <Border Background="Green"> <TextBlock Text="Item1"/> </Border> </telerik:RadOutlookBarItem> <telerik:RadOutlookBarItem Header="Item 3"> <Border Background="Red"> <TextBlock Text="Item1"/> </Border> </telerik:RadOutlookBarItem></telerik:RadOutlookBar>private void obMenu_PreviewSelectionChanged(object sender, SelectionChangedEventArgs e) { if (MessageBoxResult.Yes == MessageBox.Show("Cancel selection ?", "Cancel", MessageBoxButton.YesNo, MessageBoxImage.Question)) { e.Handled = true; }}
var reverseGeocodeRequest = new ReverseGeocodeRequest();reverseGeocodeRequest.Location = new Location(tt.Latitude,tt.Longitude);var geocodeService = new GeocodeServiceClient();GeocodeResponse geocodeResponse = geocodeService.ReverseGeocode(reverseGeocodeRequest);if (geocodeResponse.Results.Length > 0) results = geocodeResponse.Results[0].DisplayName;}GeocodeResponse geocodeResponse = geocodeService.ReverseGeocode(reverseGeocodeRequest);
Do not match the visual selection of the Zoom. We have an Amount Range on the XAxis, ranging from -2 mil, to 8 mil, selecting -0.5 mil to 1 mil, gives +1.2 mil to 1.4 mil give or take.ChartArea.AxisX.ActualMinValue + (ChartArea.AxisX.ActualRange * ChartArea.ZoomScrollSettingsX.RangeStart)
ChartArea.AxisX.ActualMinValue + (ChartArea.AxisX.ActualRange * ChartArea.ZoomScrollSettingsX.RangeEnd)

<telerik:GridViewDataColumn DataType="{x:Null}" IsReadOnly="True" IsVisible="True" IsFilterable="False" IsGroupable="False" IsSortable="True" Width="100" UniqueName="RunDate" Header="Birth Date" TextAlignment="Left" DataFormatString=" {0:mm/dd/yyyy} "/>Hi,
Base on this example:
http://www.telerik.com/community/code-library/wpf/gridview/radgridview-print-and-print-preview.aspx
I made a custom reporting service for our home application needs. I installed 2010 Q3 SP1 Telerik new controls, and I steel have problem with this specific line:
element.Measure(new Size(double.PositiveInfinity, double.PositiveInfinity));
When the grids as too much rows (3000 can go over 300 000) that throw a out of memories exceptions in the print preview. I read a couple of article on Telerik forum that said that this issue was supposed to be fixed in Q3… and can be cause by GridViewRowInfo objects which occupy most of the memory…
Can you please help me with that?
Gabriel
Hi,
I have a custom column which is a user control inheriting from GridViewColumn and has two button (add row, and remove row) basically to allow users who relay to keyboard only for data entry to tab through the row cells until the reach the last column and then have the ability to add a new row and go one with the data entry.
The problem is the tabbing order is not consistent, for example, when the user is row 4 and they are tabbing in though data bound rows, when it comes to the button Colum, it the button on the first row that gets the focus (not the same 4th row).
Any advice?