Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

FCKeditor Project
Salaro -- Skins and more
OnyakTech
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  HTML / Text Mo...  JavaScript for Redirect
Previous Previous
 
Next Next
New Post 7/9/2007 1:23 AM
User is offline Willy David Jr
41 posts
10th Ranked


JavaScript for Redirect 

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!

 

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  HTML / Text Mo...  JavaScript for Redirect
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Live Visitor Tracking & Live Chat For DotNetNuke
Track your visitors in real time and add live chat for sales & support. Free Trial.
www.whoson.com
SINA101
WANT A SPECial sIte iN TAIWAN?
sina101.com
Web Development and Strategy Firm
The Risdall Interactive Agency s websites, strategies, branding, & promotion in digital space.
www.Risdall.net/

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP