So, when I drop a RadStatusStrip on my radForm. In that object, I then add a RadWaitingBarElement. Then I change SPRING = TRUE and WAITINGSTYLE = "Dash", all in the properties window. At design time, it looks good. However, at run time, it reverts back to the default bar and just scrolls across the screen. Did I find a bug? Do I need to change other properties of the RadWaitingBarElement? Also, I noticed that when I change the WaitingIndicators in property page, those changes to take affect either. Very confusing and frustrating
We are using Telerik version 2018.3.911.40
this
.radWaitingBarElement1.SeparatorElement.BackColor = Color.FromArgb(122,255,0,0);
this
.radWaitingBarElement1.SeparatorElement.BackColor2 = Color.FromArgb(122,255,0,0);
this
.radWaitingBarElement1.SeparatorElement.BackColor3 =Color.FromArgb(122,255,0,0);
this
.radWaitingBarElement1.SeparatorElement.BackColor4 = Color.FromArgb(122,255,0,0);
Ok, so it seems that the WaitingBarStyle for dash uses different object to set the color of the waiting indicators. wow, so very confusing.
radWaitingBarElement.SeparatorElement.BackColor = Color.Red
as for Indeterminate and Throbber, they both use the "WaitingIndicators" collection's backcolor.
radWaitingBarElement.WaitingIndicators[0].BackColor = Color.Red
Also, Opacity doesn't work with SeparatorElement, you have to use Color.FromArgb(129, 255, 0, 0) to see a transparent color (transparent red), where as the WaitingIndicators, Opacity works. SO, again, a bit confusing
Thanks, this is a bit disappointing, however, workable. I will try these changes and see what happens.
So, I have done this and we can now use dashes. But how do I change the color of the dashes and change the opacity of it? Using the following code doesn't work
this.radWaitingBarElement1.WaitingIndicators[0].BackColor = Color.Red;
this.radWaitingBarElement1.WaitingIndicators[0].Opacity = .75;
This seems to work for the default bar, but not for the dashes. Even if I change every possible indicator to RED and Opacity to .75, those changes do not affect the DASH type waiting bar.
Maybe I am missing something.
Thanks
I have also updated your Telerik points.
Currently, the possible solution that I can suggest is to set the WaitingStyle at run time:
public
RadForm1()
{
InitializeComponent();
this
.radWaitingBarElement1.WaitingStyle = Telerik.WinControls.Enumerations.WaitingBarStyles.Dash;
}
I hope this information helps. If you need any further assistance please don't hesitate to contact me.