I have run the desktop example with control sets. It works as expected.
I tried to create a web equivalent of this in new project.
I see the following error trying to compile the code
WebPage1.ControlCountPopup.SelectionChanged, line 20
The constructor of this class is protected, and can only be called from within this class
newLabel = New ButtonLabel
I see similar errors on each of the control sets used. Can some one help me get something like this working on web.
I don’t necessarily need controls sets, although that would be preferred. What I need is to be able to dynamically create controls that have added events/methods in them. The examples for dynamically created controls on web work as long as I am using the base control
lbl = new WebLabel
However, if I subclass this to Label1
lbl = new Label1
also gives me the above error. Again works fine on desktop
10 posts - 2 participants