By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,101 Members | 1,335 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,101 IT Pros & Developers. It's quick & easy.

ascx question

P: n/a
I have a ascx page with a search function that I include in every page. How
can I redirect the page to the same place when it is on a page 2 folders
down or 3 folders down?

--
Dave
Nov 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
use Response.Redirect("~/yourpage.aspx");

The important think to note is the '~' this will resovle to the root of your
application on the webserver.

MattC

"DaveF" <df*****@geodecisions.com> wrote in message
news:uk****************@TK2MSFTNGP10.phx.gbl...
I have a ascx page with a search function that I include in every page. How
can I redirect the page to the same place when it is on a page 2 folders
down or 3 folders down?

--
Dave

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.