Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Response.Redirect (URL) possible in DNN? help pls =(Response.Redirect (URL) possible in DNN? help pls =(
Previous
 
Next
New Post
8/5/2008 2:23 PM
 

Can I make a plain ole default.aspx page that does a Response.Redirect (DNN_Page_URL) ?

I tried doing it on my page here:

http://swingbluesdancing.com/Lessons/default.aspx

to Response.Redirect  here

http://swingbluesdancing.com/Lessons/tabid/59/Default.aspx

and as you can see above it does not work =/  but it also does NOT 404 error. So it is trying to redirect, but failing. Any ideas?

 

 

 

 
New Post
8/5/2008 10:35 PM
 

It appears to try to redirect to http://localhost/dnnsbd02

Can you post the source to the /Lessons/default.aspx file?

 
New Post
8/5/2008 10:56 PM
 

Thanks for the reply!

http://localhost/dnnsbd02 is my localhost site for development. I don't know why it is going there because my response.redirect is absolute.

Here is the page and the code behind file.

 

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="Lessons_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
   
    </div>
    </form>
</body>
</html>


-----------------------------------------


Partial Class Lessons_Default
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)

        Response.Redirect("http://swingbluesdancing.com/Lessons/tabid/59/Default.aspx", True)

    End Sub

End Class

 
New Post
8/6/2008 10:46 AM
 

Maybe the Server.Transfer(URL) function could be a solution?

 
New Post
8/7/2008 12:49 PM
 

No one has ever in history of DotNetNuke done a Response.Redirect?

Can someone at least tell me this is impossible so I can find another solution?

Sorry to be a grump but I have send this to Print tomorrow and I still don't have a valid URL =(

Thanks

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Response.Redirect (URL) possible in DNN? help pls =(Response.Redirect (URL) possible in DNN? help pls =(


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out