I'm try to use DnnPageDropDown control in my module.
Control code:
Module control OnInit / OnLoad example code:
protected override void OnInit (EventArgs e)
{
base.OnInit (e);
jQuery.RequestDnnPluginsRegistration();
ServicesFramework.Instance.RequestAjaxAntiForgerySupport();
}
protected override void OnLoad (EventArgs e)
{
base.OnLoad (e);
if (!IsPostBack)
pageHomePage = new TabController().GetTab(TabId, PortalId, true);
}
After load, pageHomePage control displays correct tab name, but after click on dropdown, page list shows rotating
cirlce, and then popups jQuery alert message "Internal Server Error
(500)". Same thing if I set AutoPostBack="true" - selecting tab from a list - first time OK, but try second time I have "Internal Server Error
(500)" message again.
Portal event log is clear. Tried with or w/o "Support Partial Rendering" flag for control in module definition. Using DNN Platform 7.1.2.