Telerik Forums
UI for WPF Forum
1 answer
120 views

Hello!

Tell me how to redraw the graph without blinking.

Now after SetValue() "No series added" is displayed first, then a new series.

Thanks.

Dimitar
Telerik team
 answered on 22 May 2020
1 answer
92 views

Hallo,

I use DragDropManager to drag & drop items between RadListBoxe A and RadListBox B. It works good. But it will cause the program crashed when I try following:

Because the RadListBox B is not allowed to have TWO items on the same time, so existing item must be "swap" by new one. I remove the existing item and replaced by new one via code. It works good only when it drops under existing item. And, when I drop the new item before the existing item, the program will be crashed by NullReferenceException,  I found the exception caused by  DragDropBehaviour<TSTate> class. See screenshots provided.

Please, solutions, urgent.

Tam

 

Martin Ivanov
Telerik team
 answered on 22 May 2020
1 answer
156 views

Hello Telerik Team,

How can I resize both thumbs in the slider?
I added a picture, where you an see it better.

I tried with changing width of ThumbStyle, which causes troubles. I cant move the bar completely to the left or right.

Thanks.

Vicky
Telerik team
 answered on 22 May 2020
1 answer
103 views

Hello,

Is there a way to remove only the 'AND' section in the grid view`s column filter?

Vladimir Stoyanov
Telerik team
 answered on 22 May 2020
5 answers
165 views

Hi:

   1.  How can I create a TOC with links that can go to its source section when I use Ctrl+click?

   2.  How can I create a TOC that ignores the previous pages (for example  : the first three pages)?

   3.  why I created a TOC ,when the document exported to a pdf file, something changed(see the attach files )

Martin
Telerik team
 answered on 21 May 2020
4 answers
104 views

I am not sure this is the place, but it's driving me crazy.

In my xaml code, when I click the code for RadComboBox, I get a popup (see attached image).

If I click the popup I am sent to the design view (see attached). When I click the xaml tab I am redirected back to the design view after seeing the xaml code for a split second.

Does anyone know waht it might be that is causing this behavior?

 

Thanks in advance!

Fredrik
Top achievements
Rank 1
Veteran
Iron
 answered on 21 May 2020
6 answers
113 views

Hi,

we are following all the tips from https://docs.telerik.com/devtools/wpf/controls/radgridview/performance/tips-tricks but we only get a poor performance when filling the grid.

Do you have any further tips for me? I can send a sample app to showcase our problem.

 

Greetings

Andre

Dinko | Tech Support Engineer
Telerik team
 answered on 20 May 2020
1 answer
188 views

I do not know if I have defined question correctly, sorry for my lack of experience. Application I work on have a TreeView that is connected to data source. Data is hierarchical. There are root element and every root element can have children. Any children can have multiple other children. I have figured out how to data bind and show hierarchical data. Problem is that I need to style treeview items. I have figured out how to set itemtemplate on root and children in xaml. But now I have two copies of item template. One in ItemTemplate and another in its's hierachical item template. But they are identical, as I understand MVVM this could be an issue when I try to implement something more complex. Is there some elegant way to have this defined in one place and then shared on item template root and then it's children?

Here is the code of my TreeView in XAML:

<HierarchicalDataTemplate x:Key="HostsTemplatekey" ItemsSource="{Binding Children}"  >
                <StackPanel Orientation="Horizontal"  telerik:RadContextMenu.ContextMenu="{StaticResource TreeViewContextMenu}" >
                    <iconPacks:PackIconFeatherIcons Kind="Trash2" Width="20" Height="20" Visibility="{Binding Converter={StaticResource FileTypeToIconPackVisibilityConverter}, ConverterParameter= 3}" />
                    <TextBlock Width="10" />
                    <Grid>
                        <TextBlock Text="{Binding cityname}" VerticalAlignment="Center" FontSize="{StaticResource BaseCaptionFontSize }" />
                    </Grid>
                </StackPanel>
 
                <HierarchicalDataTemplate.ItemTemplate>
 
                    <HierarchicalDataTemplate ItemsSource="{Binding Children}"  >
                        <StackPanel Orientation="Horizontal"  telerik:RadContextMenu.ContextMenu="{StaticResource TreeViewContextMenu}">
                            <iconPacks:PackIconFeatherIcons Kind="Trash2" Width="20" Height="20" Visibility="{Binding Converter={StaticResource FileTypeToIconPackVisibilityConverter}, ConverterParameter= 3}" />
                            <TextBlock Width="10" />
                            <Grid>
                                <TextBlock Text="{Binding cityname}" VerticalAlignment="Center" FontSize="{StaticResource BaseCaptionFontSize }" />
                            </Grid>
                        </StackPanel>
 
                    </HierarchicalDataTemplate>
                </HierarchicalDataTemplate.ItemTemplate>
            </HierarchicalDataTemplate>
             
             
                <telerik:RadTreeView
                            Name="dgCities" Margin="10"
                            ItemsSource="{Binding data.CitiesCollection}"
                            IsEditable="True"
                            ItemTemplate="{StaticResource HostsTemplatekey}"
                            SelectedItem="{Binding data.SelectedCity, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
                            IsDragDropEnabled="True"
                            />

 

 

 

Vladimir Stoyanov
Telerik team
 answered on 20 May 2020
1 answer
162 views
In the native Microsoft.Win32.OpenFileDialog, there is a property called CheckFileExists, which can be set to false to allow you to choose a file that doesn't exist from the open dialog for being able to make new files. But RadOpenFileDialog seems to require a file to exist and I'm not seeing an equivalent for this in RadOpenFileDialog. Is there an equivalent or some way to get this behavior?
Dinko | Tech Support Engineer
Telerik team
 answered on 20 May 2020
1 answer
142 views

I have different shapes which I drag from toolbox to diagram.

For example:

-Shape.name1 

-Shape.name2

-Shape.name3

What I want to do is on the diagram:

Move Shape1 to shape 2. So, Shape 1 bottom is connected to shape 2 top. (without connectors)

Shape 3 top should be only allowed to dock on shape 2 bottom.

All shapes have the same size.

Can anybody provide me some code examples for this?

fewfew
Top achievements
Rank 1
 answered on 20 May 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
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?