Skinning Custom Control

I was trying to add a skin entry for a custom control that I made, but I kept getting the following error

"The control type 'ASP.controls_customerpicker_ascx' cannot be themed."

Surely I can skin my own control! After research, trial, and errorย I stumbled upon the solution that worked.

Adding the "[Themeable(true)]" attribute to my custom control classย fixed my issue. Yippee!

If you enjoyed this post, please consider sharing it with others via the following Twitter or Reddit buttons. I also have a YouTube Channel with free web development videos that you are welcome to watch and/or subscribe. As always, you can reach out to me on Twitter at @elijahmanor. Thanks and have a blessed day!