R
rua17
I want to create a library of my custom controls, can I create a lot of
controls in one project or I need one project per control?
controls in one project or I need one project per control?
Chris Bower said:Ohh, I see what you mean. When you're building a control like that (by
adding a class library), you (at least as far as I'm aware of) can't design
the control as such. If you're going to inherit from the Button class and
you want to add extra elements, you'll have to do it manually in your code.
The best way to do this is in the CreateChildControls method. You can also
override the Render and RenderChildren methods, etc.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.