Question : I need assistance using a VirtualPath in ASP.Net

Hi Experts,
I am trying to use  the VirtualPath tag in my ASP.Net application, but I keep getting the following error:

'http://dev.mfa.com/CAR2X/Default.aspx' is not a valid virtual path.            

What am I doing wrong?  Thanks in advance.

mrotor
1:
<%@ PreviousPageType VirtualPath="http://dev.mfa.com/CAR2X/Default.aspx"%>

Answer : I need assistance using a VirtualPath in ASP.Net


You can try this:

<%@ PreviousPageType VirtualPath="~/CAR2X/Default.aspx" %>
Random Solutions  
 
programming4us programming4us