Accessing contentplaceholder page URL in a masterpage

bulldogniner

New member
Joined
Jun 14, 2006
Messages
3
Programming Experience
Beginner
I am trying to access the contentplaceholder page url in my masterpage file so that I can set user permissions on the page.

Ex. I need to determine if the contentplaceholder page url = 'test.aspx' so that I can deny access to the page.

What is the syntax I need to use in vb.net to check this url?

Thanks,
 
VB.NET:
Page.ResolveClientUrl(Page.AppRelativeVirtualPath)
'or 
[SIZE=2]Page.ResolveUrl(Page.AppRelativeVirtualPath)
[/SIZE]
 
Back
Top