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
How can I get the selected node id whn using content picker in usercontrol?My code:umbraco.controls.ContentPicker mp = new umbraco.controls.ContentPicker(); mp.AppAlias = "media"; mp.TreeAlias = "media";//PlaceholderID:mediaPicker mediaPicker.Controls.Add(mp);
Hi,
Check out this thread which may have the answer for you.
Here is also a code sample from Jeroen Breuer with another way to do it using the datatype instead of the control: http://our.umbraco.org/forum/developers/extending-umbraco/13518-implement-improved-mediapicker-c#comment49762
HTH,Tom
Thanks for the reply
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Using content picker in usercontrol
Hi,
Check out this thread which may have the answer for you.
Here is also a code sample from Jeroen Breuer with another way to do it using the datatype instead of the control: http://our.umbraco.org/forum/developers/extending-umbraco/13518-implement-improved-mediapicker-c#comment49762
HTH,
Tom
Thanks for the reply
is working on a reply...