G
Guest
Are there any possible issues with creating a base class (adding common
properties) for a user control using a class file and not a user control
(.ascx and code-behind) in asp.net 2.0? I have successfully tested using a
class that inherits UserControl and it seems like the best way to go but a
co-worker read somewhere that you shouldn't use a base class for user
controls but to only use another user control for the base class. This
process seems sloppy to me since in the end you have an empty .ascx file that
doesn't seem to do anything.
Thanks!
properties) for a user control using a class file and not a user control
(.ascx and code-behind) in asp.net 2.0? I have successfully tested using a
class that inherits UserControl and it seems like the best way to go but a
co-worker read somewhere that you shouldn't use a base class for user
controls but to only use another user control for the base class. This
process seems sloppy to me since in the end you have an empty .ascx file that
doesn't seem to do anything.
Thanks!