By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,960 Members | 2,238 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,960 IT Pros & Developers. It's quick & easy.

Inherite a TextBox control (asp.net)

P: n/a
Hi

I have a simple question, I cant find the solution sofar. I have an
aspx page where I want to use my own custom <asp:CustomTextBox>. How do
I manage that using C# ? I want to inherite the <ASP:TextBoxand add
my own attributes. A simple sample would be sufficient,
thanx

Jaap

Sep 26 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi Jaap,

Developing Custom ASP.NET Server Controls on MSDN:
http://msdn2.microsoft.com/en-us/library/zt27tfhy.aspx

Note, anytime a class in the samples is derived from Control, simply derive your class from TextBox instead. It's really that
simple.

--
Dave Sexton

<jh****@hotmail.comwrote in message news:11**********************@k70g2000cwa.googlegr oups.com...
Hi

I have a simple question, I cant find the solution sofar. I have an
aspx page where I want to use my own custom <asp:CustomTextBox>. How do
I manage that using C# ? I want to inherite the <ASP:TextBoxand add
my own attributes. A simple sample would be sufficient,
thanx

Jaap

Sep 26 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.