Hi Scott,
I'm looking at this issue again. To save you reading the whole thread again. I'd like to start the edit.ascx in a maximised popup window.
Without debugging the whole lot and guessing, I found a section of code in dnn.modalpopup.js which looks like it will maximise the popup:
if ($modal.data('isMaximized')) {
newHeight = $modal.data('height');
newWidth = $modal.data('width');
$modal.data('isMaximized', false);
}
I've changed the call to be:
string[] Params = new string[] { "isMaximized=true", "height=100%", "width=100%", "tid=" + this.ModuleId.ToString() };
But it doesn't work.
Do you happen to know how I should call the modal popup? Or how can I debug it to see what's going on? I assume I need to run the debug version of dnn.modalpopup.js. Should copy the debug version overwriting the minimised copy in the js directory or is there a better way?
Please let me know if anything isn't clear.
Best Regards,
Steve