Usercontrol Postback - can i intercept Request

A

Alex

Hi

I have a site that creates a template file "default.aspx" and places
usercontrols in it to display the pages. The beginrequest event redirects
pages however I have a major problem with certain postbacks

currently the following typical page
/mysite/users/register.aspx
would be redirected to
/mysite/default.aspx?users/request

I want postbacks to always go to /mysite/users/register.aspx which will
then be translated by the beginrequest event however after 2 postbacks the
request object gets messed up and the url displayed is
/mysite/users/default.aspx?users/register which is wrong.

Ideally i want to alter the request object either before the postback to
ensure that the URL is /mysite/users/register.aspx and not
/mysite/default.aspx?users/request

I know this is an odd request but any help apreciated.

alex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top