Slopey
Posts: 33
|
| Posted: 06/13/2007, 5:59 AM |
|
Hi All,
I've got a page in a subdirectory which I'm using Redirect = "page.asp" in the OnClick server side event of a form button to navigate the user to another page in the root directory.
The odd thing is that if I set the ReturnPage property of the button, it works perfectly - but I can't use that property as I redirect the user based on the content of the form when they button is pressed (for some custom validation).
However, when I redirect the user to a page in the root directory using Redirect, the page loads but does'nt apply the template/style to it. Even wierder, images used by the style (ie next last previous in the grid navigator) have the wrong path when I mouse over them - the path contains the subdirectory I've just tried to redirect away from.
What am I missing with Redirect - do I need to explicity tell the page which directory it is in through code? Why does redirect seem to make the target page think it's in the subdirectory?
Cheers,
S
|
 |
 |
|