Custom Required TextBox Control

I am wanting to make a custom control that combines the TextBox web control with a required field validator. I remember seeing this tutorial on the web before. Does anyone know a link to the tutorial? If not, I have set the points high if anyone wants to post a few pointers.

Basically I am looking for

<myControl:RequiredTextBox /> This would be all functionality of a textbox combined with the functionality of the requiredfieldvalidator for THIS specific field.

Thanks much,
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
i have done this .. i build a custom web control by inherited from textbox .. it has a boolean property called "Mandatory" which the user can set .. if set to true, then i add a required validator and attach it to this textbox .. i also use a summary validator to show the error as a messagebox .. i also have other properties using which the user can configure the error message etc ..

clickclickbangAuthor Commented:
Thanks for the links and idea...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.