Binding a button command from a TemplatedControl

Topics: Prism v2 - Silverlight 3
Jan 30, 2010 at 8:45 PM

Hi. I what to have a base control which have 2 buttons at the bottom (Save, Cancel) and in the remain space to pun the control which inherit. I have made my template and I need to bind the button

<Button Content="Save" cal:Click.Command="{TemplateBinding SaveCommand}" />

I have implemented, import all the necessary things and I'm getting an error:

Line: 56
Error: Unhandled Error in Silverlight Application
Code: 2012    
Category: ParserError       
Message: Unknown attribute Click.Command on element Button.     
File:      
Line: 11     
Position: 74  

Thanks