Click here to Skip to main content
15,918,243 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello friends ,

actually i am working on a online video editing project using ff-mpeg also i am using flow player where i need to pass like src="http://localhost:3222/Online%20Video%20Editor" to flow player .is there any method by which we can get URL current PAge whith out page name

like "http://localhost:3222/Online%20Video%20Editor/"

regards
lak
Posted

Try this !!
Hope this helps..

Request.Url.ToString().Substring(0, Request.Url.ToString().LastIndexOf("/"));
 
Share this answer
 
v2
try this.

Request.Url.ToString();
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900