Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I have this media picker on a custom section
DataTypeDefinition _dMediaPicker = DataTypeDefinition.GetDataTypeDefinition(1035);_mediaPicker = new umbraco.editorControls.mediaChooser(_dMediaPicker.DataType.Data, true, false);itemImage.Controls.Add(_mediaPicker);
DataTypeDefinition
_dMediaPicker = DataTypeDefinition.GetDataTypeDefinition(1035);
_mediaPicker =
new umbraco.editorControls.mediaChooser(_dMediaPicker.DataType.Data, true, false);
itemImage.Controls.Add(_mediaPicker);
My problem is on save I can't get the node value of the selected image.
I'm using this.
_mediaPicker.Value
What am I doing wrong?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Getting and setting the media picker value
Hi,
I have this media picker on a custom section
My problem is on save I can't get the node value of the selected image.
I'm using this.
_mediaPicker.Value
What am I doing wrong?
is working on a reply...