Telerik Forums
UI for WPF Forum
3 answers
160 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
218 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
159 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
350 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.1K+ 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
399 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
309 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
273 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
2 answers
998 views

Can I manually refresh or update a TreeView from my ViewModel?

I have a TreeView whitch is connected to a multiple level Dictionary.

Each branch in the TreeView has a number on it. The number represents the number of notes added to the branch combined with the number of notes on the branches below.

When I remove or add a note on a branch the number on the branch is updated.

How ever the number on the branches above it are not updated, even though I refreshed the whole dictionary (all the parents and children).

Thanks in advance!

Fredrik
Top achievements
Rank 1
Veteran
Iron
 answered on 28 Sep 2020
4 answers
951 views
How to get selectedIndex of the gridview
Joseph
Top achievements
Rank 1
 answered on 23 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
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
+? 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?