Telerik Forums
UI for WPF Forum
4 answers
227 views
Hi,

we would like to have a simple hierarchical GridView with sub grid that is shown after expanding a row, as usual.
 
The catch is that we want the subgrid in row details to be sharing the same column headers (i.e. columns) with the original parent grid, since the data in the parent and child grids is of same structure. That way we save on introducing another header showing same column headers and the UI becomes cleaner and easier to understand.

Note that functionality like resizing columns should still be working, i.e. resizing both main and sub grids. We are not that concerned about grouping, but I suppose it would be nice for it to still work on the parent grid at least.

What is the best way of implementing this?

Thanks,
Stevo
Dimitrina
Telerik team
 answered on 03 Oct 2013
1 answer
255 views
Hello all,
I want to add and Expand/Collapse button in a WPF RadGridView, could you please tell me if it is possible to do that ?
Thanks in advance
Dimitrina
Telerik team
 answered on 03 Oct 2013
1 answer
460 views
I have a RadSlider from 1 to 10, everything is working the way I want to, but the Slider always starts with a value of 10. I want the default value to be 1. How can I set this up?
Pavel R. Pavlov
Telerik team
 answered on 03 Oct 2013
3 answers
173 views
Is there the ability to put the text outside his shape?
Attached expected vs actual.
Thanks
Manuel
Top achievements
Rank 1
 answered on 02 Oct 2013
2 answers
102 views
Hello,
I derived the DataFormDataField class to return a RadMaskedNumericInput control.  Three problems are readily apparent.

1. The DataMemberBinding does not propagate to the control from the DataFormDataField derivative.
2. The IsReadOnly property is not propagated to the control.
3. The Width property of the DataFormDataField class does not effect the Width of the control.


Here's the code...
/// <summary>
/// Numeric specific <c>DataFormDataField</c>.
/// </summary>
public class DataFormNumericField : DataFormDataField
{
 
    /// <summary>
    /// Returns a control to display and edit the underlying data.
    /// </summary>
    /// <returns><c>Control</c></returns>
    protected override Control GetControl()
    {
        RadMaskedNumericInput ctrl = new RadMaskedNumericInput();
 
        return ctrl;
    }
}

You'll notice below, there is an extension to the DataFormDataField that sets the width of the label portion.  Other than that, it is a standard DataFormDataField derivation.
<amUI:DataFormNumericField x:Name="BatchNumberField"
                           DataMemberBinding="{Binding SelectedBatch.JournalEntryBatchNumber,
                                ValidatesOnDataErrors=True,
                                ValidatesOnExceptions=True,
                                NotifyOnValidationError=True,
                                UpdateSourceTrigger=PropertyChanged}"
                           Label="{x:Static localProperties:Resources.Batch_Number}"
                           Width="163"
                           amUI:DataFormColumn.LabelColumnWidth="80"
                           IsReadOnly="True">
    <amUI:DataFormNumericField.Resources>
        <Style TargetType="telerik:RadMaskedNumericInput">
            <Setter Property="Placeholder"
                    Value=" " />
            <Setter Property="SelectionOnFocus"
                    Value="SelectAll"/>
            <Setter Property="IsClearButtonVisible"
                    Value="False" />
            <Setter Property="AllowSkipPlaceholders"
                    Value="False" />
            <Setter Property="AutoFillNumberGroupSeparators"
                    Value="False" />
            <Setter Property="AutoFillZeros"
                    Value="False" />
            <Setter Property="Mask"
                    Value="#10" />
        </Style>
    </amUI:DataFormNumericField.Resources>
</amUI:DataFormNumericField>

Could you provide an example where these three issues are addressed?

Thanks in advance,
Steve
Steve
Top achievements
Rank 1
 answered on 02 Oct 2013
4 answers
193 views
Hi,
first of all I'm using the MVVM pattern.

In order to get the ActualVisibleRange from my DateTimeContinuousAxis i hooked up to the LayoutUpdated event and passed the axis via the CommandParameter:

<telerik:DateTimeContinuousAxis x:Name="horizontalAxis" LabelFormat="dd.MM hh:mm" LabelFitMode="MultiLine">   
    <i:Interaction.Triggers>
        <i:EventTrigger EventName="LayoutUpdated">
            <i:InvokeCommandAction Command="{Binding LayoutUpdatedCommand}" CommandParameter="{Binding ElementName=horizontalAxis}"/>
        </i:EventTrigger>
    </i:Interaction.Triggers>
</telerik:DateTimeContinuousAxis>


When I apply this pattern to the ChartTrackBallBehavior to pass the Data of the Behavior i got an error:

<telerik:ChartTrackBallBehavior x:Name="trackBallBehavior" ShowTrackInfo="True">
    <i:Interaction.Triggers>
        <i:EventTrigger EventName="TrackInfoUpdated">
            <i:InvokeCommandAction Command="{Binding TrackInfoUpdatedCommand}" CommandParameter="{Binding ElementName=trackBallBehavior}"/>
        </i:EventTrigger>
    </i:Interaction.Triggers>
</telerik:ChartTrackBallBehavior>


Is there an alternative way to pass the data of the ChartTrackBallBehavior to my ViewModel?

Regards Markus
James
Top achievements
Rank 1
 answered on 02 Oct 2013
2 answers
178 views
Hi,

I was looking the chart appearance demo and I want to implement something like that, I am using a RadChart with PieSeriesDefinition, a RadRadialGauge and a RadChart with AreaSeriesDefinition, I can't find how to apply the palette, I also have a RadPolarChart and a RadCartesianChart and I have no problem assigning the palette.

I don't know if for the first 3 charts is not possible assign a palette or it works in a different way.

Thanks,

Alberto
Alberto
Top achievements
Rank 1
 answered on 02 Oct 2013
1 answer
105 views
Hi

I am using a RadWindow as the apps Main window.  What i want to do is create a second Window using RadWindow.Show() which means IsModal = false which is what I want.  However, when I click into the main window the second window stays on top.  How do I get either window to be on top when clicked-in.  The only way I can get the mainwindow on top is by minimizing the second window. I need these two windows to be loosely coupled.

Thanks
Rich
Kalin
Telerik team
 answered on 02 Oct 2013
2 answers
132 views
I have implemented this on a grid that I have, and I have noticed that even if I click and drag the scroll bar to the very bottom, it doesn't show the bottom-most record. I have also noticed this same behavior in your WPF Example for this feature. Is this a known issue?
Vera
Telerik team
 answered on 02 Oct 2013
5 answers
830 views
Dear telerik,

I have to fix a problem in our software and we are using a gridview, which contains articles as items.
Each Item has a deletebutton (only visible for the the selected one), which Command is bound on a DelegateCommand (in the ViewModel). We are using the MVVM-pattern.
This button is only for removing the selected item of the gridview and works fine but when i have more than 16 articles in the grid there is always one or two articles, which I can't delete with the button. The other ones work fine.

The routed method doesn't get called in this times and I don't know why. A Button Click Event always works even when the bound command doesn't work.

I don't know where I have to search this mistake and would like to use the command and not the buttonclick.

Did you ever hear of a problem like this? Could you please help me?

Thanks a lot.


Cheers

Frank  
Maya
Telerik team
 answered on 02 Oct 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
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
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?