I've built an edit page for my custom section and have a grid which displays some values from an xml file and provides editing capabilities. As soon as I add the ContentPicker to the grid's EditTemplate (for users to be able to select their content from tree and not having to copy and paste some node id) and want to populate the grid, I get an empty response (which in Firefox leads to an "xml element missing in row 1 column 1" error, IE just shows an empty page).
Is it possible to use the content picker in such a scenario?
Hi, been busy all day with some time-wasting stuff to do on our old (a.k.a. current) website, and it didn't work in a rush (tommorrow my office mates are having some appointments, so it's gonna be a good day to investigate further). I haven't found the source of the zipupload package, but I guess I need to reference the editorControls assembly to gain access to the pagePickerExtractor, right?
ContentPicker in custom edit page
Hi,
I've built an edit page for my custom section and have a grid which displays some values from an xml file and provides editing capabilities. As soon as I add the ContentPicker to the grid's EditTemplate (for users to be able to select their content from tree and not having to copy and paste some node id) and want to populate the grid, I get an empty response (which in Firefox leads to an "xml element missing in row 1 column 1" error, IE just shows an empty page).
Is it possible to use the content picker in such a scenario?
André
atze,
Can you paste your code you are using to add the content picker onto your edit template, i have the following in a usercontrol in ajax panel
<asp:Panel ID="pickerHolder" runat="server" Visible="false">
</asp:Panel>
then in code behind
private Helpers.PickerDataExtractor pagePickerExtractor;
private pagePicker pagePicker;
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
pagePickerExtractor = new Helpers.PickerDataExtractor();
pagePicker = new pagePicker(pagePickerExtractor);
pickerHolder.Controls.Add(pagePicker);
}
That gives me a working content picker, got this code from Tim's updated zipupload package from his blog.
Regards
Ismail
Thanks for that, I´ll give it a try tommorrow.
André
Hi, been busy all day with some time-wasting stuff to do on our old (a.k.a. current) website, and it didn't work in a rush (tommorrow my office mates are having some appointments, so it's gonna be a good day to investigate further). I haven't found the source of the zipupload package, but I guess I need to reference the editorControls assembly to gain access to the pagePickerExtractor, right?
is working on a reply...