Telerik Forums
UI for WPF Forum
1 answer
156 views

I have a RadSplitButton whose dropdown content is a RadListBox of 3 strings.  They are

  • Item1
  • Item_2
  • Item_3


The user clicks the dropdown, chooses a new string and it becomes the current item.

It works fine until the user clicks an item with the underscore character.   When that happens, the application hangs and the call-stack show it inside of an event handler:  RadSplitButton.CloseAllPopupsToParent.

I noticed also that the name of the item in the button does not show the underscore character.  I figured that this was because I was using a Label control instead of a TextBlock so I changed the ContentTemplate to instead use a TextBlock.  Not only did this make the underscore show, but it also removed the hang.

I understand why the underscore would not show with Label but it should not hang an application.

I've attached a small sample project to illustrate the problem. Start the app, bring up the dropdown and choose the second or third items in the list.  The app will hang.  

Change the ContentTemplate's primitive to a TextBlock and it will not hang in this case.

    Martin Ivanov
    Telerik team
     answered on 20 Oct 2021
    13 answers
    268 views
    Hi,
      I need to do Insertion to RadGridView. when i give my ItemSource Sample objects like Collection of Person with two attributes, it insert.Edit/Delete them fine. but when i give my RadGridView new Object of EDM while Insertion i got Casting error i.e.

    Unable to cast object of type 'Agility.Data.ProcurementRequestDetail' to type 'System.Data.Entity.DynamicProxies.ProcurementRequestDe_347B5DFCA18B3270199DC9CEB41ACCC807E270B79F7DB818FE4DD4F835F1D9AF
    So do guide me how to Use RadGridView With EDM Entities.

    Also this problem is occured when my Object is in Edit mode. but when my Object is new it works fine.
    Daniel Mettler
    Top achievements
    Rank 2
    Iron
     answered on 20 Oct 2021
    1 answer
    175 views

    Hi Guys,

    We're using a behaviour class that is driven by the DragDropManager, hooking into some of the events, namely GiveFeedback and DragOver.

    I'd like to change the cursor to a blocked symbol if the control we're dragging is hovered over another control of the same type.

    Within the GiveFeedback event, we're unable to determine what control we're currently hovering over. Instead we tried using the OnDragOver event, where we are able to establish the current position but unable to change the cursor.

    Is there any other way to change the cursor without the GiveFeedbackEventArgs?

    Thanks

     

     

    Martin Ivanov
    Telerik team
     answered on 20 Oct 2021
    1 answer
    364 views

    Hello,

    I would disable to double-click event to maximize a RadWindow.

    I hope you can help to realize that.

     

    Many thanks

    Stenly
    Telerik team
     answered on 19 Oct 2021
    2 answers
    314 views

    After upgrading to 2021.3, I could not change the accent color from Fluent Theme anymore.

    I've checked and noticed that the problem is with the MaterialAssist, that is not using the color set in the AccentColor of the FluentPalette.

    My code has always been like this:

    FluentPalette.Palette.AccentColor = (Color)dicEntry.Value;

    And it has always worked (I have an old version with the older components and it still works), but now I don't know what to do to fix it.

    Diego Modolo
    Top achievements
    Rank 1
    Iron
    Iron
     answered on 18 Oct 2021
    0 answers
    164 views
    I Want to use telerik RadScheduleView control to build Calendar using WPF and MVVM Framework and Storing appointments data (subject, body, Start, End, ...) in Database (SQL Server). The Problem is, i bult AppointmentModel Class that inherits from Appointment Class and used autmapper to map data from DTO object to AppointmentModel but i receive mapping error despite ignoring such properties. Please let me know if this structure is right and if so, what is the problem 
    Hussein
    Top achievements
    Rank 1
     asked on 17 Oct 2021
    1 answer
    275 views

    I want to change DateTime.Now format like MM/dd/yyyy throughout application. so please help me out.

    Thanks & Regards

    Murugan M

    Dilyan Traykov
    Telerik team
     answered on 15 Oct 2021
    1 answer
    210 views

    Hi,

    I would be happy if you could help me how to download RadBarcodeQR as an image?

    Thanks.

    Martin Ivanov
    Telerik team
     answered on 15 Oct 2021
    1 answer
    185 views

    Hello, I'm using the filtering dropdown window (appearing when clicking the funnel icon) and I want to change the behaviour behind the controls.

    For example : I'd like the filter to apply only when clicking the "Filter" button and not directly when checking the checkboxes, the problem is that I have no idea where to change that.

    Dinko | Tech Support Engineer
    Telerik team
     answered on 14 Oct 2021
    1 answer
    129 views

    The header of the SW is visible but there nothing in the content area, bank white not even the no appointments text.

    Attaching sample project and image

    App.xaml:

     <ResourceDictionary>
                <ResourceDictionary.MergedDictionaries>
                    <ResourceDictionary Source="/Themes/System.Windows.xaml"/>
                    <ResourceDictionary Source="/Themes/Telerik.Windows.Controls.xaml"/>
                    <ResourceDictionary Source="/Themes/Telerik.Windows.Controls.Input.xaml"/>
                    <ResourceDictionary Source="/Themes/Telerik.Windows.Controls.Navigation.xaml"/>
                    <ResourceDictionary Source="/Themes/Telerik.Windows.Controls.ScheduleView.xaml"/>
                </ResourceDictionary.MergedDictionaries>

            </ResourceDictionary>

     

    UC:

            xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" >
        <Grid>

            <telerik:RadScheduleView  >
                <telerik:RadScheduleView.ViewDefinitions>
                    <telerik:DayViewDefinition DayStartTime="8:00" />
                    <telerik:WeekViewDefinition DayStartTime="8:00" />
                    <telerik:MonthViewDefinition />
                    <telerik:TimelineViewDefinition />
                    <telerik:AgendaViewDefinition />
                </telerik:RadScheduleView.ViewDefinitions>
            </telerik:RadScheduleView>
        </Grid>


    Is there anything I am doing wrong?

    Thank you.

    Esh
    Top achievements
    Rank 1
    Iron
     answered on 14 Oct 2021
    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?