Telerik Forums
UI for WPF Forum
1 answer
94 views
<p>HI;</p><p>EntityFrameworkCoreDataSource is ready for production? Can I download it?</p>
Martin Ivanov
Telerik team
 answered on 17 Nov 2022
1 answer
267 views

Hi

I'm getting error in the VS2022 designer when I click on a RadComboBox.
It shows a busy cursor and then a dialog with the message "XAML designer is busy"

When I cancel the dialog it shows a message that an unhandled exception has occurred with the option to reload the designer.
The only way to make the RadComboBox clickable is to switch on "only display platform controls"
Then it shows a generic looking control in the place of the RadComboBox

This is happening on version 2022.3.1109 but was also happening on 2022.2.621

Is this something you can fix? or is the problem something that you have to wait on Microsoft for

Thanks
Paul Mc

 

Dilyan Traykov
Telerik team
 answered on 16 Nov 2022
1 answer
131 views

I am using RadTabItem s. One of them has a RadGridView. EnableRowVirtualization on the grid is set to true as it is by default.

When you change to another tab then change back to the tab with this grid, it is very slow. I am testing with about 2,000 rows. I set EnableRowVirtualization to false and loading and clearing the grid is a little slower, but it's quicker to switch back into the tab with the grid.

It seems to me that switching in and out of this tab when row virtualization is enabled, the grid is disposing and reloading the rows. Loading and clearing the grid with virtualization enabled is faster, but changing tabs is significantly slower than when it's disabled.

I have looked through all the attributes of RadGridView and tried setting a few of them with no luck.

I am trying to figure out if there is some setting/attribute for the RadGridView or RadTabItem I can configure to have tabbing as quick and it is when row virtualization is disabled.

Martin Ivanov
Telerik team
 answered on 16 Nov 2022
11 answers
4.9K+ views
I have a CSV file with Dates ("MM/DD/YYYY"). I wish to parse these values within the active worksheet as string values, but they're converted to number format (i.e. "22532"). I'm unable to get these values in the original string format.

Is it possible to ensure all cell values are in String format, representing exactly how they are in a CSV file?
Christopher
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 15 Nov 2022
1 answer
1.1K+ views

When inserting image to Richtextbox editor (UI for wpf demo application) through insert image command from Ribbon menu and save document as .rtf. Generated document size is more than (almost twice) of inserted image.

To reproduce this issue, insert any image (sample attached) and save as .rtf. When comparing document size with image size.

Image size is 2.94 MB

.rtf document size is 5.89 MB.

When I open image editor to resize image, I noticed that current image size is 51.5 MB (screenshot attached). Is this correct image size?

 

Another issue I found in Richtextbox editor is that pasting image from clipboard is not working. Same can be reproduced in demo app.

Is there work around to reduce the image size when inserting image from clipboard or inserting image. Also how I can enable paste image from clipboard.

Current behavior generates large .rtf document, which If import to wpf richtextbox editor or MS word then application hangs.

 

 

Dimitar
Telerik team
 answered on 15 Nov 2022
0 answers
114 views

When I create a MapPolygon and then I call SetView with the GeoBounds I get the correct zoom and center.

var polygon = new MapPolygon
{
    Points = points,
    ToolTip = toolTip,
    ShapeFill = new MapShapeFill
    {
        Stroke = new SolidColorBrush(Colors.Blue),
        StrokeThickness = 2,
        Fill = new SolidColorBrush(Color.FromArgb(0x5A, 0x80, 0x80, 0x80))
    }
};
RadMap.SetView(polygon.GeoBounds);

But when I create a MapEllipse and call SetView I get ZoomLevel = 1 and I don't understand why

var ellipse = new MapEllipse
{
    Width = (double)radius * 2,
    Height = (double)radius * 2,
    Stroke = new SolidColorBrush(Colors.Blue),
    StrokeThickness = 2,
    Fill = new SolidColorBrush(Color.FromArgb(0x5A, 0x80, 0x80, 0x80)),
    Location = points.ElementAt(0),
};
MapLayer.SetHotSpot(ellipse, new HotSpot { X = 0.5, Y = 0.5 });
RadMap.SetView(ellipse.GeoBounds);

Would appreciate help

Ohad
Top achievements
Rank 3
Bronze
Iron
Iron
 updated question on 15 Nov 2022
4 answers
117 views

Hi,

I find this article about the Validation Tooltip being clipped when using the Material theme.

I'm experiencing the same issue with the Windows 11 theme. Is the Win11 theme not using the tooltip element either ?  The themes looks pretty close to each other so... is Win11 an extension of Material ? 

Thank you for your help.

 

Romain
Top achievements
Rank 2
Iron
Iron
 answered on 14 Nov 2022
1 answer
141 views
I have a two items in radtimeline for example item 0 and item 1. Both Items are 4 week long duration. Our radtimeline is also a week display for each month. Now Item 1 overlaps item 0 from 3rd week, in this scenario item 1 is not visible on timeline(there are many items on timeline apart from items discussing). Now item 1 will only be visible when I horizontally scroll the timeline view to start from item 1's start date. I have not included MinimumItemGap attribute to my timeline. 

Can we have a understanding regarding the attribute and why such scenario is occurring?
Martin Ivanov
Telerik team
 answered on 14 Nov 2022
1 answer
113 views

HI:

In the CloudUpload demo it uses a local service provider based on api.everlive.com but this link is broken. How can I run the demo? also how can I create the asp.net api to have it locally?

api.everlive.com

Martin Ivanov
Telerik team
 answered on 14 Nov 2022
1 answer
131 views

I use a RadCartesianChart3D for displaying a 3D graph. For copying this graph to Clipboard, I render the view model again and copy it to the Clipboard. But that copy does not contain the axis labels.

I use the following code to copy the view model to Clipboard:

            var data = new DataObject();

            var bitmap = RenderToBitmap(this);
            if (bitmap != null)
            {
                data.SetData(DataFormats.Bitmap, bitmap);
            }

            Clipboard.SetDataObject(data);

And RenderToBitmap is as follows:

        public BitmapSource RenderToBitmap(object viewModel, double dpi = 300.0)
        {
            var element = new Border()
            {
                Child = new ContentControl()
                {
                    Content = viewModel,
                },
                Background = new SolidColorBrush(Colors.White),
            };

            element.Measure(new Size(double.PositiveInfinity, double.PositiveInfinity));
            element.Arrange(new Rect(element.DesiredSize));
            element.InvalidateVisual();
            element.UpdateLayout();

            var target = new RenderTargetBitmap((int)(element.ActualWidth * dpi / 96.0), (int)(element.ActualHeight * dpi / 96.0), dpi, dpi, PixelFormats.Default);

            target.Render(element);

            return BitmapFrame.Create(target);
        }

 

Why is the copy not containing the axis labels?

Martin Ivanov
Telerik team
 answered on 11 Nov 2022
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
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
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?