Problem using sPath = this.ResolveUrl("~/" + sPath); in .Cs file C#.

Posted by Gg under ASP.NET on 1/17/2011 | Points: 10 | Views : 3072 | Status : [Member] | Replies : 1
Hi,

Problem using sPath = this.ResolveUrl("~/" + sPath); in .Cs file C#.

Thanks,
GG.




Responses

Posted by: Prabhakar on: 1/17/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi,

this the two way...
Response.Redirect( this.ResolveUrl("~/Members/Login.aspx") )
or

Response.Redirect( this.ResolveUrl("~/" +"sPath") )

Best Regard's
Prabhakar

Gg, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response