template-control

Design time support for Templated User Controls in VS2008

I've been reading the following article to create a user control with a template: http://msdn.microsoft.com/en-us/library/36574bf6(VS.80).aspx The problem is, during design time, in design mode, I get the error "Usercontrol does not have public property named MessageTemplate". I've tried the suggestions to the comments on the bottom of...

Template control in ASP.NET hiding content from page

I'm writing my own Modal Popup as a template control in ASP.NET. I got two template containers - one for the heading of the window and one for the actual control i want to display in the modal window (let's call it the form control). The form controls can contain server controls like buttons, textbox'es etc. It works well, except when i...

Templates in extended Silverlight controls

Hi all, i am looking to extend a third party control, it is a ComboBox (so it isn't the standard Silverlight one, but that shouldn't matter for this question). To do this, i add a new template control to my controls project, then i change the new control to inherit from ComboBox instead of Control. A style has been created for me in the ...