Good day to you,
I am using ASP.Net 2.0 with VS 2005. I have created a template page, with a Gridview, Formview, 2 objectdatasources linked to the views, as well as a multiview and a drop-down list for searching.
I have also written a base class that implements all the events that need to be handled. So when I create a new page, I just point to my template, configure the datasources, drop a few textboxes in the formview templates, and there I have a working maintenance screen.
My question is this - how do I go about making this into a custom control? I have no idea which base control to use. How would I "expose" the edit/insert templates for the formview?
Any help will be greatly appreciated, as I have spent almost 5 days trying to get my head around this one.