views:

17

answers:

0

Hy. I'm using PRISM in Silvelight and I want to create a base control which will have to 2 buttons at bottom (Save, Cancel), and I want in the empty space to put the control which inherit the base one.

I have tried to create a TemplatedControl and set it's style.

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

But at runtime throws me an error:

Error: Unhandled Error in Silverlight Application Code: 2012
Category: ParserError
Message: Unknown attribute Click.Command on element Button.

I added all the references need. If anyone had this problem please propose a solution.

related questions