Telerik Forums
UI for WPF Forum
0 answers
14 views

RadCircularProgressBar cannot set width and heighth!

What ever height and width I set for the RadCircularProgressBar, the total pane never change its size.

Its so stange, I want a small RadCircularProgressBar, how can i do it? it just keeps its original size.

<telerik:RadCircularProgressBar Grid.Row="3" Grid.Column="0"         
         Maximum="100"  Height="50"
         Value="76" >
    <telerik:RadCircularProgressBar.ColorRanges>
        <telerik:ProgressBarColorRange Color="GreenYellow" Start="0" End="100"/>
    </telerik:RadCircularProgressBar.ColorRanges>
</telerik:RadCircularProgressBar>
Guang
Top achievements
Rank 1
Iron
 asked on 18 Jan 2024
1 answer
19 views

I'm trying to create a file upload or download function to the cloud in WPF.

I heard that this product can upload to the cloud, but I would like to know if it is compatible with all clouds.

I would also like to know the maximum size that can be uploaded.

Martin Ivanov
Telerik team
 answered on 12 Jan 2024
1 answer
45 views

Hi. I have some question.

An exception occurred while debugging the ExecutiveDashboard demo source code.

exception text : 
System.InvalidOperationException: 'An error occurred while processing this request.'
DataServiceTransportException: The request was aborted: Could not create SSL/TLS secure channel.
WebException: The request was aborted: Could not create SSL/TLS secure channel.



An error occurred while downloading and installing the ExecutiveDashboard demo app(setup.exe).

install.log : 
The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [InstallMode] = HomeSite {string}
Property: [NTProductType] = 1 {int}
Property: [ProcessorArchitecture] = AMD64 {string}
Property: [VersionNT] = 10.0.0 {version}
Running checks for package '.NET Desktop Runtime 6.0.1 (x64)', phase BuildList
Checking conditions before installer checks for command 'net6desktopruntime_x64\windowsdesktop-runtime-6.0.1-win-x64.exe'
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'AMD64': false
Result of checking conditions before installer checks for command 'net6desktopruntime_x64\windowsdesktop-runtime-6.0.1-win-x64.exe' is: No action
Running external check with command 'C:\Users\jmkim\AppData\Local\Temp\VSD29A9.tmp\net6desktopruntime_x64\NetCoreCheck.exe' and parameters 'Microsoft.WindowsDesktop.App 6.0.1'
Process exited with code 0
Setting value '0 {int}' for property 'NetCoreCheck'
The following properties have been set for package '.NET Desktop Runtime 6.0.1 (x64)':
Property: [NetCoreCheck] = 0 {int}
Running checks for command 'net6desktopruntime_x64\windowsdesktop-runtime-6.0.1-win-x64.exe'
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'AMD64': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '6.1.0': false
Result of running operator 'ValueEqualTo' on property 'NetCoreCheck' and value '0': true
Result of checks for command 'net6desktopruntime_x64\windowsdesktop-runtime-6.0.1-win-x64.exe' is 'Bypass'
'.NET Desktop Runtime 6.0.1 (x64)' RunCheck result: No Install Needed
Launching Application.
URLDownloadToCacheFile failed with HRESULT '-2146697208'
Error: An error occurred trying to download 'http://demos.telerik.com/wpf/executivedashboard/ExecutiveDashboard.application'.

 

The same problem occurred with the SalesDashboard demo source code and app.

What caused the problem?


Martin Ivanov
Telerik team
 answered on 05 May 2023
0 answers
44 views
We are using RadSemicircleNorthGauge and RadProgressBar, and we would like to update the look and feel, but I don't really know what changes have been made since 2017.   Perhaps there are new controls we should use or updated properties on the existing ones.  Can you point me to the right place to get this information?
Brett
Top achievements
Rank 1
 asked on 29 Mar 2023
3 answers
157 views

Hi,

I am using the following code for progressbar, but when I'm resizing it it clips the progressbar when I reduce the size, but when I'm increasing the size it stretches fine according to the window size but on reducing the size it does not resize itself according to the parent reduced size but instead clips itself.

Please let me know what I am doing wrong in the code, I have to use these colors in my progressbar.

 

Thanks,

Tayyaba Naz

<telerik:RadProgressBar VerticalAlignment="Center" HorizontalAlignment="Stretch" Margin="30" Value="10" Minimum="1" Maximum="10" >
            <telerik:RadProgressBar.Foreground>
                <LinearGradientBrush StartPoint="0, 0.5" EndPoint="1, 0.5">
                    <GradientStop Color="Yellow" Offset="0.3"/>
                    <GradientStop Color="Green" Offset="0.3"/>
                    <GradientStop Color="Green" Offset="0.6"/>
                    <GradientStop Color="Red" Offset="0.6"/>
                    <GradientStop Color="Red" Offset="0.8"/>
                    <GradientStop Color="Blue" Offset="0.8"/>
                    <GradientStop Color="Blue" Offset="0.9"/>
                    <!--<GradientStop Color="Blue" Offset="1"/>-->
                </LinearGradientBrush>
            </telerik:RadProgressBar.Foreground>
        </telerik:RadProgressBar>
Dilyan Traykov
Telerik team
 answered on 04 Mar 2021
2 answers
319 views

Foregroundcolor color of telerik rad progressbar not changing when I set the isindeterminate=true

 <telerik:RadProgressBar x:Name="myProgressBar" Minimum="0" Maximum="100"   Grid.Row="1"
     IsIndeterminate="True"   Foreground="white" HorizontalAlignment="Stretch"  VerticalAlignment="Center"  Margin="5" >
                              

But the color is showing blue..

Peshito
Telerik team
 answered on 12 Apr 2017
9 answers
301 views
Hi,

I want to split the progress bar. i.e Upto particular point i want one color, remaining will be another color.

For example with following code

<

 

 

telerik:RadProgressBar x:Name="pb" Width="220" Height="15" Minimum="0" Maximum="100" Value="10" Margin="40,4,0,4" />

 

 

 

Upto say value=30 i want grey color and above that point i need default color.

Please suggest/provide sample code.

Regards

Sreeju

 

Arvind
Top achievements
Rank 1
 answered on 12 Feb 2017
1 answer
446 views

Hi Team,

Doing hard reboot of the machine (power off by holding the power button and then pwer on again) where our App is running.

Launching the app again after hard reboot is failing with following exception:

Initialization of 'Telerik.Windows.Controls.RadProgressBar' threw an exception.

Exception Source: PresentationFramework

Exception Message: Initialization of 'Telerik.Windows.Controls.RadProgressBar' threw an exception.

Exception StackTrace:  

at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)

at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)

at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)

 at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)

at DomainManagerGUI.DomainGUI..ctor()

at DomainManagerGUI.App.DoLogin(Boolean bIsRedundancyRelogin, Boolean bEvent)

Inner Exception:

----->>>>>

Exception Source: System.Configuration

Exception Message: Configuration system failed to initialize

Exception StackTrace:

at System.Configuration.ConfigurationManager.PrepareConfigSystem()

at System.Configuration.ConfigurationManager.get_AppSettings()

at Telerik.Windows.Controls.ThemeResourceKey.get_ApplicationTheme()

at Telerik.Windows.Controls.StyleManager.SetDefaultStyleKey(Control control, Type controlType)  

at MS.Internal.Xaml.Runtime.ClrObjectRuntime.InitializationGuard(XamlType xamlType, Object obj, Boolean begin)

Inner Exception:

----->>>>>

Exception Source: System.Configuration

Exception Message: Root element is missing (C:\Users\Administrator\AppData\Local\Harmonic,_Inc.\Harmonic.GUI.DomainManage_StrongName_ixapsog5lcwreuscruvj3lgrgpth3ywq\1.0.0.0\user.config)

Exception StackTrace:  

at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)

at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)

at System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)

Inner Exception:

----->>>>>

Exception Source: System.Xml  

Exception Message: Root element is missing.  

Exception StackTrace:

at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)

at System.Xml.XmlTextReaderImpl.ParseDocumentContent()  

at System.Configuration.XmlUtil..ctor(Stream stream, String name, Boolean readToFirstElement, ConfigurationSchemaErrors schemaErrors)  

at System.Configuration.BaseConfigurationRecord.InitConfigFromFile()  

 

We replaced the config file and it worked.

But,

Could you please let us know, what could cause this issue, and how can we prevent this.

 

Thanks,

Piyush

Milena
Telerik team
 answered on 06 Jun 2016
2 answers
98 views

 Hi,

 I was wondering if there was any way the ordinary progress bar could display static markers like the below picture:

 

 

Today it works great but i would not know how to show static markers.
The reason I ask this is for 508 compliance.

 

Pavel R. Pavlov
Telerik team
 answered on 12 May 2015
1 answer
98 views

Hi,

I am developing many widgets on one screen. I have used MVP DP so whether or not to create instances of widgets (maybe based on role) are determined by presenter.

One control is RadHtmlChart:PieSeries which also has <asp:Timer> and the other is RadProgressBar. 
The Timer postbacks the entire page, not just the PieControl which is OK.

This is the presenter.cs code for the PieSeries which correctly repaints the UI when the timer goes off.
The presenter.cs code for the ProgressBar is identical.
However, it only works the first time databind. Every other postback the new "PercentagteValue" is assigned correctly but the control doesn't seem to overwrite it's older value. 

For now i got it to work by declaratively creating the control on the widget page instead of dynamically creating it in the presenter.

I've seen posts on set_value using javascript but was wondering why these two controls act differently?

public async Task GetPieSnapShot()
{
   IEnumerable<PieData> pieResult = await Model.GetPieData();
   PieSeries myPieControl = (PieSeries)LoadControl("~/UserControls/PieSeriesControl.ascx");
   myPieControl.DataSource = pieResult.ToList();
   View.PieWidget = myPieControl;
}

 

 

Pramod
Top achievements
Rank 1
 answered on 04 May 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?