I want to learn how to write my own custom web controls. Could anyone suggest good starting points? I am reasonably fluent in C# and its web controls and I understand the basics of how computer graphics are drawn. I don't know anything about GDI or GDI+ or programming components to integrate into the VS toolbar.
After I have determined the HTML and JavaScript that need to be generated for the browser, how do I write the C# code to generate it. I also need to code complex databinding (multiple tables bound by relations). I want to allow other programmers to access the control via the VS toolbox, manipulate it with the mouse via the GUI, and set properties, just like the default controls that come with VS.
The first control I want to write is a grid-style control, but different enough from the DataGrid that I can't derive from DataGrid. My second control would be a splitter control that would require a fair amount of graphics programming for design behavior in the VS GUI.
The only books I found were,
"Developing .NET Custom Controls and Designers Using C#" by James Henry, et al
"User Interfaces in C#: Windows Forms and Custom Controls" by Matthew MacDonald
comments on these books or other suggestions would be welcome.
David S. Alexander
Kettley Publishing
20271 SW Birch Street, 2nd Floor
Newport Beach, CA 92660-1752