open pdf or othe page link into content page in masterpage

S

Shailesh Patel

Hi,
I like to target link clicked on one contentplaceholder to another
contentplaceholder within one masterpage.
Any suggestion? Please let me know.

Thank you in advance.

Shailesh
 
M

Mark Fitzpatrick

All you can do is create a named anchor such as <a name="somename"> then
either link to that anchor using the #somename, such as <a
href="default.aspx#somename"> or if you need to do it in codebehind redirect
back to the page and append the anchor name on it like
Response.Redirect("default.aspx#somename"); There's nothing in HTML that
will really let you jump around a page in any other way.
 
S

Steve C. Orr [MVP, MCSD]

A PDF can be displayed in its own window or in a Frame or IFrame. It cannot
be displayed in a contentplaceholder unless that contentplaceholder has an
IFrame in which to display the PDF.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top