Telerik Forums
UI for WPF Forum
0 answers
63 views
CustomFindReplace, SpellCheckingDialogAttribute classes are not found inside using Telerik.Windows.Documents.UI.Extensibility; after I upgraded the wpf from net framework to net core. It works in my same net framework project.
Sagar
Top achievements
Rank 1
 asked on 28 Jun 2024
1 answer
72 views

Having an issue displaying images in a radRichTextBox. Below is my HTML. 

I have using an HTMLDataProvider to bind to a string that contains this HTML below.

The image does not display, all I get is this little box for the image.

The text all displays fine above it.

 


<head>
<link rel="stylesheet" href="../style.css" /> 
</head>
<p><strong>Section Header</strong></p>

<p><strong>Section Text</strong> This is my Description section</p>

<p><strong>Picture Title</strong></p>
<p><img src="../LocalFolderParent/Images/MyImage.png" alt="Figure 1 - Test 3" /></p>

Stenly
Telerik team
 answered on 28 Jun 2024
4 answers
445 views

After installing release 2022.2.511, the distinct filters of our grid views stopped working.  We are using popup filters in a custom class with both distinct checkboxes and field filters visible.  Clicking on any distinct checkbox and then clicking Apply Filter button would always filter the grid, but after the 2022.2.511 release, clicking on distinct checkboxes and clicking Apply Filter now does nothing but close the filter popup with no effect to the results.  However, if the EnableDistinctValuesFiltering property is set to true, and some text is typed in the distinct search text box, and then the checkbox is checked and Apply Filter is clicked, the filtering works.

Is there some breaking change that was made that we should know about when dealing with distinct filters in the custom popup?  Is there any settings that we can try to help resolve this issue?

Thanks, Bob

Oksana
Top achievements
Rank 1
Iron
 answered on 26 Jun 2024
0 answers
97 views
How is it possible to display main and secondary data records in a RadGridView not using the hierarchy options, but rather to design it in such a way that the main columns extend over the corresponding rows of the secondary data records via RowSpan, whereby both main and secondary data records have multiple columns?
Daniel
Top achievements
Rank 1
Iron
 asked on 25 Jun 2024
0 answers
79 views
I created a new WPF project in Visual Studio 2022 - opened the XAML, dropped a RadButton.  Nothing appeared.  Where did it go?  When I did the same steps in Visual Studio 2019 I see the button all right.
Marianne
Top achievements
Rank 1
Veteran
 asked on 24 Jun 2024
0 answers
80 views
I have an RTB control and I do not want horizontal scroll bar to ever show. When a user inserts or copies in an image, I would like the image to always only ever fill the width of the RTB and never exceed it. Increasing height, is fine, vertical scrolling is acceptable in this instance.

Is this a possibility? I am able to do it with tables.
Patrick
Top achievements
Rank 1
Iron
Iron
Iron
 asked on 24 Jun 2024
0 answers
81 views
I have to react to the RadGridView's LostFocus event with a handler. Unfortunately, I discovered that the event is also triggered at unexpected times. What is particularly surprising is that scrolling with the scroll bar has no effect, but scrolling with the mouse wheel immediately calls the handler. And it does this without clicking the mouse and leaving the control. What could be the reason for this, or how can I get around it? The actual case that should be reacted to is when either another item of it is selected or the entire RadGridView loses focus by focusing on a control outside of it. Simply checking e.OriginalSource.GetType() == typeof(GridViewCell) doesn't help here either, as this is often the case when clicking on another control. And IsScrolling is also constantly false.Does anyone have any ideas?
Daniel
Top achievements
Rank 1
Iron
 updated question on 24 Jun 2024
0 answers
119 views

I created a class with CommunityToolkit.Mvvm package and use ObservableProperty to create properties for this class. But the PropertyGrid  control does not recognize properties created in this way. Are there any way PropertyGrid  can support ObservableProperty?


using CommunityToolkit.Mvvm.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Test
{
    public partial class DrawingModel : ObservableObject
    {
        public string Name { get; set; }

        [ObservableProperty]
        public double _length;


        [ObservableProperty]
        public double _width;

        [ObservableProperty]
        public double _height;
    }
}

Jian
Top achievements
Rank 1
 asked on 24 Jun 2024
1 answer
62 views

Please see attached image. What could be the cause of this? Some Fonts missing?

I'm using StyleManager for Theming.

Stenly
Telerik team
 answered on 20 Jun 2024
2 answers
110 views
I have a XAMLDataProvider that is binding a string property to a RadRichTextBox.

I want to be able to bind the content of the RadRichTextBox to a string (which I have done) and then once a save button is pressed, I need to run some code similar to this.
Telerik.Windows.Documents.FormatProviders.OpenXml.Docx.DocxFormatProvider provider = new Telerik.Windows.Documents.FormatProviders.OpenXml.Docx.DocxFormatProvider();
RadDocument document = new RadDocument(string myXAMLString);
byte[] output = provider.Export(document);

Essentially I need to be able to bind a property from the ViewModel to RadRichTextBox..... which I am doing with XAML data provider.

Then after a save button is clicked, I take the property which is a string and I need to create a RadDocument from the string that represents that and export that document to a byte[].

Is there an easier and better way to be doing this?

Thanks!
Matt
Top achievements
Rank 1
Iron
 answered on 20 Jun 2024
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
TimeBar
Styling
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
Iron
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
Iron
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?