Asp.Net - UserControl - Inherit from MasterPage

Posted by Melursus on Stack Overflow See other posts from Stack Overflow or by Melursus
Published on 2010-06-15T00:24:43Z Indexed on 2010/06/15 0:42 UTC
Read the original article Hit count: 255

Is it possible for an user control (ascx) to doing something like herit from a MasterPage ?

My point is, in one of my user control (only use by one kind of MasterPage), I would like to use an <asp:content> tag, but I can't, I can only in the page that use that user control...

So, I have to repeat some code into each of the page that use that user control...

© Stack Overflow or respective owner

Related posts about c#

Related posts about usercontrols