Telerik Forums
UI for WPF Forum
5 answers
420 views

As stated in http://docs.telerik.com/devtools/wpf/controls/radrichtextbox/getting-started/getting-started I added the below references to my WPF project and a simple XAML declaration of RadRichTextBox and the project builds fine and RadRichTextBox is visible in Visual Tree while debugging but it is not rendered on the screen using both VS 2015 and VS 2017. If I replace it with standard WPF RichTexBox everything works fine. I am unable to find anything on this problem in forums or in documentation so what is the problem here and how to resolve it?

Sample project attached (It's a zip file but it's not allowed so I changed the extension to jpg).

 

Telerik.Windows.Controls
Telerik.Windows.Data
Telerik.Windows.Documents
Telerik.Windows.Documents.Core
Telerik.Windows.Documents.Flow
System.ComponentModel.Composition

Tanya
Telerik team
 answered on 07 Feb 2020
6 answers
139 views

     I am programatically setting the RangeEnd and RangeStart of the scroll bar and moving it dynamically as data comes in. This works fine until you manually move the scroll bar. There is a case where the data is reset and I set RangeStart back to 0 and RangeEnd to a number greater that that (0.25 for example) but the scroll bar stays where it was if the user has touched it. If the user has not touched it the scroll bar resets just fine. I am curious if in the logic there is a setting that prevents setting RangeEnd and RangeStart once the scroll bar has been scrolled manually? If so is there a way to reset it outside of recycling the object?

Maxwell
Top achievements
Rank 1
 answered on 06 Feb 2020
1 answer
429 views
Hi guys!
I´m experiment problems to visualization of controls in my WPF project. Actually I'm working with Visual Studio 2017, but only appear a black screen.
I Attach a picture
Vladimir Stoyanov
Telerik team
 answered on 06 Feb 2020
5 answers
245 views

Hi,

in my radSpreadsheet I do this actions:

- insert an empty row (insertEmptyRow.jpg)

- than copy the hole row (copyRow.jpg)

- than paste it in the first cell of the before inserted row (pasteRow.jpg)

- and than I insert an empty row again --> An Error comes up (errorColumnIndex.jpg)

From this point on my Worksheet has this 16383 columns and I can not get rid of it.

What I tried so far wars:

ControlCenter2.radSpreadsheet.Workbook.ActiveWorksheet.Columns.Remove(200, columns.Count-200);

but this had no effect, all the columns are still visible and scrollable.

When I try to delete this columns in GUI the next error occures: (delCol.jpg, errorNullRef.jpg)

 

Sorry for the german in pics.

Can you help?

 

Using telerik 2018 R2.

 

BR Gert

 

 

Dimitar
Telerik team
 answered on 06 Feb 2020
1 answer
112 views

Hey guys,

 

I like the way the ColumnsSelectionButton looks on the right side of the group panel.  Instead of using it for selection, would there be a way to easily reuse this control to show/hide the associated column?

 

Thanks!

Craig
Top achievements
Rank 1
 answered on 06 Feb 2020
6 answers
568 views

Hello,

We have a performance issue with RadGridView when using telerik's grouping.

For example:

Sorting can take about 4 seconds. while sorting without grouping, lasts less then a second.

The same issue happens when clearing the ItemSource and then use AddRange of several items.

The JetBrains dotTrace shows that most of the time spent in "Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.MeasureOverride(size)"  - 2471 milliseconds. The same operation lasts 79 Milliseconds without grouping.

We defined the gridview with the following:

GroupRendererMode = "Flat"

VirtualizingPanel.IsVirtualizingWhenGrouping = "True"

VirtualizingPanel.IsVirtualizing = "True"

VirtualizingPanel.VirtualizationMode= "Recycling"

EnableRowVirtualization="True"

EnableColumnVirtualization="True"

In addition,  the height and the columns width are fixed size.

We hope you can help us.
Thank you in advance.

 

 

Dilyan Traykov
Telerik team
 answered on 05 Feb 2020
3 answers
450 views

Hi dear Telerik Team,

I have a problem with the positioning as context menu.

I would like to show the menu at mouse position. But it appears somewhere else.
See screenshot. The mouse was over the green box. 
The screenshot is taken from your xaml examples.

Mouse and MousePoint have the same problem.

How can I solve this.

Vladimir Stoyanov
Telerik team
 answered on 05 Feb 2020
6 answers
310 views
I use a very general image creation method to create multiple images for a report.
This method doesn't yet work with RadMap because there are unfinished animations (Zooming, ...(?)) and the OpenStreetMap data isn't loaded and shown yet

Questions:
1) Can I disable the RadMap animations and get an eventcall when the map loading and creation process is finished?
   Or is there even a better way to implement it?
2) Is it possible to use something like a cache for the openStreetMap data during my report creation
3) Is it possible to use the OpenStreetMapProvider offline?


image creation method:
var outerGrid = CreateNewViewAndSetDataContextCreateViewInGrid(myDataContext);
outerGrid.Width = width;
outerGrid.Height = height;
outerGrid.Measure(new Size(width, height));
outerGrid.Arrange(new Rect(0, 0, width, height));
outerGrid.UpdateLayout();
var renderTargetBitmap = new RenderTargetBitmap(
   (int)width,
   (int)height,
   96,
   96,
   System.Windows.Media.PixelFormats.Pbgra32);
renderTargetBitmap.Render(outerGrid);
var bitmapEncoder = new PngBitmapEncoder();
bitmapEncoder.Frames.Add(BitmapFrame.Create(renderTargetBitmap));
return bitmapEncoder;



RadMap Code:
<telerik:RadMap x:Name="Map" MiniMapExpanderVisibility="Collapsed">
    <telerik:RadMap.Provider>
        <telerik:OpenStreetMapProvider x:Name="MapProvider"/>
    </telerik:RadMap.Provider>
    <telerik:VisualizationLayer x:Name="LayerInMap"/>
</telerik:RadMap>


RadMap Code Behind:
this.DataContextChanged += /* set map properties. e.g. fill visualization layer with charts */

Vladimir Stoyanov
Telerik team
 answered on 05 Feb 2020
3 answers
243 views

I'm running into the following issue with RadRichTextBox and the RadRichTextBoxRibbonUI. I have a simple xaml file with just a RadRichTextBoxRibbonUI and a RadRichTextBox. I run the app and type some text in the RadRichTextBox editor. It shows up in the font displayed in the RadRichTextBoxRibbonUI. The problem occurs if I want to change the font of subsequent text. If I go to the font control and change the font, the font control retains focus. If I click back into the RadRichTextBox control to type some text, the font reverts to the font currently in the control and Ignores the font that I had selected in the font control. For comparison, when I do the same thing in MS Word, the editor retains focus so that after you've changed the font you can just start typing and the new text is displayed in the newly selected font. Is there a way to get this behaviour with RadRichTextBoxRibbonUI and RadRichTextBox?

 

Thanks for your attention,

George

Dimitar
Telerik team
 answered on 05 Feb 2020
1 answer
161 views

Can someone please inform me how you can set this type of control either in xaml or code behind to be in TypeOver mode rather than Insert mode?

I have searched the web and can't seem to find anything...

Petar Mladenov
Telerik team
 answered on 05 Feb 2020
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?