You
can turn it off via ManualEnableControl property on InvokeMethod. Just
set it to true. You will need to handle validation exception somehow at
that point though.
Sergey Barskiy
Principal Consultant
office: 678.405.0687 |
mobile: 404.388.1899
Microsoft Worldwide Partner of the Year | Custom
Development Solutions, Technical Innovation
From: SouthSpawn
[mailto:cslanet@lhotka.net]
Sent: Saturday, August 29, 2009 9:30 PM
To: Sergey Barskiy
Subject: [CSLA .NET] CSLA SilverLight Question
I notice that when I do the following.
<Button x:Name="CompanyAction_Button"
Content="Update Company" Grid.Column="2"
Grid.Row="10" Width="125" HorizontalAlignment="Left"
csla:InvokeMethod.TriggerEvent="Click"
csla:InvokeMethod.Resource="{StaticResource CompanyDetailsData}"
csla:InvokeMethod.MethodName="Save"><Button>
CSLA will automatically disable the button for me.
So it expects the user to type in something, then "TAB" off for the
control to become enable.
I am a "Mouse" guy.
So if I change something in one of my fields, then use the
mouse directly to try and save the data.
The button still will become disabled.
How do I shut this feature off.
Thanks
Copyright (c) Marimer LLC