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. Back Page link with Attachment asp.net 4 [Solved]

Back Page link with Attachment asp.net 4 [Solved]

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netquestion
12 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.
  • N n podbielski

    If your users browsers allowing that you can use HTML5 History API http://diveintohtml5.info/history.html

    No more Mister Nice Guy... >: |

    I Offline
    I Offline
    i i i
    wrote on last edited by
    #3

    Thanks for the Post , Actually when Page opens it does not show any control on the Page, No button or any control , it hides the control on the page. If it shows control then on that i can use any script or code, but now its hiding every thing from the page and just showind the document (image/text/pdf) etc.

    To kill a DEER, You need Guns, knives, Ropes and many people to help But To kill a DEAR, You need just ignorance and silence

    N 1 Reply Last reply
    0
    • I i i i

      Thanks for the Post , Actually when Page opens it does not show any control on the Page, No button or any control , it hides the control on the page. If it shows control then on that i can use any script or code, but now its hiding every thing from the page and just showind the document (image/text/pdf) etc.

      To kill a DEER, You need Guns, knives, Ropes and many people to help But To kill a DEAR, You need just ignorance and silence

      N Offline
      N Offline
      n podbielski
      wrote on last edited by
      #4

      Then open this document in frame and add any controls you want on frame parent.

      No more Mister Nice Guy... >: |

      I 1 Reply Last reply
      0
      • N n podbielski

        Then open this document in frame and add any controls you want on frame parent.

        No more Mister Nice Guy... >: |

        I Offline
        I Offline
        i i i
        wrote on last edited by
        #5

        Tried , different Div, panel and frame but problem is when page loads it does not show any control.

        To kill a DEER, You need Guns, knives, Ropes and many people to help But To kill a DEAR, You need just ignorance and silence

        N 1 Reply Last reply
        0
        • I i i i

          Tried , different Div, panel and frame but problem is when page loads it does not show any control.

          To kill a DEER, You need Guns, knives, Ropes and many people to help But To kill a DEAR, You need just ignorance and silence

          N Offline
          N Offline
          n podbielski
          wrote on last edited by
          #6

          Obviously if your doing

          response.redirect("Page2.aspx" + "?ID=" & DocumentID)

          And then Page2 fetch file from somewhere and just spit it out to response, there is no HTML only this document. This is how you doing it right?

          No more Mister Nice Guy... >: |

          I 1 Reply Last reply
          0
          • N n podbielski

            Obviously if your doing

            response.redirect("Page2.aspx" + "?ID=" & DocumentID)

            And then Page2 fetch file from somewhere and just spit it out to response, there is no HTML only this document. This is how you doing it right?

            No more Mister Nice Guy... >: |

            I Offline
            I Offline
            i i i
            wrote on last edited by
            #7

            Yes

            To kill a DEER, You need Guns, knives, Ropes and many people to help But To kill a DEAR, You need just ignorance and silence

            N 1 Reply Last reply
            0
            • I i i i

              Yes

              To kill a DEER, You need Guns, knives, Ropes and many people to help But To kill a DEAR, You need just ignorance and silence

              N Offline
              N Offline
              n podbielski
              wrote on last edited by
              #8

              Then as I wrote before, instead of redirecting to Page2 you should add frame to your previous page and open this Document (Page2) in that frame.

              No more Mister Nice Guy... >: |

              I 1 Reply Last reply
              0
              • N n podbielski

                Then as I wrote before, instead of redirecting to Page2 you should add frame to your previous page and open this Document (Page2) in that frame.

                No more Mister Nice Guy... >: |

                I Offline
                I Offline
                i i i
                wrote on last edited by
                #9

                Ok, Thanks

                To kill a DEER, You need Guns, knives, Ropes and many people to help But To kill a DEAR, You need just ignorance and silence

                1 Reply Last reply
                0
                • I i i i

                  Thanks in advance. Front End : Asp.net 4 (vb) On a Page i have a button which redirects to another Page

                  response.redirect("Page2.aspx" + "?ID=" & DocumentID)

                  on Page2 load event through querystring i get the Document ID and Open the Document (PDF/IMAGE etc), My Problem is on this Page2, I want to have a button with back page link but the button does not show as the page is loaded, So is there any way to show back link along with the document.

                  To kill a DEER, You need Guns, knives, Ropes and many people to help But To kill a DEAR, You need just ignorance and silence

                  Z Offline
                  Z Offline
                  Zaf Khan
                  wrote on last edited by
                  #10

                  Load your PDF/IMAGE etc into an inline frame

                  Then UNDER the iframe add this clientside code....

                  I 1 Reply Last reply
                  0
                  • Z Zaf Khan

                    Load your PDF/IMAGE etc into an inline frame

                    Then UNDER the iframe add this clientside code....

                    I Offline
                    I Offline
                    i i i
                    wrote on last edited by
                    #11

                    Thanks

                    To kill a DEER, You need Guns, knives, Ropes and many people to help But To kill a DEAR, You need just ignorance and silence

                    Z 1 Reply Last reply
                    0
                    • I i i i

                      Thanks

                      To kill a DEER, You need Guns, knives, Ropes and many people to help But To kill a DEAR, You need just ignorance and silence

                      Z Offline
                      Z Offline
                      Zaf Khan
                      wrote on last edited by
                      #12

                      Your welcome

                      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