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. User Control Post Back On Page

User Control Post Back On Page

Scheduled Pinned Locked Moved ASP.NET
questionsysadminhelptutorial
6 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.
  • R Offline
    R Offline
    rup_rj
    wrote on last edited by
    #1

    hi, there is a problem i m facing now, I want to perform Post Back on User Control which is placed on Page. When i click any server control on user Control, It creates whole page Post Back. Can anyone :) guide me how can I stop whole page Post Back when user control call any server events? :-\

    rup

    G N 2 Replies Last reply
    0
    • R rup_rj

      hi, there is a problem i m facing now, I want to perform Post Back on User Control which is placed on Page. When i click any server control on user Control, It creates whole page Post Back. Can anyone :) guide me how can I stop whole page Post Back when user control call any server events? :-\

      rup

      G Offline
      G Offline
      Gandalf_TheWhite
      wrote on last edited by
      #2

      I think ur trying to say something like this U just want only a particular part of a page to be refreshed? Is it so? And which version of framework are u using?

      Believe Yourself™ :->™

      R 1 Reply Last reply
      0
      • R rup_rj

        hi, there is a problem i m facing now, I want to perform Post Back on User Control which is placed on Page. When i click any server control on user Control, It creates whole page Post Back. Can anyone :) guide me how can I stop whole page Post Back when user control call any server events? :-\

        rup

        N Offline
        N Offline
        N a v a n e e t h
        wrote on last edited by
        #3

        You need to use AJAX for that. Once the page is rendered, there is no separation like user controls. Everything will be considered as a single page, and any controls on that will refresh the entire page.

        All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

        R 1 Reply Last reply
        0
        • G Gandalf_TheWhite

          I think ur trying to say something like this U just want only a particular part of a page to be refreshed? Is it so? And which version of framework are u using?

          Believe Yourself™ :->™

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

          yes, Version is Asp.net2.0 :)

          rup

          1 Reply Last reply
          0
          • N N a v a n e e t h

            You need to use AJAX for that. Once the page is rendered, there is no separation like user controls. Everything will be considered as a single page, and any controls on that will refresh the entire page.

            All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

            R Offline
            R Offline
            rup_rj
            wrote on last edited by
            #5

            thanks for reply, :) my usercontrol has most part of javascript and css while using UpdatePanel for Ajax functionality It prevents to reload of some JS ref and CSS. due to that page design is gone Destroy. if there is some way please let me know.

            rup

            G 1 Reply Last reply
            0
            • R rup_rj

              thanks for reply, :) my usercontrol has most part of javascript and css while using UpdatePanel for Ajax functionality It prevents to reload of some JS ref and CSS. due to that page design is gone Destroy. if there is some way please let me know.

              rup

              G Offline
              G Offline
              Gandalf_TheWhite
              wrote on last edited by
              #6

              Ajax is not working? :doh: Can u please tell, Exactly what happens!!! Now, Two questions... 1.Where u have take the reference for JS and CSS? Is JS in separate(.js) file? 2.have you used master page in that page? If u have not use masterpage then u can use masterpage instead Usercontrol, It will be best if u use Masterpage. reply fast.:cool:

              Believe Yourself™ :->™

              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