Telerik Forums
UI for WPF Forum
1 answer
272 views
Can anyone provide insight as to how to setup the main application's window to expand to full screen and borderless? 
Vladimir Stoyanov
Telerik team
 answered on 14 May 2021
4 answers
225 views

Hello

I have to need to set the background to each row different way also based on some property value changes, I need to change the background of the row as well runtime. I have attached the screenshot, I want a similar row and cell background also those brush values can be changed runtime.

Can someone guide me on how can I achieve this without affecting the performance much?

Thanks in advance.

Parthiv

Dinko | Tech Support Engineer
Telerik team
 updated answer on 14 May 2021
2 answers
459 views

Hey. Is there anyway that I can deploy the application without ClickOnce or any Installation but just copy the compiled file to the client machine?

Our company has very complicated and tedious IT process. The best one to deploy the project is just to copy the app to the client machine and run it.

BTW, it is .net core 3.1 WPF APP.

gary
Top achievements
Rank 1
Iron
 answered on 14 May 2021
1 answer
143 views

Hello

Checked that the designer crashes when setting the DataContext viewmodel in xaml.

Please check the attached file for details. Here is a simple example source.

It also sends an associated link about the occurrence of the exception.
My Post
Feedback Post


Additionally, if you attach the DataContext to the xaml, when the designer crashes, clearing the RadGridView's ItemsSource will bring the designer back to display.


Could you solve this problem?
Thanks.

 

Martin Ivanov
Telerik team
 answered on 13 May 2021
0 answers
408 views

I have a form with a RadGrid control that has its ItemSource set to a collection in my View Model, and it all works

I need to add a GridViewComboBoxColum  to the Grid.   The source will be another collection in the same View Model.

Sounds simple, right?   But I can’t get the ComboBox to appear.

For the examples below:

_vm is a public window variable that is a reference to my View Model.
valuestatus is the collection of values that I want to display in the dropdown.

WL_Dashboard is the class type of the list that is set in theitem source of the grid.

 

<telerik:GridViewComboBoxColumn Name="ValStatusColumn" Header="Val.Status"
   SelectedValueMemberPath
="{Binding Path=ValidationStatus, Mode=TwoWay}"
   IsReadOnly="False"
   HeaderCellStyle="{StaticResource BlueHeaderCellStyle}"
   ItemsSource="{Binding _vm.valuestatus}"
   DisplayMemberPath="valstatus">

</telerik:GridViewComboBoxColumn>

 

 

This does not generate an exception or an error in the output window – but the dropdown does not display

 

If I replace ItemsSource with ItemSourceBinding:

it generates a bunch of errors in the output window and the dropdown does not display:

System.Windows.Data Error: 40 : BindingExpression path error: '_vm' property not found on 'object' ''WL_Dashboard' (HashCode=55939488)'. BindingExpression:Path=_vm._valuestatus; DataItem='WL_Dashboard' (HashCode=55939488); target element is 'RadComboBox' (Name=''); target property is 'ItemsSource' (type 'IEnumerable')

 

The documentation doesn't help me much because there is no itemsSource set on the grid.  It sounds like if use ItemSourceBinding that I need to override the WL_Dashboard setting on the grid for this column - but how?

 

Any idea what I'm doing wrong?  Gotta be something simple that I'm missing here...

 

Thanks in advance for any assistance you can provide.
Lou

Lou
Top achievements
Rank 1
 asked on 13 May 2021
4 answers
222 views

We have two instances of a rad-schedule view, both are displayed as timeline view. When the user drags an appointment from one scheduler and tries to drop the appointment into the other, the start date of the appointment is the same as in the drag-scheduler. Is it possible to set the start-date to the actual mouse-position?

I've tried to do this in our custom drag&drop behaviour, but it is not working.

EDIT

The problem in my cause occurred, because the first scheduler shows appoint that has a minimum duration of one day, the other one has a slot size of 15min. If I now start the drag&drop process by picking the appointment on the right side, it is very hard to point to the expected date and time. What I need is, that the dragged appointment always starts at the mouse cursor.

The black arrow is my mouse cursor, and I want to start the appointment at that position.

Thanks a lot!

Dinko | Tech Support Engineer
Telerik team
 updated answer on 13 May 2021
1 answer
124 views
Hello
How to remove the visibility of lines in specific nodes of a RadTreeView(not root)
Martin Ivanov
Telerik team
 answered on 13 May 2021
1 answer
105 views

I have a RadDocking element in my xaml. I need to add one main button that opens and closes the main menu above the RadDocking element.

The problem is, the RadPane-s that open inside the RadDocking element would go below the button and the title of a given RadPane is hidden.

I want my main button to be above the RadDocking element, but the header/title of all the panes should be at all time visible and not hidden by the button.

I was wondering, can there be some constrained area inside RadDocking tag where RadPanes would not go or cover, so I can place my button above the RadDocking in that area?

Seems a bit non-sense but there has to be a way.

Should I use conditional docking? But how would that work, mark each new pane with a tag and then choose HeaderTemplate with HeaderTemplateSelector whether to add or not, space to the left in the RadPane header?

EDIT:

I maybe need some polygon-like container element that supports direct content. I need to be able to dock on right and below the button but panes should not go below the button and hide their title.

Check attached image.

Here is my modified ControlTemplate:

<ControlTemplate x:Key="RadDockingControlTemplate" TargetType="tk:RadDocking">
                <Grid x:Name="Root">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>

                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="*"/>
                    </Grid.RowDefinitions>
                
                    <Button Width="80" Height="36"  Content="Text" Grid.Column="0" Grid.Row="0"/>
                
                    <Border
                        Grid.Row="0"
                        Grid.Column="1"
                        Grid.RowSpan="2"
                        x:Name="Border"
                        Background="{TemplateBinding Background}"
                        BorderBrush="{TemplateBinding BorderBrush}"
                        BorderThickness="{TemplateBinding BorderThickness}"
                        Padding="{TemplateBinding Padding}">
                        <tk:RadDockPanel x:Name="RootDockPanel">
                            <dock:AutoHideArea x:Name="LeftAutoHide" tk:RadDockPanel.Dock="Left" TabStripPlacement="Left" BackgroundVisibility="Collapsed" TabOrientation="Vertical"/>
                            <dock:AutoHideArea x:Name="RightAutoHide" tk:RadDockPanel.Dock="Right" TabStripPlacement="Right" BackgroundVisibility="Collapsed" TabOrientation="Vertical"/>
                            <dock:AutoHideArea x:Name="TopAutoHide" tk:RadDockPanel.Dock="Top" TabStripPlacement="Top" BackgroundVisibility="Collapsed" TabOrientation="Horizontal"/>
                            <dock:AutoHideArea x:Name="BottomAutoHide" tk:RadDockPanel.Dock="Bottom" TabStripPlacement="Bottom" BackgroundVisibility="Collapsed" TabOrientation="Horizontal"/>
                            <tk:DockingPanel x:Name="ContentDockPanel" Margin="0">
                                <dock:DocumentHost x:Name="DocumentHost" IsTabStop="{TemplateBinding IsTabStop}"/>
                            </tk:DockingPanel>
                        </tk:RadDockPanel>
                    </Border>
                </Grid>
            </ControlTemplate>

 

Vladimir Stoyanov
Telerik team
 answered on 13 May 2021
3 answers
131 views

Hi,

I've noticed the gallery items are scrollable when many items are placed. I was wondering how to make the gallery sections/categories scrollable as well. Sometimes in our application we have so many categories they don't fit.

Kind regards

Martin Ivanov
Telerik team
 answered on 12 May 2021
1 answer
210 views

I've used telerik rad diagram for creating a kind of blue-print system (flow system). In this flow-system we have a lot of nodes and connections. Is it possible to show connections like this?

 

At the moment it looks like this:

I've tried to work with the bezier-connection-type, but that didn't work as expected:

EDIT

Style while drag&drop:

After the drop it looks like this:

 

Thanks a lot!

Benedikt
Top achievements
Rank 1
Iron
 updated question on 12 May 2021
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?