Author: davidgoss | Posted on: 8/4/2010 7:55:43 AM | Views : 308

Hi
Using: ASP.NET 3.5, C#
I'd like to create a new server control to use in my project. Basically, it should work and behave in exactly the same way as asp:TextBox except that the type attribute on the HTML input element it generates should not be "text" but a different value (I actually intend to create several controls for several different type attributes).
So (by the way I have very little programming experience), I'm thinking I need to get the source code for the asp:TextBox control and base my new control on that, then modify the source so it outputs with my desired type attribute.
Can anyone steer me in the right direction for this?
PS having already spent a great deal of time testing and on forums, there is no way to override the type attribute on the standard control.
Thanks
...

Go to the complete details ...