locked
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

Answers

  • User461194179 posted

    Hi,

    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

    http://msdn.microsoft.com/en-us/library/aa719735(VS.71).aspx

    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