Telerik Forums
UI for WPF Forum
2 answers
137 views
Hi,

Is it possible to modify the appearance of the BulletGraph QualitativeRanges and/or FeaturedMeasure?
I would like to add gradient shading.

  • WPF version:  3.0.6920.4902
            (as per http://msdn.microsoft.com/en-us/library/aa349641.aspx)
  • OS:  Windows 7 Enterprise 64-bit
  • exact browser version:  IE9 v9.0.8112.16421
  • exact version of the Telerik product:  RadControls for WPF v2011.1.419.40
  • preferred programming language (VB.NET or C#):  C#


  • Thank you,
    - Martin
    Martin
    Top achievements
    Rank 1
     answered on 21 May 2011
    4 answers
    573 views
    Hi,

    I am using a RadTreeListView and would like to change template of the row. I have two requirements.
    1) Change expander to plusminus
    2) Change control template of the rows

    I am able to do item 1, by changing presentation mode in HierarchyExpandButtonStyle. It works fine until I try to create a control template for TreeListViewRow. I dont have to change anything to completely mess up the expander button. Even before making any changing to the control template of the rows, as soon as I scroll up and down, each row has a minus sign regardless of whether it is a parent item or not.

    Again, to reproduce, please follow these steps.
    1) Add the following styles to RadTreeListView.....a) HierarchyExpandButtonStyle  b) HeaderRowStyle   and c) RowStyle
    2) You dont have to change anything in any of the styles except the Hierarchy one. Just edit current control template of the RowStyle.
    3) Scroll up and down a couple time and you should see the expander button all over the place.

    I want to edit the row template to do the following. If there is another quick way to do these please let me know
    1) Hide PART_IndicatorPresenter
    2) Hide PART_IndentPresenter
    3) Prevent user from selecting a cell and hence not showing a black border around it. Selection of the whole row is permitted.

    Please help!
    Thank you for your time.
    Vikas

    
    
    Vikas
    Top achievements
    Rank 1
     answered on 20 May 2011
    2 answers
    250 views
    I'd like to respond to the enter key when a row is highlighted.  i.e. select the row using the arrow keys, then hit enter and essentially duplicate the functionality of the doubleclick action grabbing the row.datacontext like so:

    private void GridViewImportTransactions_MouseDoubleClick(object sender, MouseButtonEventArgs e)
            {
                FrameworkElement originalSender = e.OriginalSource as FrameworkElement;
                if (originalSender != null)
                {
                    var row = originalSender.ParentOfType<Telerik.Windows.Controls.GridView.GridViewRow>();
                    if (row != null)
                    {
                        //MessageBox.Show("The double-clicked row is " + ((PacerImportTransaction)row.DataContext).ID);
                        RawDataWindow _rawDataWindow = new RawDataWindow(((PacerImportTransaction)row.DataContext));
                        _rawDataWindow.ShowDialog();
                    }
                }
      
            }

    how do I do that?

    Jonathan
    Jonathan
    Top achievements
    Rank 1
     answered on 20 May 2011
    7 answers
    707 views
    Hi,

    We have just downloaded the latest release (2011 Q1 .NET 4.0), however intellisense cannot find RichTextBox. The reference to Telerik.Windows.Controls.dll (version 2011.1.315.40) is already added.

    Error in Visual Studio 2011:
    The tag 'RadRichTextBox' does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation'.


    Please advice. Thanks!
    Joel
    Top achievements
    Rank 1
     answered on 20 May 2011
    2 answers
    1.0K+ views
    Hello,

    I associated a contextmenu with a text box.. When "RightClick" on it, the contextmenu opens correctly as expected. I would like to open it in code-behind, let's say when user type CTRL+SPACE for instance or when the user clicks a button beside the textbox.

    How to achieve this with radContextMenu?

    Thanks in advance for your answer.
    regards
    --
    Eric
    Eric
    Top achievements
    Rank 1
     answered on 20 May 2011
    1 answer
    85 views
    According to the documentation here, to get the RadTreeViewItem so that you can dynamically set the context menu, you need to add a handler for the Opened event and retrieve it like so:

    RadTreeViewItem item = ((RadContextMenu)sender).GetClickedElement<RadTreeViewItem>();

    We have an application using RadDocking with the RadTreeView in a RadPane.  It works with the pane pinned but if I unpin the pane and right click, GetClickedElement returns null.  Here's some simple XAML to recreate it:

    <Window x:Class="DockingTreeViewContextMenu.MainWindow"
            Title="MainWindow" Height="350" Width="525">
        <Grid>
            <telerik:RadDocking>
                <telerik:RadDocking.DocumentHost>
                    <telerik:RadSplitContainer>
                        <telerik:RadPaneGroup>
                            <telerik:RadDocumentPane Header="Content"></telerik:RadDocumentPane>
                        </telerik:RadPaneGroup>
                    </telerik:RadSplitContainer>
                </telerik:RadDocking.DocumentHost>
                <telerik:RadSplitContainer>
                    <telerik:RadPaneGroup>
                        <telerik:RadPane Header="Pane 1">
                            <telerik:RadTreeView>
                                <telerik:RadContextMenu.ContextMenu>
                                    <telerik:RadContextMenu Opened="RadContextMenu_Opened">
                                    </telerik:RadContextMenu>
                                </telerik:RadContextMenu.ContextMenu>
                                <telerik:RadTreeViewItem Header="Item #1">
                                    <telerik:RadTreeViewItem Header="Item #1.1"></telerik:RadTreeViewItem>
                                    <telerik:RadTreeViewItem Header="Item #1.1"></telerik:RadTreeViewItem>
                                    <telerik:RadTreeViewItem Header="Item #1.1"></telerik:RadTreeViewItem>
                                </telerik:RadTreeViewItem>
                                <telerik:RadTreeViewItem Header="Item #2" />
                                <telerik:RadTreeViewItem Header="Item #3" />
                            </telerik:RadTreeView>
                        </telerik:RadPane>
                    </telerik:RadPaneGroup>
                </telerik:RadSplitContainer>
            </telerik:RadDocking>
        </Grid>
    </Window>


    So if I slide out the pane and right click the tree node, I get a null result whereas I get the RadTreeViewItem when the pane is pinned.  I'm I using the control incorrectly?
    Petar Mladenov
    Telerik team
     answered on 20 May 2011
    3 answers
    286 views

     

    Hello,
    is it possible, in SchedulerView Control , too bind a context menu to an appointment?
    Josef
    Hristo
    Telerik team
     answered on 20 May 2011
    4 answers
    129 views
    Hi guys n gals,

    I have a RadDocking control...
    <telerik:RadDocking Grid.Row="1">
       <telerik:RadDocking.DocumentHost>
           <telerik:RadSplitContainer>
               <telerik:RadPaneGroup>
                   <telerik:RadDocumentPane Header="{Binding Path=CurrentInstance.Name}" CanUserClose="False">
                       <View:InstanceEditorView />
                   </telerik:RadDocumentPane>
               </telerik:RadPaneGroup>
           </telerik:RadSplitContainer>
       </telerik:RadDocking.DocumentHost>
    ...
    </telerik:RadDocking>
     
    ...

    The InstanceEditorView is basically a StackPanel with 3 GroupBoxes stacked vertically.
    Each GroupBox has a few RadMaskedTextBoxes (to provide just Watermark functionality).
    When I mouseover the RadMaskedTextBoxes the RadDocumentPane flickers between the RadMaskedTextBox's hover and normal states (ie same colours - hint?).

    I am using the Q1 2011 SP1 build and the ExpressionDark theme.

    Any ideas how I can get rid of it?  Not really very keen on restyling the RadDocumentPane Header...
    Tina Stancheva
    Telerik team
     answered on 20 May 2011
    0 answers
    72 views


    Hello,


    Can you please tell me, how to bind the two types of object details in the Grid View using Data Table as ItemsSource?


    For example:


    I have a Class A which has property A1, A2 and Class B which has property B1 and B2.


            public class A

            {

                public string A1 { get; set; }

                public string A2 { get; set; }

            }

            public class B

            {

                public string B1 { get; set; }

                public string B2 { get; set; }

            }

    I would like to display all the properties from Class A and one property (i.e. B1) from Class B as shown in below.

           //======================

           //  A1  |  A2   | B1

           //======================

           //   a1  | a2    | b1


    How could we achieve this without creating View Model?


    Thanks, 
    Thanga

    Thangalskhmi
    Top achievements
    Rank 1
     asked on 20 May 2011
    0 answers
    108 views
    Hello,

    I am using NumericUpDown control in myproject.I am having issue when I was trying to delete the value in control using delete button in keyboard,it is not deleting.....can you please help on this.

    Cheers,
    Rajesh.
    Gudla
    Top achievements
    Rank 1
     asked on 20 May 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
    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
    Bohdan
    Top achievements
    Rank 3
    Iron
    Iron
    Iron
    Rob
    Top achievements
    Rank 3
    Bronze
    Bronze
    Iron
    Elliot
    Top achievements
    Rank 1
    Iron
    Iron
    Iron
    Sunil
    Top achievements
    Rank 1
    Cynthia
    Top achievements
    Rank 1
    Iron
    Iron
    Iron
    Want to show your ninja superpower to fellow developers?
    Top users last month
    Bohdan
    Top achievements
    Rank 3
    Iron
    Iron
    Iron
    Rob
    Top achievements
    Rank 3
    Bronze
    Bronze
    Iron
    Elliot
    Top achievements
    Rank 1
    Iron
    Iron
    Iron
    Sunil
    Top achievements
    Rank 1
    Cynthia
    Top achievements
    Rank 1
    Iron
    Iron
    Iron
    Want to show your ninja superpower to fellow developers?
    Want to show your ninja superpower to fellow developers?