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 at the click of a button....

page refresh at the click of a button....

Scheduled Pinned Locked Moved ASP.NET
question
2 Posts 2 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.
  • S Offline
    S Offline
    scar_face
    wrote on last edited by
    #1

    hi frns, I have a button, on the click of which the whole page is getting refreshed. I am using it only to make a div display as 'block' or 'none'. Is there any other way than using AJAX to stop refreshing the whole page?

    scarface

    A 1 Reply Last reply
    0
    • S scar_face

      hi frns, I have a button, on the click of which the whole page is getting refreshed. I am using it only to make a div display as 'block' or 'none'. Is there any other way than using AJAX to stop refreshing the whole page?

      scarface

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      scar_face wrote:

      I am using it only to make a div display as 'block' or 'none'.

      Then why are you using server side button. or why are you doing it in server side. Do the job in Client Side. You can easily do it using javascript only.

      cheers, Abhijit CodeProject MVP

      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