Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Only Save Contentpage

Only Save Contentpage

Scheduled Pinned Locked Moved ASP.NET
helptutorial
13 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Elham M

    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 .

    N Offline
    N Offline
    Not Active
    wrote on last edited by
    #4

    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

    E 1 Reply Last reply
    0
    • N Not Active

      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

      E Offline
      E Offline
      Elham M
      wrote on last edited by
      #5

      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

      N 1 Reply Last reply
      0
      • E Elham M

        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

        N Offline
        N Offline
        Not Active
        wrote on last edited by
        #6

        .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

        1 Reply Last reply
        0
        • E Elham M

          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

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #7

          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.

          E N 2 Replies Last reply
          0
          • L Lost User

            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.

            E Offline
            E Offline
            Elham M
            wrote on last edited by
            #8

            I've khnew this tag for print and I've used it but this tag just for print it's not for save button!

            L 1 Reply Last reply
            0
            • L Lost User

              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.

              N Offline
              N Offline
              Not Active
              wrote on last edited by
              #9

              This won't work for the OP. There is no printing involved, only display.


              I know the language. I've read a book. - _Madmatt

              L 1 Reply Last reply
              0
              • N Not Active

                This won't work for the OP. There is no printing involved, only display.


                I know the language. I've read a book. - _Madmatt

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #10

                My bad, I did not read the question properly, thanks for pointing out.

                1 Reply Last reply
                0
                • E Elham M

                  I've khnew this tag for print and I've used it but this tag just for print it's not for save button!

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #11

                  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.

                  N 1 Reply Last reply
                  0
                  • L Lost User

                    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.

                    N Offline
                    N Offline
                    Not Active
                    wrote on last edited by
                    #12

                    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

                    L 1 Reply Last reply
                    0
                    • N Not Active

                      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

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #13

                      yes, I did not read your response :rolleyes:

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups