Telerik Forums
UI for WPF Forum
1 answer
444 views
Hi,

I have a problem with the window loading time. I only have a RadGridView with no data connection. Empty window loading time before mapping to data is 0.6s. In Visual Studio, using Performance Profiler, Inoticed that when loading the window, all styles that can be used in the application are parsed. Start time has increased by 0.6s. It is too long for my solution.

Is there a way to prevent the program from loading all the styles at startup?
Vicky
Telerik team
 answered on 30 Sep 2020
1 answer
163 views

Hi,

I'm wondering if there is a way to segment a RadCartesianChart based on specific units of time (minutes, hours, days, months, years).

For example, lets say I select the count of product orders for every month over a 4 year timespan (2012-2015). With that selection, I will have 48 points of data displayed on my line chart. As a user, I would like to view how our order numbers compare on a year-by-year basis, while still seeing the order counts for the specific months. I select an option that specifies Segment = Year. My resulting chart should look like the attached image.

Is something like this possible with RadCartesianChart?

 

Martin Ivanov
Telerik team
 answered on 30 Sep 2020
3 answers
124 views

ScheduleView is not maintaining the point where it was scrolled.

I am facing this issue in such conditions:

1) ScheduleView is scrolled on max amount horizontally.(scheduleview.jpg).

2) CustomRadDocking.DocumentHost>

Sidebar is pinned. Please note width of ScheduleView is changed automatically when sidebar is pinned. (sidebar_pin.jpg)

3) Unpin Sidebar. Now ScheduleView is not scrolled to the max amount. (scheduleview_scroll.jpg)

The layout is like this:

<custom:CustomRadDocking  RetainPaneSizeMode="DockingAndFloating"
Grid.Row="3"
Margin="0"
BorderThickness="0"
Padding="0"
controls:AnimationManager.IsAnimationEnabled="False"
controls:AnimationManager.AnimationSelector="{x:Null}"
CloseButtonPosition="InPane"
DragDropMode="Immediate">

<custom:CustomRadDocking.DocumentHost>

<telerik:RadSplitContainer>

<telerik:RadPaneGroup IsContentPreserved="True"
BorderThickness="0"
Margin="0"
Align="Justify"
AllTabsEqualHeight="True"
DocumentHostTemplate="{StaticResource DocumentHostWithoutBorders}"
Padding="0">
<telerik:RadDocumentPane Visibility="Collapsed"
CanUserClose="False"
BorderThickness="0"
Margin="0"
Padding="0"
Title="Gantt">
<telerik:RadDocumentPane.Content>
<DockPanel x:Name="Schedule_Root">
<AdornerDecorator>
<telerik:RadScheduleView x:Name="ScheduleControl"/>

</telerik:RadDocumentPane.Content>
</telerik:RadDocumentPane>
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</custom:CustomRadDocking.DocumentHost>

<telerik:RadSplitContainer controls:DockingPanel.InitialSize="454,150"
InitialPosition="DockedRight">
<telerik:RadPaneGroup IsContentPreserved="True"
Align="Justify"
AllTabsEqualHeight="True"
Name="ExpandiblePanels">
<telerik:RadPane Header="Sidebar" />

</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</custom:CustomRadDocking>

Dinko | Tech Support Engineer
Telerik team
 answered on 30 Sep 2020
1 answer
195 views

I have the following Slider. The rangeslider thumb does not respect the 0.1 distance between the start and end thumbs, the minimum space is 0 instead of 0.1 as I want.. What am I doing wrong?

<telerik:RadSlider
      x:Name="RadSlider"
      Margin="0,0,0,6"
      VerticalAlignment="Bottom"
      AutoToolTipPlacement="TopLeft"
      DragCompleted="RadSlider_OnDragCompleted"
      IsMoveToPointEnabled="False"
      IsSelectionRangeEnabled="True"
      Maximum="1"
      Minimum="0"
      MinimumRangeSpan="0.1">
      <telerik:RadSlider.Thumbs>
           <telerik:RangeSliderThumb
               x:Name="RangeSliderThumb"
               AlternateThumbStyle="{StaticResource EndThumbStyle}"
               InteractionMode="Lock"
               MiddleThumbStyle="{StaticResource MiddleThumbStyle}"
               MinimumRangeSpan="0.1"
               ThumbStyle="{StaticResource StartThumbStyle}" />
           </telerik:RadSlider.Thumbs>
</telerik:RadSlider>
Yoan
Telerik team
 answered on 30 Sep 2020
5 answers
133 views

Hi,

Can't seem to find the way to set CommandButtonsVisibility from code behind. I'm building a user control with dynamic behavior the DataForm.
In XAML it's easy and working.

Anybody that has an idea?

Thanks in advance!

Kurt

Martin Ivanov
Telerik team
 answered on 30 Sep 2020
1 answer
321 views
Every time I open the RadOpenFiledialog -- whether it be directly or indirectly via the RadFilePathPicker -- The dialog shows files in explorer's "Small Icons" view.  I have to manually change it to "Details" view. 

How can I set this in code when I am opening the dialog?  
Martin Ivanov
Telerik team
 answered on 30 Sep 2020
3 answers
1.0K+ views

Hi Sir,

 

i am working with Navigationview.in this , i have to show different page while clicking menus.for that i created usercontrol.and stored usercontol page name in database.now how to bind that name in content.can user id for reference.give solution sir.

Martin Ivanov
Telerik team
 answered on 29 Sep 2020
5 answers
198 views

Hello,

I'm using the codeblock insert code function.    Sometimes the string that I'm inserting with the API is maybe 200 lines.  It takes a while for it to load.  So far I understand that there really isn't anything I can do to optimize this.  Can you help to provide an example where I can have the RadProgressBar running while the RadRichTextBox is loading the code.    I understand there are two UI threads.  Is it possible and can you help me with an example?

 

The code I'm running is:

   Code_Window.InsertCodeBlock(big_string,
                        new Telerik.Windows.Documents.Model.Code.CodeFormattingSettings(
                            Telerik.Windows.Documents.Model.Code.CodeLanguages.CSharp));

You can set it up on a button click and initialize the string big_string in the call back.  The progress bar can be indeterminate also.  

Martin
Telerik team
 answered on 29 Sep 2020
2 answers
282 views

Good day.

How can I make the columns width adjust automatically. I want the columns to take the full width of the GridView and have it evenly distributed.

Thank you.

gerardo
Top achievements
Rank 1
Veteran
 answered on 29 Sep 2020
3 answers
233 views

Good day.

Is it possible to put the Busy Indicator to other part of my page?

The scenario is I have a page with Grid View at the center. But I want to show the loading/progress at the bottom of my page not at the center where the GridView is placed.

Dinko | Tech Support Engineer
Telerik team
 answered on 28 Sep 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
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?