Tageting MasterPage Content

Posted by Khanfair under ASP.NET on 4/30/2007 | Views : 2101 | Status : [Member] | Replies : 4
I have worked on master page.
where i have few buttons, on click of each buttons i am redirecting to Google, amazon like that. But the those redirected pages are opened in new window but i wanted it in content place holder of master page.
Is it possible to target those redirected pages in content place holder or not?

Please answer to my question.




Responses

Posted by: Vuyiswamb on: 1/12/2015 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
hi Khanfair

Please mark the post as Answered if Raja's answer has helped you

Thank you for posting at Dotnetfunda
[Administrator]

Khanfair, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Raja on: 7/26/2007 [Member] Starter

Up
0
Down
Hi

Please don't get confused ContentPlaceholder with the IFrame. ContentPlaceholder of MasterPage is nothing but a placeholder of a group of html and server controls that can get the contents via Content page (.aspx) at the runtime.

Where as IFrame is a client side placeholder where you can target any of the page whether your internal or external using JavaScript or from anchor tags.

Thanks

Regards,
Raja, USA

Khanfair, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Khanfair on: 7/26/2007 [Member] Starter

Up
0
Down
Thanks Raja for reply.
It wa usefull to me. Can u enlighten more on that topic.



Khanfair, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Raja on: 8/12/2007 [Member] Starter

Up
0
Down
To know how MasterPages works, Please see following links.0

http://www.odetocode.com/Articles/419.aspx
http://www.beansoftware.com/ASP.NET-Tutorials/Master-Pages.aspx
http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=425

Thanks

Regards,
Raja, USA

Khanfair, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response