Hi...
I am getting into DNN a lot.. creating my owns modules and every goes OK. however I have a question for you. Your help is appreciate...
In a page I add different modules (my own modules) added to one page. By defaul the tab (page) is called with no parameter, so the page shos modules with 'summaries' of info (each module show different summary). But If I call the page with a parameter, let say ItemId=123, each module read this parameter and show the detail instead the summary. Everything goes ok so far...But in order to change from summary to detail, I have a 'Main Module', which recall the same tab with the parameter (ItemId=123), however I need change 'Main Module' to a 'Detail module', I am using the next sentence
Globals.NavigateURL(PortalSettings.ActiveTab.TabID, "DetailModules", "mid=" + ModuleId.ToString(), "ItemId=" + Eval("ItemId")...
The Page show only the module(Show the DetailView), but left out the others small modules. If I remove the "mid=" + ModuleId.ToString(), The DNN did not load even the module.
so.. then I tried to add the next sentence in the "MainModule"
But did not work either. So How can I solve my problem...
Thanks for your help,
Alfonso
protected void Page_Load(object sender, EventArgs e){
if (!Page.IsPostBack)
{
if (Request.QueryString["ItemId"] != null && Request.QueryString["ItemId"] != "")
Response.Redirect(Globals.NavigateURL("ViewDetail")); //Here shold recall