dkilby
asked on
asp.net + Global.GetApplicationPath(Request) Error
I am using the following code for an iframe which work perfectly fine in a different user control in the same project but for some reason is creating an error.
src="<%= Global.GetApplicationPath( Request) & "/WebForms/ViewOrderLogs.a spx" %>"
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30451: Name 'Global' is not declared.
src="<%= Global.GetApplicationPath(
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30451: Name 'Global' is not declared.
src="<%= Global.GetApplicationPath( Request) %> /WebForms/ViewOrderLogs.as px"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
tried all the 3 last one worked, thanks
well thanks for the points.
and just for reference...raterus is right too...but what he said holds true for webcontrols...but that's a good point.
and instead of using import and global.getapplictaionath you can also try
src="<%= Request.ApplicationPath%> /WebForms/ViewOrderLogs.as px"
Good Luck
and just for reference...raterus is right too...but what he said holds true for webcontrols...but that's a good point.
and instead of using import and global.getapplictaionath you can also try
src="<%= Request.ApplicationPath%> /WebForms/ViewOrderLogs.as
Good Luck
Oh NOW you mention I'm right too :-)
:) well now that i have the points
:) hmm so u r an administrator too ...hey i dont mind sharing points with you...u r one of my fav expert on this site. :)
src="~/WebForms/ViewOrderL