How to use uploadField in usercontrol in frontend?
Hi all you Umbraco experts
I would like to use the uploadField data in a usercontrol that renders in the frontend. Specifically I want to add an upload control to upload an image to the Media section, and set a property on a node with that ID. The property part is no problem, however the control is.
How to use uploadField in usercontrol in frontend?
Hi all you Umbraco experts
I would like to use the uploadField data in a usercontrol that renders in the frontend. Specifically I want to add an upload control to upload an image to the Media section, and set a property on a node with that ID. The property part is no problem, however the control is.
I've tried to put this in the .ascx file
and then this
<ctrl:uploadField runat="server"></ctrl:uploadField>
and I get a traceerror: 'umbraco.editorControls.uploadField' does not contain a constructor that takes 0 arguments
Does this mean that I can't add it from design, and need to do it from code to call the constructor with the 2 parameters, or is there another way?
Umbraco is version 4.7
/Bo Kingo
is working on a reply...