Telerik Forums
UI for WPF Forum
2 answers
174 views
Hi

I am making a WPF application where i use the Microsoft Kinect as a input device.
So if i want to acces my Gridview, i will need buttons to select the row selection to go up and down.
     1.Since i have a Click system with my Kinect device, i only need a system to select the rows?
     2. When i select a row, i want a pop-up window with the details of the row, like NAME, EMAIL, SUBJECT and TEXT.
                - I  have no idea how to do this?            

How can i do this, I found things on your forum that includes RECORDS, but since u dont use them anymore, im struggling to find my way.
This is what i got

 

private void Button_Click(object sender, RoutedEventArgs e)
{
    int i = this.radGridView.Records.IndexOf(this.radGridView.SelectedRecord);
    int nextCurrentIndex = i + 1;
 
    if (nextCurrentIndex < this.radGridView.Records.Count)
    {
        Record nextCurrentRecord = this.radGridView.Records[nextCurrentIndex];
        nextCurrentRecord.IsSelected = true;
    }
}

Pavel Pavlov
Telerik team
 answered on 07 Nov 2011
1 answer
73 views
Hello I'm trying to put a minimum and maximum in the Y but I do not take, attached code and screenshot
<telerik:RadChart Visibility="{Binding visibilidadGraficaBarras, Converter={StaticResource boolToVis}}" x:Name="radChart2"
Width="400" Height="440" ItemsSource="{Binding ListaRespuestas}" >
                                     
<telerik:ChartArea>
<telerik:ChartArea.AxisY>
<telerik:AxisY  MinValue="30" MaxValue="90" Step="10"></telerik:AxisY>
</telerik:ChartArea.AxisY>
</telerik:ChartArea>
                                     
<telerik:RadChart.PaletteBrushes>
<SolidColorBrush Color="ForestGreen"></SolidColorBrush>
</telerik:RadChart.PaletteBrushes>
<telerik:RadChart.SeriesMappings>
<telerik:SeriesMapping LegendLabel="Perfil de puntuaciones T"  >
<telerik:SeriesMapping.SeriesDefinition   >
<telerik:BarSeriesDefinition>
</telerik:BarSeriesDefinition>
</telerik:SeriesMapping.SeriesDefinition>
<telerik:SeriesMapping.ItemMappings>
<telerik:ItemMapping FieldName="Valor"  DataPointMember="YValue"/>
<telerik:ItemMapping FieldName="Tipo" DataPointMember="XCategory" />
</telerik:SeriesMapping.ItemMappings>
</telerik:SeriesMapping>
</telerik:RadChart.SeriesMappings>
</telerik:RadChart>
Nikolay
Telerik team
 answered on 07 Nov 2011
1 answer
97 views
Hello,

1)
Is it possible to get ActualWidth of AxisX?
we can easily find ActualWidth  of Chart area by RadChart1.DefaultView.ChartArea.ActualWidth.
But unable to find ActualWidth   of AxisX.

2)
Is it possible re-template of item label AxisX?



Thanks in advance.

Regards,
Dhaval patel.

Tsvetie
Telerik team
 answered on 07 Nov 2011
1 answer
123 views
Hello,

Using 2011 Q2 RadScheduleView im trying to "Shrink" the size of the month view so that it is smaller and has no scroll bar.I can do this easily for the day and week view using the (Min/Max)TimeRulerExtents but these have no impact in month view.

How can I achieve this functionality?

Thanks.
Konstantina
Telerik team
 answered on 07 Nov 2011
3 answers
117 views
Hello,

I have a gridview bound to an observablecollection( of linq to sql class)
For editing a foreignkey in this class I use a gridviewcombocolumn:
Grid.Columns.Add(New GridViewComboBoxColumn With {
                                             .Header = "PC",
                                             .ItemsSource = vm.PurchaseCodes,
                                             .SelectedValueMemberPath = "",
                                             .DataMemberBinding = New Binding("PurchaseCode"),
                                             .DisplayMemberPath = "DisplayName"})
In this situation the filtercontrol gives an error and also I've the idea that binding like this gives slower performance than binding to "PurchaseCodeID", like this:
Grid.Columns.Add(New GridViewComboBoxColumn With {
                                             .Header = "PC",
                                             .ItemsSource = vm.PurchaseCodes,
                                             .SelectedValueMemberPath = "PurchaseCodeID",
                                             .DataMemberBinding = New Binding("PurchaseCodeID"),
                                             .DisplayMemberPath = "DisplayName"})
But in this situation linq to sql gives a foreignkeyreferencealreadyhasvalueexception.

Do you have any suggestions for my problem?

Thomas




                                          
Pavel Pavlov
Telerik team
 answered on 07 Nov 2011
1 answer
138 views

Please help me to understand how to approach styling the "AutoHide" component of the RadDocking component via Blend. 

 

I have attached 2 screens shots. 

 

The "BaseSS" attachment is the initial view of the Docking component styled up to this point via Blend, and the "AutoHideSS" attachment is the result of selecting "AutoHide" from the pin dropdown menu.

 

When creating the RadDockingStyle for the RadDocking TargetType / there are many references to telerik:Office_BlackTheme which seems to control the presentation for the AutoHideArea Target Type. 

 

I need to know specifically how I should approach styling <ControlTemplate TargetType="{x:Type telerik:AutoHideArea}">  to match up with the styling I have already completed.

// I am assuming I'm correct in thinking this controls the display shown in "AutoHideSS.png"

 

When in Blend I do not get the ability to access this template in the "Edit Additional Templates" menu options.

 

I need to know how to get to this template and if it is not the correct one... if you could point me to the correct template I need to augment.

 

OR if I would be better served editing the Office_BlackTheme resources in the Telerik base files to match up the hex values or if that is even wise / feasible.
Thanks.
Dan

Dani
Telerik team
 answered on 07 Nov 2011
2 answers
106 views
Hello,

I need to change the category of an appointment by the fly without using the dialog. But the ScheduleView will not update visual before switching the view (e.g. switching to next day and return). How can I force an update?

Here my simple code for changing the categories.

foreach (Appointment app in this.dataModel.Appointments)
{                 
     app.Category = (Category)this.myCategoriesHT["CategoryID"];
}
John
Top achievements
Rank 1
 answered on 07 Nov 2011
13 answers
306 views

I get an exception when trying to drag a radpanel with the following layout:

<telerik:RadDocking x:Name="radDocking" Grid.Row="1">
    <telerik:RadDocking.DocumentHost>
        <telerik:RadPaneGroup x:Name="radPaneDocuments">
            <telerik:RadPane x:Name="radPane1" Header="Document 1">
                <TextBlock TextWrapping="Wrap" Text=""></TextBlock>
            </telerik:RadPane>
            <telerik:RadPane x:Name="radPane2" Header="Document 2">
                <TextBlock TextWrapping="Wrap" Text=""></TextBlock>
            </telerik:RadPane>
        </telerik:RadPaneGroup>
    </telerik:RadDocking.DocumentHost>
    <telerik:RadSplitContainer x:Name="radSplitContainer" InitialPosition="DockedLeft" Width="150">
        <telerik:RadPaneGroup x:Name="radGroupMenu">
            <telerik:RadPane x:Name="radPaneMenu" Header="Menu">
                <StackPanel>
                    <telerik:RadButton x:Name="btnCustomers" Content="Customers" />
                    <telerik:RadButton x:Name="btnMachines" Content="Machines" />
                </StackPanel>
            </telerik:RadPane>
        </telerik:RadPaneGroup>
    </telerik:RadSplitContainer>
</telerik:RadDocking>

I don't know what's wrong with the layout.

Thanks in advance.
Miroslav Nedyalkov
Telerik team
 answered on 07 Nov 2011
1 answer
88 views
I installed RADControls on my system today in order to evaluate the ScheduleView, and I just can't get any sample data into Blend. I ended up creating a simplistic view model that just exposes an ObservableCollection<IAppointment> and the generated sample data still causes the designer to crash with a null reference exception. I then copied the data from the demos into the file, but with the same result, so for now, I'm at a loss.

Thanks for your advice
Philipp
Dani
Telerik team
 answered on 07 Nov 2011
2 answers
134 views
Hi,

I have a radtreeview which is filled with a hierarchical datatemplate which contains 2 levels,
when I try to drag a childnode the drag show the toplevelnode, see picture attached.

Am I missing something?

Can you help me?
david
Top achievements
Rank 1
 answered on 07 Nov 2011
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
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?