Posted on 2011-09-23
I created a custom control with some buttons in it. I want these buttons to be generic, so the real code of the buttons should be passed in one of the properties. How should I create such a property? It works, for the Client-side JS it is no problem (type=String, editor=Client Side Script Editor), the server side code is different though, there is no such thing as a Server Side Script Editor.
The Type is ok, I only want the correct Editor. Or if you have a better way to create new event handlers in a custom control...?