c# - Should I use a base class for a method that adds user control to master page -


i have method in content page 2 things: adds user control placeholder on page's master page, , sets properties of user control. make functionality available of pages without repeating code on individual pages.

would base class appropriate here? have no experience base classes. base class master page? content page? guidance appreciated.


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

java - More than one row with the given identifier was found: 1, for class: com.model.Diagnosis -