C
Chris Fink
I am curious...how do you go about building a new control from scratch? Just
for example, suppose you want to rebuild an asp:textbox control just like the
one provided in the framework, but are not allowed to use the textbox base
class. Is this even possible? This would involve drawing the textbox, then
defining an area where text can be entered into it and handle some basic
events such as OnTextChanged, etc. This example is not practical, but if the
need did arise I am curious as how this can be accomplished? I am given the
impression the sky is the limit in control building and am very interested in
understanding how the .NET team built many of the their own base control
library.
for example, suppose you want to rebuild an asp:textbox control just like the
one provided in the framework, but are not allowed to use the textbox base
class. Is this even possible? This would involve drawing the textbox, then
defining an area where text can be entered into it and handle some basic
events such as OnTextChanged, etc. This example is not practical, but if the
need did arise I am curious as how this can be accomplished? I am given the
impression the sky is the limit in control building and am very interested in
understanding how the .NET team built many of the their own base control
library.