Jump to content
  • Advertisement
Sign in to follow this  
orbano

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

This topic is 4470 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
Thank, but thats not the thing im looking for. Actually, this is, what im trying to avoid :(

Share this post


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

Share this post


Link to post
Share on other sites
ahhhh thats it!! in the afternoon a try that! nice!!!!

a really big THANK YOU for that! :)

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!