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. Refresh Button Code

Refresh Button Code

Scheduled Pinned Locked Moved ASP.NET
javascripthelp
8 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.
  • V Offline
    V Offline
    VenkataRamana Gali
    wrote on last edited by
    #1

    Hello All, I have aspx page having 2 frames LeftFrame & RightFrame. I Have a button called "Refresh" at leftFramepage. Once clicking on Refresh Button Right Frame will be refreshed. my Page is contains several textboxes/DropdownList Boxes on Right Frame page. I need to code or Javascript code for Page Refresh in case of frames any one help me, appriciated regards GV Ramana

    R 1 Reply Last reply
    0
    • V VenkataRamana Gali

      Hello All, I have aspx page having 2 frames LeftFrame & RightFrame. I Have a button called "Refresh" at leftFramepage. Once clicking on Refresh Button Right Frame will be refreshed. my Page is contains several textboxes/DropdownList Boxes on Right Frame page. I need to code or Javascript code for Page Refresh in case of frames any one help me, appriciated regards GV Ramana

      R Offline
      R Offline
      rihdus
      wrote on last edited by
      #2

      take html button or simple anchor tag set target attribute as the id of the right frame, so when you slick on link at left frame it will reload the page look at following lines <>refresh<> it will help you I hope:) Any systematic work reflects its significance for a long time, Though I m not totally against "The Prototyping".So let's discuss in depth... -- modified at 11:02 Tuesday 27th December, 2005

      V 1 Reply Last reply
      0
      • R rihdus

        take html button or simple anchor tag set target attribute as the id of the right frame, so when you slick on link at left frame it will reload the page look at following lines <>refresh<> it will help you I hope:) Any systematic work reflects its significance for a long time, Though I m not totally against "The Prototyping".So let's discuss in depth... -- modified at 11:02 Tuesday 27th December, 2005

        V Offline
        V Offline
        VenkataRamana Gali
        wrote on last edited by
        #3

        that is not. Eventhough target is rightframe only. my requirement is clicking on left frame need refresh of right frame regards GV Ramana

        R 1 Reply Last reply
        0
        • V VenkataRamana Gali

          that is not. Eventhough target is rightframe only. my requirement is clicking on left frame need refresh of right frame regards GV Ramana

          R Offline
          R Offline
          rihdus
          wrote on last edited by
          #4

          listen, u have 2 frames, a button (perhaps you have web server control) on page at left frame, and you want to refresh page at right frame when you click the button. Right?? if yes, if not necessary use anchor tag and make its style seeming button plz code to anchor like this <[>Refresh<](file at right frame)> there should be other solutions, but i hv implemented it for my requirement just yesterday.:) Any systematic work reflects its significance for a long time, Though I m not totally against "The Prototyping".So let's discuss in depth...

          V 1 Reply Last reply
          0
          • R rihdus

            listen, u have 2 frames, a button (perhaps you have web server control) on page at left frame, and you want to refresh page at right frame when you click the button. Right?? if yes, if not necessary use anchor tag and make its style seeming button plz code to anchor like this <[>Refresh<](file at right frame)> there should be other solutions, but i hv implemented it for my requirement just yesterday.:) Any systematic work reflects its significance for a long time, Though I m not totally against "The Prototyping".So let's discuss in depth...

            V Offline
            V Offline
            VenkataRamana Gali
            wrote on last edited by
            #5

            Hello thx for response, But just now i found the short way i.e.. :-D regards GV Ramana -- modified at 12:36 Tuesday 27th December, 2005

            I 1 Reply Last reply
            0
            • V VenkataRamana Gali

              Hello thx for response, But just now i found the short way i.e.. :-D regards GV Ramana -- modified at 12:36 Tuesday 27th December, 2005

              I Offline
              I Offline
              Ista
              wrote on last edited by
              #6

              why not have the IFrame link to another aspx page Then you just need a reponse redirect to execute on the frame page If you need to change data just pass a querstring with it Nick I'm not an expert yet, but I play one at work. Yeah and here too. -- modified at 15:09 Tuesday 27th December, 2005

              V 1 Reply Last reply
              0
              • I Ista

                why not have the IFrame link to another aspx page Then you just need a reponse redirect to execute on the frame page If you need to change data just pass a querstring with it Nick I'm not an expert yet, but I play one at work. Yeah and here too. -- modified at 15:09 Tuesday 27th December, 2005

                V Offline
                V Offline
                VenkataRamana Gali
                wrote on last edited by
                #7

                Hello Ista, i added Refresh Button code in my Left Frame Page like this... But I need to maintain the all control values even after refresh. Is there any way to maintain all controls view state ?? Help me regards GV Ramana

                I 1 Reply Last reply
                0
                • V VenkataRamana Gali

                  Hello Ista, i added Refresh Button code in my Left Frame Page like this... But I need to maintain the all control values even after refresh. Is there any way to maintain all controls view state ?? Help me regards GV Ramana

                  I Offline
                  I Offline
                  Ista
                  wrote on last edited by
                  #8

                  instead of reload you will want to force a postback. There maybe be otherways but this seems the most sound to me. Check this link: http://weblogs.asp.net/mnolton/archive/2003/06/04/8260.aspx[^] I'm not an expert yet, but I play one at work. Yeah and here too.

                  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