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. page refresh urgent

page refresh urgent

Scheduled Pinned Locked Moved ASP.NET
help
7 Posts 6 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.
  • P Offline
    P Offline
    pradeep kumarappagari
    wrote on last edited by
    #1

    I'm looking for a code the will do the following.... It will refresh the page depending on the selection from a drop down menu... Like.. Don't reload automatically Reload page every minute Reload page every 2 minutes Reload page every 5 minutes Reload page every 10 minutes Reload page every 15 minutes please any one help me its very urgent

    Pradeep Reddy

    E P A T 4 Replies Last reply
    0
    • P pradeep kumarappagari

      I'm looking for a code the will do the following.... It will refresh the page depending on the selection from a drop down menu... Like.. Don't reload automatically Reload page every minute Reload page every 2 minutes Reload page every 5 minutes Reload page every 10 minutes Reload page every 15 minutes please any one help me its very urgent

      Pradeep Reddy

      E Offline
      E Offline
      ednrgc
      wrote on last edited by
      #2

      If you use an ASP.NET dropdown control, you can set AutoPostback=true

      K 1 Reply Last reply
      0
      • E ednrgc

        If you use an ASP.NET dropdown control, you can set AutoPostback=true

        K Offline
        K Offline
        kaliem
        wrote on last edited by
        #3

        Enable "AutoPostBack" for the Combo Box you made. can be done through its properties box. By default, this is not enabled ... btw, what would happen if it was enabled by default ... what were going in their minds .. can someone suggest ... kaliem

        E 1 Reply Last reply
        0
        • P pradeep kumarappagari

          I'm looking for a code the will do the following.... It will refresh the page depending on the selection from a drop down menu... Like.. Don't reload automatically Reload page every minute Reload page every 2 minutes Reload page every 5 minutes Reload page every 10 minutes Reload page every 15 minutes please any one help me its very urgent

          Pradeep Reddy

          P Offline
          P Offline
          PavanPareta
          wrote on last edited by
          #4

          if you want to get page is refresh on click & select the value of the combo box of html, then Right click on the html control and make it server type control (Run at Server) and set the property "AutoPostBack=Ture". Cheer

          Pavan Pareta

          1 Reply Last reply
          0
          • P pradeep kumarappagari

            I'm looking for a code the will do the following.... It will refresh the page depending on the selection from a drop down menu... Like.. Don't reload automatically Reload page every minute Reload page every 2 minutes Reload page every 5 minutes Reload page every 10 minutes Reload page every 15 minutes please any one help me its very urgent

            Pradeep Reddy

            A Offline
            A Offline
            Akhilesh Yadav
            wrote on last edited by
            #5

            hi Pradeep, If i understand correctly u want acc. to selected option ur page should behave if selected 2 min then page should get refreshed after 2 mins. I did the same for a child window, below is the code: window.setTimeout("window.location.reload(true)", 50000); Hope it helps you

            Regards, Akhilesh Yadav

            1 Reply Last reply
            0
            • P pradeep kumarappagari

              I'm looking for a code the will do the following.... It will refresh the page depending on the selection from a drop down menu... Like.. Don't reload automatically Reload page every minute Reload page every 2 minutes Reload page every 5 minutes Reload page every 10 minutes Reload page every 15 minutes please any one help me its very urgent

              Pradeep Reddy

              T Offline
              T Offline
              tarunbounthiyal
              wrote on last edited by
              #6

              I think u should do it with javascript. var temptime; var curtime; var disp; function valuecheck(t) { eval(document.formname.TN_check.value=t); doRewrite(); } function beginrefresh() { curtime-=1; disp=curtime+" seconds left until page refresh!"; window.status=disp; setTimeout("beginrefresh()",1000); } function doRewrite() { window.status="" curtime=(document.formname.TN_check.value/1000)+3; if (document.formname.TN_check.value!="") { beginrefresh(); setTimeout('document.forms[0].submit()' , document.formname.TN_check.value); return; } }

              No Refresh 5 Mins 10 Mins

              1 Reply Last reply
              0
              • K kaliem

                Enable "AutoPostBack" for the Combo Box you made. can be done through its properties box. By default, this is not enabled ... btw, what would happen if it was enabled by default ... what were going in their minds .. can someone suggest ... kaliem

                E Offline
                E Offline
                ednrgc
                wrote on last edited by
                #7

                It defaults to false because most combox choices do not require a postback.

                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