Only Save Contentpage
-
Hi every body I want when user click save button the prompt show that user can save page with any extension like .htm but only save content page not master page please guide me Thanks for your help
To do that you would need to create a create another page that does not use the master page or use CSS to remove the master page elements when it is displayed. Then have the user save that page. This is what most "printer friendly" pages do.
I know the language. I've read a book. - _Madmatt
-
To do that you would need to create a create another page that does not use the master page or use CSS to remove the master page elements when it is displayed. Then have the user save that page. This is what most "printer friendly" pages do.
I know the language. I've read a book. - _Madmatt
-
Could you explain more with some example I some confuse How can I create another page in the same time? I think your solution is correct but it's difficult too .
You can't create another page dynamically, which appears to be what your are thinking. You must create the page before hand, just like any other asp.net page in your application. Or you use CSS to remove the masterpage elements. This method is used extensively in SharePoint 2010.
I know the language. I've read a book. - _Madmatt
-
You can't create another page dynamically, which appears to be what your are thinking. You must create the page before hand, just like any other asp.net page in your application. Or you use CSS to remove the masterpage elements. This method is used extensively in SharePoint 2010.
I know the language. I've read a book. - _Madmatt
-
But It's Dynamic page and sorry How can I use css to remove masterpage?Which element in css?can you write your code its very necessary for me.Thanks
.hidden
{
visibility: none;
}Elham M wrote:
can you write your code
Sure. Contact me offline to discuss rates and requirements.
Elham M wrote:
its very necessary for me
It is very necessary for me to get paid for my time and effort.
I know the language. I've read a book. - _Madmatt
-
Hi every body I want when user click save button the prompt show that user can save page with any extension like .htm but only save content page not master page please guide me Thanks for your help
-
You can create a separate CSS file for printing and set the
media="print"
attribute in the
link
tag. If you hide all master page elements in this CSS file, then those elements will not be printed.
-
You can create a separate CSS file for printing and set the
media="print"
attribute in the
link
tag. If you hide all master page elements in this CSS file, then those elements will not be printed.
This won't work for the OP. There is no printing involved, only display.
I know the language. I've read a book. - _Madmatt
-
This won't work for the OP. There is no printing involved, only display.
I know the language. I've read a book. - _Madmatt
-
I've khnew this tag for print and I've used it but this tag just for print it's not for save button!
You can use the same technique with a little tweak. Create two CSS files and make the master page elements invisible in the second css file. Create a new page that uses this css file. You can open this new page as a popup from your original page and save from the popup.
-
You can use the same technique with a little tweak. Create two CSS files and make the master page elements invisible in the second css file. Create a new page that uses this css file. You can open this new page as a popup from your original page and save from the popup.
You mean like what has already been suggested two days ago :rolleyes: Read the original question and the responses.
I know the language. I've read a book. - _Madmatt
-
You mean like what has already been suggested two days ago :rolleyes: Read the original question and the responses.
I know the language. I've read a book. - _Madmatt