K
kurt sune
I am doing a custom control.
It contains a label and a textbox and a button.
The class inherits WebControl.
Thus the control gets a property CssClass visible in the Properties window.
Question 1. Is it possible to override this property AND give it another
name, for example CssClassLabel?
Is it ugly doing it as a CSV-property type "cssstyle1,cssstyle2,cssstyle3"?
Since the control contains three controls I need to give CssClass-properties
for each containde control.
Question 2: Is this possible without resorting to prepertyname like
CssClassLabel, CssClassButton etc.
I have seen that Font has subnode in the properties window.
Question 3: Is this possible in my own code? Type: CssClasses containg three
subnodes: CssClassLabel, CssClassButton and so on
/k
It contains a label and a textbox and a button.
The class inherits WebControl.
Thus the control gets a property CssClass visible in the Properties window.
Question 1. Is it possible to override this property AND give it another
name, for example CssClassLabel?
Is it ugly doing it as a CSV-property type "cssstyle1,cssstyle2,cssstyle3"?
Since the control contains three controls I need to give CssClass-properties
for each containde control.
Question 2: Is this possible without resorting to prepertyname like
CssClassLabel, CssClassButton etc.
I have seen that Font has subnode in the properties window.
Question 3: Is this possible in my own code? Type: CssClasses containg three
subnodes: CssClassLabel, CssClassButton and so on
/k