Multiple data-bound controls in one custom control

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • firozb
    New Member
    • Jul 2007
    • 1

    Multiple data-bound controls in one custom control

    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 objectdatasourc es 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.
  • jhardman
    Recognized Expert Specialist
    • Jan 2007
    • 3405

    #2
    moved to .net forum

    Jared, moderator
    ASP forum

    Comment

    Working...