Hi guys, can someone help me with this one:
I have this code-behind which redirects me to another page:
DotNetNuke.Entities.Modules.ModuleController objModules = new DotNetNuke.Entities.Modules.ModuleController ();
Response.Redirect(DotNetNuke.Common.Globals.NavigateURL(PortalSettings.ActiveTab.TabID, "Page1", "mid=" + ModuleId.ToString()));
Now my problem is, how can I convert it to client-side code? I mean, I want to put this on my javascript function just like this one:
<script runat="server>
function redirect()
{
<!-- my redirect code must go here but it doesn't work -->
}
</script>
Thanks in advance!