Quantcast
Channel: CSLA .NET
Viewing all articles
Browse latest Browse all 764

BXF Trigger Action for Silverlight

$
0
0

Hello,

I'm using CSLA 4.5.30 with my silverlight MVVM application. I have a viewModel class deriving from ViewModelBase, which does not have any BeginRefersh() call in my constructor. Calls to BeginRefresh() are event driven.

I am putting BXF Trigger Action for Loaded event of textbox. Method adds RX observer to this textbox but method is never called.

If  use same functionality in some other viewmodel class which has BeginRefresh() call in constructor, then it works.

<bxf:TriggerAction TriggerEvent="Loaded" MethodName="AttachRXObserver" TargetControl="{Binding ElementName=txtBox}"></bxf:TriggerAction>

Please help.


Viewing all articles
Browse latest Browse all 764

Trending Articles