how to use composite control ? RRS feed

  • Question

  • User-656627144 posted

    Hi ,

       i have a composite control which i have created by deriving a class from compositecontrol class.

     Now how can i use it on asp.net page ??????


    thanx in advance

    Friday, April 25, 2008 8:51 AM


  • User461194179 posted


    Composite Controls are some what similar to User control, so you can use them the same way as user controls. Major difference is Composite Controls generate dll. where as user controls are text files.

    Read it for difference


    Steps include

    1.Add reference to them on aspx page

    2. Use Register directive and Register the control

    3. Add tag and start using it.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, April 25, 2008 9:10 AM