I have created a usercontrol for the umbraco backend where admins can add calendar items (date, name and description). Theese items is saved in a custom database table created. I would now like to extend the control to include an item from the umbraco medialibrary. How can I achieve this?
I am using a DetailView (with TemplateFields) for inserting items.
Alright, I see a way. But can a ContentPicker control be placed in the ascx? something like <umbraco:contentPicker runat="server" AppAlias="media" TreeAlias="media" />?
Media picker in usercontrol
Hello,
I have created a usercontrol for the umbraco backend where admins can add calendar items (date, name and description). Theese items is saved in a custom database table created. I would now like to extend the control to include an item from the umbraco medialibrary. How can I achieve this?
I am using a DetailView (with TemplateFields) for inserting items.
These might get you started:
Tim posted a blog entry about this recently - http://www.nibble.be/?p=87
Also Jeroen mentioned a different way of doing it which might be better, see his posts on this thread - our.umbraco.org/.../13518-implement-improved-mediapicker-c
Alright, I see a way. But can a ContentPicker control be placed in the ascx? something like <umbraco:contentPicker runat="server" AppAlias="media" TreeAlias="media" />?
Any links where I can read up on this?
is working on a reply...