<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Path=DetailsBAMCollection.VendorName}"
Header
=
"Vendor"
Width
=
"*"
IsVisible
=
"{Binding Path=ColumnData[0].ColumnVisible, NotifyOnSourceUpdated=True, UpdateSourceTrigger=PropertyChanged}"
/>
I'm experiencing a strange behavior: The RadBusyIndicators's content (the yellow circle and the text "Loading...") appears far too late, but the BusyIndicator becomes grey at the right moment. The content (progress bar) appears not until the time-consuming action is over.
Here is what I'm doing in Pseudocode:
MyDialog dialog = new Dialog(); // A Window that contains the BusyIndicator dialog.myRadBusyIndicator.IsBusy = true; // Startup with the BusyIndicator activated dialog.Dispatcher.BeginInvoke(new System.Action(MyLoginAction)); // Start some time-consuming action in the Background dialog.ShowDialog(); // Show the user a Dialog with busy information
Problem: The yellow circle in the BusyIndicator shows up AFTER the time-consuming action is over, but Busy-State (graying) is activated correctly when the Dialog pops up.
Some intricate threading problem?
<
telerik:RadComboBox
BorderBrush
=
"{DynamicResource ControlBorder}"
CanAutocompleteSelectItems
=
"True"
Focusable
=
"True"
FontSize
=
"18"
FontWeight
=
"Bold"
Foreground
=
"{DynamicResource TextForeground}"
Height
=
"32"
HorizontalAlignment
=
"Left"
IsEditable
=
"True"
IsFilteringEnabled
=
"True"
IsTextSearchCaseSensitive
=
"False"
IsTextSearchEnabled
=
"True"
ItemsSource
=
"{Binding Path=RecentUsers, Mode=TwoWay, RelativeSource={RelativeSource AncestorType={x:Type c:LoginForm}}}"
Name
=
"UsersName"
TabIndex
=
"1"
Width
=
"300"
/>
public
static
readonly
DependencyProperty RecentUsersProperty =
DependencyProperty.Register(
"RecentUsers"
,
typeof
(
string
[] ),
typeof
( LoginForm ),
new
PropertyMetadata(
null
) );
public
string
[] RecentUsers {
get
{
return
(
string
[]) GetValue( RecentUsersProperty ); }
set
{ SetValue( RecentUsersProperty, value ); }
}
RecentUsers = DataInterface.GetRecentUsers( 90 );
"adam.st.onge@eoc4.elsagrd.com"
"chris.theet"
"jklepacz1"
"nwhaley"
"rcass"
"tonyb"
"tony.vitabile"
I am using a RadRichTextBox as a Rich Content Viewer. (WPF 40)
What is the correct way to Bind TransitionControl with fadeEffect to a read-only RadRichTextBox (RRTB) control?
There is no user input in this process. (Remote display only)
The RadRichTextBox is loaded from Database with Html from code behind on a seperate thread every 5 seconds.
Is there an example of binding RRTB Data Context to transition, or an example of binding a RRTB Data Template to transition?
Because it’s Read-only, How do I bind the changing Data (with HtmlFormatProvider or RRTB directly)
Or is there a strictly XAML way to bind with declaratives?
I am trying to keep this as simple as possible.
What do I have to do to the following code to add Fade Transition to RadRichTextBox1?
The XAML:
<telerik:RadRichTextBox x:Name="RadRichTextBox1"
IsReadOnly="True"
IsEnabled="True"
IsSelectionEnabled="False"
IsFocusable="False"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Height="595"
Width="1050"
Margin="20,122,0,0">
</telerik:RadRichTextBox>
VB - Code Behind Snippet:
Dim HtmlMsg as String= MSG_TXT.ToString ‘ load HTML from DB
Me.RadRichTextBox1.IsSpellCheckingEnabled = False
Me.RadRichTextBox1.Document = Me.htmlFormatProvider.Import(HtmlMsg)
‘