Is there any way to open a mashup by using a button widget instead of a navigation widget?
The reason why I want to do this is because I want a service to be executed when the user clicks on the widget, but the navigation widget does not have a Clicked event.
Thank you!
Solved! Go to Solution.
That's the right direction, but you don't need a validation widget.
Hidde the Navigation widget, just add a button which on click calls the desired service, and bind the desired service ServiceInvokeComplete to the Navigation Widget and you are done.
Let me try a few things and get back to this thread once I have anything.
You could use a button & validator widget & a navigation widget. The validator is fired by your service invoke completed event. The validator would always return true & the 'true event could be used to fire the navigate on a navigation widget (which you could make invisible).
i.e.
Button clicked --> YourService -->ServiceInvokeCompleted-->Evaluate Validator-->true-->Navigation Widget (navigate).
That's the right direction, but you don't need a validation widget.
Hidde the Navigation widget, just add a button which on click calls the desired service, and bind the desired service ServiceInvokeComplete to the Navigation Widget and you are done.