This isn't a question specifically related to the "Commands and Editors" forum, but since that is the type of control I'm actually doing this with, I figured I would start there...
I'm building a webcontrol that contains a WebMaskEdit control. I'd like to apply my companies pre-defined style preset, but am unsure if that is even possible at runtime from vb / codebehind. I did a couple searches on these forums, but couldn't find any clues. Can someone help me out?
Thanks,
John
Hello John,
You can try programmatically setting the StyleName and StylePath properties very early in the lifecycle of the control, say PreInit or Init, and see if this has any effect. You need to also make sure that the files for the custom style are available in the site where the custom web control is used.