Telerik Forums
UI for WPF Forum
1 answer
235 views

Hello,

 

I'm working in an application with the RadGantView. We are using maybe in a special way by puttin multiple event on a same row playing with margins to avoid overlap.

As a result I written a visualization behavior to yield right elements and container selector.

 

That's for the context. Now I'm facing an issue with refresh of the gantt timeline. I can't figure out why it doesn't update after effective changes.

I attach a little gif of the visual I have for now and we can notice that is does not update when wanted. Note that after some wierd manipulation in the application the timeline finally gets updated with the right position.

 

Thanks by advance.

 

Cheers,

Alexandre

Alexandre
Top achievements
Rank 1
 answered on 05 Jun 2020
3 answers
211 views

Lets say we have a program that can search files for specific content and then display searchresults in a RadGridView.

The program uses multiple threads to search through those files.

Our problem here is, that when those threads get many search results the Dispatcher will be flooded with Add-Operations.
This causes massive ui-freezes.

My first approach to solve this issue was to "buffer" those searchresults and only invoke Add-Operations every second.
This is better but still freezing the ui.

So my question here is, is there a recommended way to setup a DataSource for RadGridView for this usecase?
Do I need to do stuff with CollectionViewSource?

LindenauAtSOG
Top achievements
Rank 2
 answered on 04 Jun 2020
6 answers
1.0K+ views

     Good day,

 

Following the instruction in your "Getting Started" section, after just updating the UI for WPF modules, I created a simple MenuItem under my Menu to test it out. 

The code is rather simple:

private void Loadingtest(object sender, RoutedEventArgs e)
        {
            var dataContext = (SplashScreenDataContext)RadSplashScreenManager.SplashScreenDataContext;
            dataContext.ImagePath = "";
            dataContext.Content = "Loading";
            dataContext.Footer = "Please wait, this might take several minutes";
            dataContext.MouseCursor = Cursors.Wait;
            dataContext.IsProgressBarVisible = true;
            dataContext.IsIndeterminate = true;
            if (!RadSplashScreenManager.IsSplashScreenActive) {

                RadSplashScreenManager.Show();
            Thread.Sleep(7000);
            RadSplashScreenManager.Close();
        }

 

Problem is whenever I click that menuitem it performs the 7 second wait and then flashes the loading screen for a moment before closing it again.

Tried it as well in WindowLoaded event as well as a Rendered event, both do the same things.

Tried to do Dispatcher.Invoke, Dispatcher.BeginInvoke as well as a new Tread with a run. All goes the same way. Both in Debug and Release modes. Also, trying to do something like changing the title in between throws an exception about the running thread not being able to access it, as if the whole execution were moved to a new thread after the SplashScreenManager.Show();

 

Example of the one that causes an error:

 

private void Loadingtest(object sender, RoutedEventArgs e)
        {
            var dataContext = (SplashScreenDataContext)RadSplashScreenManager.SplashScreenDataContext;
            dataContext.ImagePath = "";
            dataContext.Content = "Loading";
            dataContext.Footer = "Please wait, this might take several minutes";
            dataContext.MouseCursor = Cursors.Wait;
            dataContext.IsProgressBarVisible = true;
            dataContext.IsIndeterminate = true;
            if (!RadSplashScreenManager.IsSplashScreenActive) {
                RadSplashScreenManager.Show();

            this.Title = "Title Test";
            Thread.Sleep(7000);
            RadSplashScreenManager.Close();
        }

 

Thanks a bunch!

Vladimir Stoyanov
Telerik team
 answered on 04 Jun 2020
4 answers
174 views

I'm using this XAML in a small demo application. 

The RadWizard is not showing up at all with Telerik version 2015.2.728.40, but works fine with version 2015.1.420.45.

I got the xaml from http://docs.telerik.com/devtools/wpf/controls/radwizard/getting-started

I'm trying to figure out *why* this isn't working.

<Window x:Class="Test.Shell"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        mc:Ignorable="d"
        xmlns:csc="clr-namespace:ClientSignatureCapture.Views;assembly=ClientSignatureCapture"
        Title="Shell" Height="700" Width="700">
    <Grid>
        <telerik:RadWizard x:Name="radWizard" >
            <telerik:RadWizard.WizardPages>
                <telerik:WizardPage Content="My Wizard Page Content" />
            </telerik:RadWizard.WizardPages>
        </telerik:RadWizard>
    </Grid>
</Window>

Susmitha
Top achievements
Rank 1
Veteran
Iron
 answered on 04 Jun 2020
1 answer
244 views

Hi,

I have my own popup (class that inherits from System.Windows.Controls.Primivites.Popup) that contains textbox, close button and a RadColorPicker.

The problem is when DropDownContent of RadColorPicker shows, I select color and DropDownContent hides, also with my Popup. It looks like MouseDown event is responsible for color selection, it hides DropDownContent and then MouseUp event hides my popup because mouse is actually out of Popup bounds.

 

Is there any possibility to not pass this event higher when color is selected and just simply close DropDownContent without any further event handling or something?

Ivan Petrov
Telerik team
 answered on 03 Jun 2020
1 answer
439 views
If you have your windows taskbar set to auto hide it won't show when you move your cursor to the edge of the screen when a TabbedWindow is maximized.
Is there a workaround for this or is this a bug that you will fix?
Martin Ivanov
Telerik team
 answered on 03 Jun 2020
2 answers
124 views

Is there anyway to replace the [+]-button in TabbedWindow-control, through AdditionalTemplate or similar. I would like to replace it with 

a splitbutton or dropdown menu.

 

(if the answer involves this article https://docs.telerik.com/devtools/wpf/styling-and-appearance/styling-apperance-editing-control-templates, 

please be specific to what file Im supposed to change in, Im new to Telerik)

 

Thanks in advance

 

 

Martin Ivanov
Telerik team
 answered on 03 Jun 2020
1 answer
114 views

 Hi

Can user set radgridview format? for example set each cell fore &  back color ,font name &  size ,....

I could not find ConditionalFormattingForm for radgrid 2019 

thank you

Vladimir Stoyanov
Telerik team
 answered on 03 Jun 2020
0 answers
140 views

Hello,

I am using a RadCartesianChart plotting a CandlestickSeries. When I zoom in i would like to have it more fit. The candles in the screenshot for example are very small and leave a lot of empty space. What would be the best way to make the candles use all of the available space and when you Increase/Decrease the zoom the candles to adjust accordingly. 

Regards

Marko
Top achievements
Rank 2
Iron
 asked on 03 Jun 2020
1 answer
310 views

Hi, 

I would like to bind my itemsource to my view model using FindAncestor but it fails to find my usercontrol.
ItemSource ="{Binding DataContext.ContextMenuItems, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}"

However, by binding like this, without specifying the data context:

ItemSource ="{Binding ContextMenuItems}"

It binds to my view model properly for the first time and does not bind properly when i reopen the context menu and gives me the object type as its header... 

Martin Ivanov
Telerik team
 answered on 03 Jun 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
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?