Telerik Forums
UI for WPF Forum
2 answers
127 views
I'm using version 2012.2.607.40.

I have a GridView with SelectionMode=Extended.  If a user selects multiple rows by left clicking on row #2 followed by holding the shift key down and left clicking on row #5, they end up with 4 rows (row numbers #2 through #5) selected/highlighted.  This is all fine.

Next, if the user right clicks on row #5, to open a context menu and perform some function on the selected rows, row #2 looses its highlighted background color and appears to no longer be selected, even though it is.  This causes confusion for the user.  How can I avoid one of the rows from loosing that highlighted color after right clicking one of the selected rows?

It should be noted that this behavior does NOT occur if the user holds the Ctrl key down while left clicking individual rows to select multiple rows.  It is only when the Shift key is used to select a range of rows.

Thank you,

James
James
Top achievements
Rank 1
 answered on 06 Mar 2013
3 answers
182 views
Hi There,
I have a Panel bar control, by default all panel bar items are expanded
there are atlease 15 items the fifteenth item is at the bottom of the panelbar and then we will see a scrollbar, to see that 15th item we need to scrolldown by using the scrollbar, i have a list box on the same view and i have listbox items are same as i have in the panelbar items, when i select 15th listbox item then the scrollbar of the panel bar should automatically scrolls to the corrosponding 15th panelbar item. 
i need to maintain this in my ViewModel. 
attached a screenshot for better understanding please check.
Can you please help me out in this case?

Thanks in advance,
Regards,
Srinivas.
Pavel R. Pavlov
Telerik team
 answered on 06 Mar 2013
2 answers
158 views
Hello,

I want to show additional content but hide the info tip in Information Adorner. How can I do this?

Thank you,
Vinod.
Vinod
Top achievements
Rank 1
 answered on 06 Mar 2013
1 answer
72 views
Pseudo code to reproduce the problem.
1. void OnFirstButtonClick(){
  Chart.Series.Clear();
  var series = new LineSeries()  {RenderMode = SeriesRenderMode.Light};
  Chart.Series.Add(series);
 }
// I can see added series, it's OK
2.  void OnSecondButtonClick(){
  Chart.Series.Clear();
  var series = new LineSeries();
  Chart.Series.Add(series);
 }
// I see new series and series from the first step. Why?
// If the first series are rendered with Full RenderMode, I see only the second.

Petar Kirov
Telerik team
 answered on 06 Mar 2013
1 answer
172 views
Hello,

the Context Menu and the Spell Checker ae still using the default language English.
All other controls are in German, but those two are not working.

Do you have any idea?

Thank!
Iva Toteva
Telerik team
 answered on 06 Mar 2013
7 answers
201 views
I am trying to run an existing application in the debugger on a Windows 8 machine to prepare for the future, and I am getting the following errror on the constructor of the RadRibbonWindow:

Could not load file or assembly 'Telerik.Windows.Controls.RibbonView.Aero2, Version=2012.2.607.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.

I cant find any reference to Aero2 in either the RadRibbonWindow or RadRibbonView assemblies.  Can anyone tell me what is causing this and how to fix it?
Stefan
Telerik team
 answered on 06 Mar 2013
1 answer
106 views
I've observed that when a Slice is selected and deselected again in the PieSeries, then the Offset which is set in the <PieDataPoint/> tag is not being applied anymore and the slice/piedatapoint loses the offset that was set initially. Is this a bug or am I doing it wrong?

[code]
<telerik:RadPieChart>
<telerik:PieSeries ShowLabels="False" SelectedPointOffset="0.03">
<telerik:PieSeries.DataPoints>
<telerik:PieDataPoint Value="27" OffsetFromCenter="0.02"/>
<telerik:PieDataPoint Value="33" OffsetFromCenter="0.02"/>
<telerik:PieDataPoint Value="40" OffsetFromCenter="0.02"/>
<!--<telerik:PieDataPoint Value="33" OffsetFromCenter="0.02"/>-->
</telerik:PieSeries.DataPoints>
<telerik:PieSeries.AngleRange>
            <telerik:AngleRange StartAngle="270" SweepAngle="360" />
            </telerik:PieSeries.AngleRange>
</telerik:PieSeries>
<telerik:RadPieChart.Behaviors>
<telerik:ChartSelectionBehavior DataPointSelectionMode="Single">
</telerik:ChartSelectionBehavior>
</telerik:RadPieChart.Behaviors>
</telerik:RadPieChart>
[/code]


Also, how does the SelectedPointOffset property work? I don't see the effect of 0.03 offset for the selected slice when I select a slice - the offset is much more than that for the slice which is selected
Nikolay
Telerik team
 answered on 06 Mar 2013
2 answers
131 views
Good morning, in my project I have to refer marked zone annotations to a secondary Y axes, but it does not seem to work.
Project involves complex logic with the MVVM pattern, in order to try to understand what is going on I made up a simple example (below), but still does not work. Marked zone annotation must be referred to secondary Y Axes, called "Height", but still refers to the primary one.
Please tell me what am I missing,
   Paolo



<telerikChart:RadChart x:Name="radChart">
                <telerikChart:RadChart.DefaultView>
                    <telerikCharting:ChartDefaultView>
                        <telerikCharting:ChartDefaultView.ChartLegend>
                            <telerikCharting:ChartLegend x:Name="chartLegend2" Header="Legend" UseAutoGeneratedItems="True" Visibility="Collapsed"/>
                        </telerikCharting:ChartDefaultView.ChartLegend>
                        <telerikCharting:ChartDefaultView.ChartArea>
                            <telerikCharting:ChartArea LegendName="chartLegend">
                                <telerikCharting:ChartArea.AxisX>
                                    <telerikCharting:AxisX
                                        AutoRange="False"
                                        MajorGridLinesVisibility="Visible"
                                        MinValue="0"
                                        MaxValue="20"
                                        Step="2"
                                        ></telerikCharting:AxisX>
                                </telerikCharting:ChartArea.AxisX>
                                <telerikCharting:ChartArea.AxisY>
                                    <telerikCharting:AxisY
                                        AutoRange="False"
                                        MinorGridLinesVisibility="Hidden"
                                        MajorGridLinesVisibility="Visible"
                                        MinorTicksVisibility="Hidden"
                                        StripLinesVisibility="Hidden"
                                        MinValue="0"
                                        MaxValue="1000"
                                        Step="100"
                                        >
                                    </telerikCharting:AxisY>
                                </telerikCharting:ChartArea.AxisY>
                                <telerikCharting:ChartArea.AdditionalYAxes>
                                    <telerikCharting:AxisY x:Name="Height"
                                                                AutoRange="False"
                                                                MinValue="0"
                                                                MaxValue="10"
                                                                Step="1"
                                                                MinorTicksVisibility="Hidden"
                                                                Visibility="Visible"
                                                                >
                                    </telerikCharting:AxisY>
                                </telerikCharting:ChartArea.AdditionalYAxes>
                                
                                <telerikCharting:ChartArea.Annotations>
                                    <telerikCharting:MarkedZone
                                        YAxisName="Height"
                                        StartX="6"
                                        EndX="8"
                                        StartY="3"
                                        EndY="7"
                                        Background="Orange"
                                        >
                                    </telerikCharting:MarkedZone>
                                </telerikCharting:ChartArea.Annotations>
                                
                                <telerikCharting:ChartArea.DataSeries>
                                    <!-- Line Chart -->
                                    <telerikCharting:DataSeries LegendLabel="Product Sales">
                                        <telerikCharting:DataSeries.Definition>
                                            <telerikCharting:LineSeriesDefinition>
                                            </telerikCharting:LineSeriesDefinition>
                                        </telerikCharting:DataSeries.Definition>
                                        <telerikCharting:DataPoint YValue="112" XValue="0"/>
                                        <telerikCharting:DataPoint YValue="257" XValue="2"/>
                                        <telerikCharting:DataPoint YValue="450" XValue="4"/>
                                        <telerikCharting:DataPoint YValue="800" XValue="6"/>
                                        <telerikCharting:DataPoint YValue="467" XValue="8"/>
                                        <telerikCharting:DataPoint YValue="469" XValue="10"/>
                                        <telerikCharting:DataPoint YValue="540" XValue="12"/>
                                        <telerikCharting:DataPoint YValue="560" XValue="14"/>
                                        <telerikCharting:DataPoint YValue="500" XValue="16"/>
                                        <telerikCharting:DataPoint YValue="235" XValue="18"/>
                                        <telerikCharting:DataPoint YValue="76"  XValue="20"/>
                                    </telerikCharting:DataSeries>
                                </telerikCharting:ChartArea.DataSeries>
                            </telerikCharting:ChartArea>
                        </telerikCharting:ChartDefaultView.ChartArea>
                    </telerikCharting:ChartDefaultView>
                </telerikChart:RadChart.DefaultView>
            </telerikChart:RadChart>
Paolo
Top achievements
Rank 1
 answered on 06 Mar 2013
13 answers
234 views
Hi,

I am trying to implement the new ColumnGroups introduced in the latest version (2011 Q3) but I am having issues when trying to create the ColumnGroups by code.

The problem occurs when trying to construct ColumnGroups with the below code. (taken from a simple sample to isolate the issue)
            this.grid.Columns.Clear();
            this.grid.ColumnGroups.Clear();
            var gridColumn = new GridViewDataColumn();
            var gridColumn2 = new GridViewDataColumn();
            if (this.IncludeGroup.IsChecked != null && (bool)this.IncludeGroup.IsChecked)
            {
                this.grid.ColumnGroups.Add(new GridViewColumnGroup
                    {
                        Name = "A",
                        Header = "A"
                    });
                this.grid.ColumnGroups.Add(new GridViewColumnGroup
                {
                    Name = "B",
                    Header = "B"
                });

                gridColumn.ColumnGroupName = "A";
                gridColumn2.ColumnGroupName = "B";
            }

            gridColumn.UniqueName = "a";
            gridColumn.Header = "Name";
            var textBinding = new Binding("Name");
            textBinding.Mode = BindingMode.OneWay;
            gridColumn.DataMemberBinding = textBinding;
            this.grid.Columns.Add(gridColumn);
            
            gridColumn2.UniqueName = "b";
            gridColumn2.Header = "Name";
            var textBinding2 = new Binding("Year");
            textBinding2.Mode = BindingMode.OneWay;
            gridColumn2.DataMemberBinding = textBinding2;
            this.grid.Columns.Add(gridColumn2);
It will refresh the whole GridView correctly except for the ColumnGroups.

Any help would be much appreciated,
Rich
Maya
Telerik team
 answered on 06 Mar 2013
3 answers
131 views
Hi,

I am using the following to define a GridView Column

<telerik:GridViewDataColumn 
DataMemberBinding="{Binding IsSelected}"
        IsFilterable="False"
        Header="">
        <telerik:GridViewDataColumn.CellTemplate>
            <DataTemplate>
                <CheckBox  IsChecked="{Binding IsSelected, Mode=TwoWay}" 
                           Checked="IsSelected_Checked" 
                           Unchecked="IsSelected_Unchecked"/>
                 </DataTemplate>
        </telerik:GridViewDataColumn.CellTemplate>

</telerik:GridViewDataColumn>

The default theme and the Windows7 theme works as expected but the Windows8Theme has the following behavior. I have to hit the screen to the right of the checkbox to check the item and when I put the mouse directly on the checkbox I get the sizing icon.  I assume it has something to due with the fact that the CheckBox is a Windows control?

I originally defined the column as telerik:GridViewCheckBoxColumn but that did not provide me with Checked and Unchecked events.  I then went to the above code which I got from the forum.  It seems to me that the telerik:GridViewCheckBoxColumn should provide the checked events otherwise why have it?  When and  if its decided to make a change to telerik:GridViewCheckBoxColumn for the checked events I would also suggest that you provide a property to not dim the checkbox whether the row is selected or not.  

Thanks
Rich


:
Maya
Telerik team
 answered on 06 Mar 2013
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?