K
Karl
I'm using Lutz Reoder's .NET Reflector program to browse the source code
for System.Web.UI.WebControls.TextBox.
Looking at this class's Render() method, I had expected to see code that
would actually draw a textbox. No such luck.
1) What code does draw the textbox?
2) What's a HtmlTextWriter? (that's the parameter to the TextBox
Render() method.)
Ultimately, what I would like to do is create a TextBox control that
keeps the insertion point flush right in the text box. Then, as the text
is entered, the insertion point remains stationary, and the text moves
to the left as new characters are inserted.
Can this be done?
Any pointers to get me started?
Can I inherit from TextBox? Or to I have to completely roll my own?
for System.Web.UI.WebControls.TextBox.
Looking at this class's Render() method, I had expected to see code that
would actually draw a textbox. No such luck.
1) What code does draw the textbox?
2) What's a HtmlTextWriter? (that's the parameter to the TextBox
Render() method.)
Ultimately, what I would like to do is create a TextBox control that
keeps the insertion point flush right in the text box. Then, as the text
is entered, the insertion point remains stationary, and the text moves
to the left as new characters are inserted.
Can this be done?
Any pointers to get me started?
Can I inherit from TextBox? Or to I have to completely roll my own?