http://slextensions.codeplex.com/SourceControl/changeset/view/35533#395012

 

OK! I manually copied over Command, CommandService, CommandSusbcription and
some other related EventArgs classes to my project. Following the sample
XAML in their project which binds a Button to a command in the controller, I
wired it all up and clicked the Button...

 

And nothings happens. I've shuffled code around and tried every trick I can
think of to coax it into life, but the command doesn't fire, nothing
happens.

 

I've spent about 5 solid hours of my spare time over the last week trying to
get a SL3 binding from a click event in the control to a method in my
controller. I've waded through hundreds of web pages, I've tried various
versions of DelegateCommand, RelayCommand and now these codeplex extensions.
They all either do nothing, or cause catastrophic exceptions or break the
Blend 3 designer. The closest I came was with RelayCommand, which actually
works at runtime and I get bound method is invoked, but the "Command="
element is not recognised and breaks Blend. 

 

The ever dwindling remaining part of my lifespan is draining away before my
eyes as I spend hours (and days sometimes) trying to make the simplest
things work in Silverlight and WPF. I'm always plugging holes, or finding
workarounds, or searching the web for bizarre techniques or error messages.
I've spent more time f***ing around than I have actually writing productive
code in these platforms over the last 3 years. Attempting to follow the MVVM
pattern has by far wasted the most time recently.

 

Has anyone out there got a simple working example of an SL3 project where a
Button click invokes a method in the controller? I'm at the point of
exhaustion and wondering what else I can do in life.

 

Greg

 

Ps. My video card overheated at 9:30 this morning and died. I had to drive
for an hour to get a replacement on Sunday morning. Now my left monitor has
a quadruple sized mouse cursor that I can't get rid of.

_______________________________________________
ozsilverlight mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight

Reply via email to