Monday, March 26, 2012

OOP property

Hi,

Can anyone help me how to create a user control that has menu property like Button property that user can select it or intialize them? How to implement the menu property like Button property in the code? Please give some code example.

thank very much much...

Sorry, but your question is not clear to me at all! Please give a more detailed explanation.


Thanks for answer the question.

In tool bar, when drag a component to a web page, then right click on the component, it show all property of component. How I do that property?

Thanks,


You create a control that subclasses WebControl or any other class in that family.

Create public properties like you would with any class.

0 comments:

Post a Comment