Tech Off Thread

2 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.


Back to Forum: Tech Off
  • User profile image

    I want to create a component which includes some components

    I  try to describe

    Think about a panel (JUNKPANEL) and inside this panel a label and 4 buttons and a new property contains an integer and a string value

    This is my core item I want to create another panel (ROOTPANEL) contains dynamic array of JUNKPANEL

    After that I want to add a property which defines the count of JUNKPANEL

    I want this component in an webpage by c#

    is it possible ?

    Can somebody help me for this ?

  • User profile image

    Yes it's possible. You should probably create a user control that has your label and four buttons. Then, just drop a panel into a page as your "root panel" and use the panels "Controls" collection to handle adding and removing your composite controls at run time.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.