Telerik Forums
UI for WPF Forum
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
198 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
276 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
460 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
143 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
128 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
153 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
338 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
6 answers
248 views

I'm able to change the default error text, but I want the text to be red. Here is my xaml:

 

 

Thanks for your help.

<xfDashboards:DashboardParameterControlBase x:Class="OneStream.Client.Silverlight.Dashboards.XFCalendarButtonControl"
    xmlns:xfPagesCS="clr-namespace:OneStream.Client.Silverlight"
    xmlns:xfSharedUI="http://onestream.com/sharedUI"
    xmlns:xfDashboards="clr-namespace:OneStream.Client.Silverlight.Dashboards"
    mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400">
 
 
    <Grid x:Name="layoutRoot" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Loaded="layoutRoot_Loaded">
        <Grid.Resources>
            <Style x:Key="calendarStyle" TargetType="telerik:RadCalendar" BasedOn="{StaticResource RadCalendarStyle}">
                <Setter Property="AreWeekNumbersVisible" Value="False" />
            </Style>
 
        </Grid.Resources>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="auto" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="auto" />
        </Grid.ColumnDefinitions>
 
 
        <telerik:RadDatePicker x:Name="DatePicker" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="0" Padding="6,4,6,4"
                           Foreground="{StaticResource DarkBlueTextBrush}" Grid.Row="1" Grid.Column="1"
                           DisplayFormat="Short" DateSelectionMode="Day" ErrorTooltipContent="Enter a valid date"
                           CalendarStyle="{StaticResource calendarStyle}" >
            
        </telerik:RadDatePicker>
    </Grid>
</xfDashboards:DashboardParameterControlBase>
Kathy
Top achievements
Rank 1
Veteran
 answered on 02 Jun 2020
2 answers
128 views

Hello.

We are thinking of upgrading from UI for WPF to DevCraft.UI.

The main driver behind this is to migrate our scheduler application.

So my question is: do I have the same features on the ASP.NET.Core scheduler component?

Is there something I will miss in the net.core component, other than the technology gap?

We make good use of: custom appointment, custom edit template, custom slots with special slot style selector, custom resources, paged list implementation of IPagedCollectionView and RadPager, recurrence, drag and drop, as well as custom filtering and ordering,  and so forth.
Is there something I will miss in the net.core component, other than the technology gap?

Thanks

Vladimir Stoyanov
Telerik team
 answered on 02 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
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?