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
Anyone know how to implement a media picker in a edit page in a custom tree?
here is how:
before page_load add this:
protected
override void OnInit(EventArgs e)
{
base.OnInit(e);
ImageButton save = Panel1.Menu.NewImageButton();
save.ImageUrl = umbraco.
GlobalSettings.Path + "/images/editor/save.gif";
save.AlternateText =
"Save";
save.Click +=
new ImageClickEventHandler(save_Click);
dataExtractor =
new DataExtractor();
contentPicker =
new umbraco.editorControls.mediaChooser(dataExtractor);
PPanel5.Controls.Add(contentPicker);
}
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Media picker in custom tree
Anyone know how to implement a media picker in a edit page in a custom tree?
here is how:
before page_load add this:
protected
override void OnInit(EventArgs e)
{
base.OnInit(e);
ImageButton save = Panel1.Menu.NewImageButton();
save.ImageUrl = umbraco.
GlobalSettings.Path + "/images/editor/save.gif";
save.AlternateText =
"Save";
save.Click +=
new ImageClickEventHandler(save_Click);
dataExtractor =
new DataExtractor();
contentPicker =
new umbraco.editorControls.mediaChooser(dataExtractor);
PPanel5.Controls.Add(contentPicker);
}
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.