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
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?
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..
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
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.
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..
Hi Max,
For this you should be able to use
However it would help a lot if you could post any code and error messages (if you are getting any).
Hi Max
Try something like this
Response.Redirect(ResolveUrl("~/newpage.aspx"));
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
is working on a reply...