• Advertisement
Sign in to follow this  

[.net] ASP.NET + Custom (inherited) control

This topic is 4354 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! I want to create and use a custom web control, that is derived from, fro example, the built in Button class. How can i do that? I've written the class: public class menuButton : Button { ... } but i can find no way to insert it into my web form. How should it be done? i was trying to create a user web control, but that looks too complicated for me... and it does not let my custom control be derived from any existing controls, but the Page or UserControl classes ... During this project i will have to create many user controls, which are simply modifications of existing web controls. Thanks in advance!

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
How about this: http://www.codeproject.com/aspnet/textboxwithvalidator.asp

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement