Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Max 144 posts 166 karma points
    Nov 14, 2011 @ 13:43
    Max
    0

    custom user control Response.redirect

    Hi i am using a custom user registration .net user control for my umbraco application after teh registration is complete i add Response.Redirect("newpage.aspx") it does not redirect the page

    any ideas ?? on how i can get it to work thank you

     

  • Michael Latouche 504 posts 819 karma points MVP 4x c-trib
    Nov 14, 2011 @ 14:18
    Michael Latouche
    0

    Hi Max,

    I think you can specify that URL in the <authentication> section of your web config.

    Otherwize, what is exactly the problem? Does it stay on the same page? Does it redirect to another page? At what stage exactly do you do the redirect? Does this occur in a full postback, or in some ajax callback?

    Cheers,

    Michael.

  • Max 144 posts 166 karma points
    Nov 15, 2011 @ 07:01
    Max
    0

    its not about login page after registration user must redirected to another page how to do that if you have custom ,net user control to take the sign up information..

     

  • SideSam 13 posts 33 karma points
    Nov 15, 2011 @ 09:24
    SideSam
    0

    Hi Max,

    For this you should be able to use

    Response.Redirect("/realitive/to/root/path.aspx");

    However it would help a lot if you could post any code and error messages (if you are getting any).

  • Adi 17 posts 36 karma points
    Nov 16, 2011 @ 14:15
    Adi
    0

    Hi Max

    Try something like this

    Response.Redirect(ResolveUrl("~/newpage.aspx"));

     

  • Michael Latouche 504 posts 819 karma points MVP 4x c-trib
    Nov 16, 2011 @ 14:24
    Michael Latouche
    0

    Hi Max,

    Did you try specifying a default URL in the web.config file? Like explained here : http://msdn.microsoft.com/en-us/library/1d3t3c61.aspx

    Like SideSam says, it would help if you could post some code. In which postback event are you working?

    Cheers,

    Michael

Please Sign in or register to post replies

Write your reply to:

Draft