Wednesday, March 28, 2012

How do I redirect to other pages?

I understand that Altas doesn't yet support request.response

But how do I navigate to other pages??

If you are still wondering about this, you can use RegisterClientScriptBlock to insert a piece of javascript to redirect the page:

ClientScript.RegisterClientScriptBlock(me.gettype,"window","window.location='PageName.aspx'", true)


i had the same problem but i just changed it to an anchor

No comments:

Post a Comment