1)跳转到ascx页面,不带参数 Response.Redirect(EditUrl("","","ascx页面Key值"));2)跳转到ascx页面,带参数 Response.Redirect(EditUrl("","","ascx页面Key值","BlogID1=Blog参数1","BlogID2=Blog参数2"));3)任意ascx页面到模块首页,不带参数 Response.Redirect(Globals.NavigateURL(), true);4)任意ascx页面到模块首页,带参数 int intTabID=this.TabId; Response.Redirect(Globals.NavigateURL(intTabID,"","op=Back"));二、不同模块间跳转 DotNetNuke.Entities.Modules.ModuleController objModules=new DotNetNuke.Entities.Modules.ModuleController(); int intTabID=objModules.GetModuleByDefinition(PortalSettings.PortalId,"DM Blog").TabID;1)模块间跳转,不带参数 Response.Redirect(Globals.NavigateURL(intTabID));2)模块间跳转,带参数 Response.Redirect(Globals.NavigateURL(intTabID,"","BlogID1=Blog参数1","BlogID2=Blog参数2"));3)模块间跳转到另一模块的某个ascx页面,不带参数 Response.Redirect(Globals.NavigateURL(intTabID,"ascx页面Key值"));4)模块间跳转到另一模块的某个ascx页面,不带参数 Response.Redirect(Globals.NavigateURL(intTabID,"ascx页面Key值","BlogID1=Blog参数1","BlogID2=Blog参数2"));
摘自中国DNN联盟http://www.dnnme.cn/showtopic-466.aspx