Telerik Forums
UI for WPF Forum
0 answers
143 views
I have tab under which there is my user control containing 2 telerik datagrids and other controls. When i navigate using tab key for the  first time it goes through controls in order which i defined by using tab index and then after reaching datagrid it again goes to main tab(containig my user control) and then  again after reaching datagrid it traverse the datagrid element and then after traversing the datagrid it again goes to the main tab and then again after reaching datagrid it skip the datagrid rows and go to the next control . i have defined the keyboardnavigation.Tabindex for each control.and keyboardnavigation.tabnavigation="cycle".
Kirti
Top achievements
Rank 1
 asked on 22 Oct 2012
3 answers
333 views
I'm using the following setttings on my combobox..

<telerik:RadComboBox x:Name="cboUppdragsmallar" Text="{Binding Namn, UpdateSourceTrigger=LostFocus}" EmptyText="Uppdragsnamn" Height="40" FontSize="18"
                                             DockPanel.Dock="Top" Margin="5 10 5 5" ToolTip="Uppdragsnamn" IsEditable="True" ItemsSource="{StaticResource UppdragsmallLista}" DisplayMemberPath="Namn"  CanAutocompleteSelectItems="False" SelectionChanged="cboUppdragsmallar_OnSelectionChanged" />

My intention is to let the user pick a name for a project, if he wants he can use the dropdown to select a predefined template that lets picks some information of the template to fill certain fields.

However the CanAutocompleteSelectItems does not seem to work because as soon as i type something in the dropdown it autocompletes and fired selectionchanged which fills all the fields with data from the template being selected.. I don't want this behaviour unless the user selectes an option from the dropdown by hand...

So What i want is for the selectionchanged event only to fire when a dropdown selected is made by mouseclick or by keyboard. Not by autocompletion!

Boyan
Telerik team
 answered on 22 Oct 2012
1 answer
116 views
Please help me. How I can create header as atached image ? I need group columns for (LAB,RAD,Nurse).
Yoan
Telerik team
 answered on 22 Oct 2012
1 answer
228 views
I have what seems like it should be an easy question - how do i simply add a dropshadow to the calendar picker that is shown in the popup after selecting the calendar icon of a datetimepicker?  I've tried editing the PART_Popup in my custom style, however the dropshadow just gets ignored.  is there a secondary calendar control somewhere i need to modify or create a custom style for?

Matt.
Masha
Telerik team
 answered on 22 Oct 2012
2 answers
183 views

I am using just a LineSeries and setting it's ItemSource to uint array and when I use the TrackBall I just get the Y-value and not the Category one.
My guess is I need to use a different series type such as ScatterSpline, but I couldn't figure out how to specify data for that sort of series.  My array updates 30 times a sec so I'm constantly nulling out the series ItemSource and setting it back to the uint array
Also, is it possible to change the "Category" label in the TrackInfo box to something else such as "Channel?"

Thanks!

My ChartView in XAML

<telerik:RadCartesianChart Grid.Row="0"
                           Name="radCartesianChart1"
                           >
    
  <telerik:RadCartesianChart.HorizontalAxis>
    <telerik:CategoricalAxis
                             MajorTickInterval="255"
                             LabelInterval="1"
                             ShowLabels="True"
                             />
  </telerik:RadCartesianChart.HorizontalAxis>
    
  <telerik:RadCartesianChart.VerticalAxis>
    <telerik:LinearAxis />
  </telerik:RadCartesianChart.VerticalAxis>
  <telerik:RadCartesianChart.Behaviors>
    <telerik:ChartPanAndZoomBehavior ZoomMode="Both"
                                     PanMode="Both">
    </telerik:ChartPanAndZoomBehavior>
    <telerik:ChartTrackBallBehavior ShowIntersectionPoints="True"
                                    ShowTrackInfo="True"/>
  </telerik:RadCartesianChart.Behaviors>
  <telerik:RadCartesianChart.Series>
    <telerik:LineSeries Stroke="Orange"
                        StrokeThickness="2"/>        
  </telerik:RadCartesianChart.Series>
</telerik:RadCartesianChart>


My CodeBehind where I set the ItemSource when my array upda

void setData(uint[] data)
{      
  //may use with ScatterSplineSeries??
  //List<PlotInfo> dataList = new List<PlotInfo>();
  //for (int i = 0; i < _EDSData.Length; i++)
  //  dataList.Add(new PlotInfo() { XVal = i, YVal = _EDSData[i] });
  radCartesianChart1.Series[0].ItemsSource = null;
  radCartesianChart1.Series[0].ItemsSource = _EDSData;
}


Thanks!

Petar Marchev
Telerik team
 answered on 22 Oct 2012
1 answer
112 views
Hi,

I am trying to UI Virtualize a DataFormComboBoxField through styling, but could not find a way to do that.I copied the DataFormComboBoxField style in Blend but was not able to find the combo box on which to set the ItemsPanel to VirtualizingStackPanel.I am now doing through code and it works fine, but would like to move that to global style.

IEnumerable<DataFormComboBoxField> comboFields = MyRadForm.ChildrenOfType<DataFormComboBoxField>();
            foreach (DataFormComboBoxField comboField in comboFields)
            {
                
                  
                   ((RadComboBox)comboField.Content).ItemsPanel = Resources["VirtualizingItemsPanelTemplate
"
] as ItemsPanelTemplate;
                 
            }

<ItemsPanelTemplate x:Key="VirtualizingItemsPanelTemplate">
            <VirtualizingStackPanel />
        </ItemsPanelTemplate>

Thanks

Madani
Maya
Telerik team
 answered on 22 Oct 2012
1 answer
73 views
I have been using Telerik components for long time and have multiple application using different versions of Telerik components. Why you desided to remove old versions without single warning ??????
Best regards.
Biliana Ficheva
Telerik team
 answered on 22 Oct 2012
1 answer
127 views
Hi,

I am binding my GridView to QueryableDataServiceCollectionView<T> to load data from a WCF Data Service.I wanted to disaplay the grid built-in busy indicator when paging/sorting the grid, so I set DataLoadMode to Asynchronous.Paging works fine and the busy indicator is shown when data is being fetched but sorting stopped working.Clicking on the column header does not trigger anything.

MyEntities db = new  MyEntities(Global.DataServiceUri);
            var query = db.Sims;
            QueryableDataServiceCollectionView<Sim> dataContext = new QueryableDataServiceCollectionView<Sim>(db, query);
            dataContext.PageSize = 20;
            dataContext.AutoLoad = true;
            DataContext = dataContext;

<telerik:RadGridView DataLoadMode="Asynchronous" Name="SimsGridView" ItemsSource="{Binding}"    CanUserFreezeColumns="False" 
                            AutoGenerateColumns="False"  MouseDoubleClick="SimsGridView_MouseDoubleClick">

Environment:
VS 2012
RadControls 2012 Q3
.NET 4.5
WCF 5.0


Thanks

Madani
Dimitrina
Telerik team
 answered on 22 Oct 2012
6 answers
374 views
I am Working on customizing a RadGridview and can't seem to find any way to change the height of the grouping panel. I want to make it a little bit smaller. Is there a way to do this built-in to the control? Or maybe even a work around that anyone has found?
 Here is the code that I have now.

<
telerik:RadGridView Name="ExceptionsListBox" 
                                    IsReadOnly="True"
                                    UseLayoutRounding="False"
                                    EnableRowVirtualization="True"
                                    AutoGenerateColumns="False" 
                                    RowIndicatorVisibility="Collapsed"
                                    Background="#FF202020"
                                    RowHeight="20"
                                      
                                    GroupPanelBackground="#FF202020"
                                    GroupPanelForeground="white" 
                                    telerik:StyleManager.Theme="Expression_Dark">
                   <telerik:RadGridView.Resources>
                       <Style TargetType="telerik:GridViewHeaderRow">
                           <Setter Property="MinHeight" Value="15" />
                       </Style>
                   </telerik:RadGridView.Resources>
                   <telerik:RadGridView.Columns >
                       <telerik:GridViewDataColumn DataMemberBinding="{Binding TruckCode}"
                                                   Header="Truck"/>
                       <telerik:GridViewDataColumn DataMemberBinding="{Binding Content}"
                                                   Header="Content" />
                   </telerik:RadGridView.Columns>
               </telerik:RadGridView>

Thanks for any help.
Matt
Top achievements
Rank 2
 answered on 20 Oct 2012
1 answer
131 views
For say a line chart is it possible to tweak the way the Y-Axis grows?  It appears to grow a certain percent every time the highest bin reaches the top of the chart.  Instead I’d like the highest bin to be 85 or 90% of the Y-Axis height at all times so live-data graph is not so jumpy.  A code snippet would be greatly appreciated!

David
Top achievements
Rank 1
 answered on 19 Oct 2012
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?