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. abt page load

abt page load

Scheduled Pinned Locked Moved ASP.NET
debuggingquestion
13 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 Rajeshwar Code Developer

    thnks brother when i click to button .. then its going to debug right .. so i m not using ispostback so first start debug in pageload and its debuging into button event right .. after the debuging going to finished page.. my doubt is there any posible to debuging from button event then again its debug into pageload

    try and try untill reach success..

    C Offline
    C Offline
    Coding C
    wrote on last edited by
    #4

    When you click the button, page load will be called first and then the button_click event will be called, after this the debugging will end. What you are trying to do?

    Coding C# ExciteTemplate

    R 1 Reply Last reply
    0
    • C Coding C

      When you click the button, page load will be called first and then the button_click event will be called, after this the debugging will end. What you are trying to do?

      Coding C# ExciteTemplate

      R Offline
      R Offline
      Rajeshwar Code Developer
      wrote on last edited by
      #5

      When you click the button, page load will be called first and then the button_click event will be called, after this the debugging will end. yes .but i need from button_event to next called to pageload ..how can i do this one.. i dont want to use refresh.

      try and try untill reach success..

      C 1 Reply Last reply
      0
      • R Rajeshwar Code Developer

        When you click the button, page load will be called first and then the button_click event will be called, after this the debugging will end. yes .but i need from button_event to next called to pageload ..how can i do this one.. i dont want to use refresh.

        try and try untill reach success..

        C Offline
        C Offline
        Coding C
        wrote on last edited by
        #6

        May I know what kindaa success you want to achieve? Explain the scenario.

        Coding C# ExciteTemplate

        R 1 Reply Last reply
        0
        • C Coding C

          May I know what kindaa success you want to achieve? Explain the scenario.

          Coding C# ExciteTemplate

          R Offline
          R Offline
          Rajeshwar Code Developer
          wrote on last edited by
          #7

          i took one gridview panel ..and thats all coding wrote in ascx page .. so now i m sending some data in button event .. then its goes to db.. so again i want to bind the gridview which is there inascx page.

          try and try untill reach success..

          C 1 Reply Last reply
          0
          • R Rajeshwar Code Developer

            i took one gridview panel ..and thats all coding wrote in ascx page .. so now i m sending some data in button event .. then its goes to db.. so again i want to bind the gridview which is there inascx page.

            try and try untill reach success..

            C Offline
            C Offline
            Coding C
            wrote on last edited by
            #8

            Why dont you call the grid databind code in button event after data is saved?

            Coding C# ExciteTemplate

            R 1 Reply Last reply
            0
            • C Coding C

              Why dont you call the grid databind code in button event after data is saved?

              Coding C# ExciteTemplate

              R Offline
              R Offline
              Rajeshwar Code Developer
              wrote on last edited by
              #9

              i m binding gridview in ascx page.. not in button page..

              try and try untill reach success..

              C D 2 Replies Last reply
              0
              • R Rajeshwar Code Developer

                i m binding gridview in ascx page.. not in button page..

                try and try untill reach success..

                C Offline
                C Offline
                Coding C
                wrote on last edited by
                #10

                ascx means you have user control in page, why dont you recreate that control in button event?

                Coding C# ExciteTemplate

                1 Reply Last reply
                0
                • R Rajeshwar Code Developer

                  i m binding gridview in ascx page.. not in button page..

                  try and try untill reach success..

                  D Offline
                  D Offline
                  DoctorMick
                  wrote on last edited by
                  #11

                  Expose a method on the user control to allow binding rather than binding when the control loads.

                  R 1 Reply Last reply
                  0
                  • D DoctorMick

                    Expose a method on the user control to allow binding rather than binding when the control loads.

                    R Offline
                    R Offline
                    Rajeshwar Code Developer
                    wrote on last edited by
                    #12

                    means how can i expose it..

                    try and try untill reach success..

                    C 1 Reply Last reply
                    0
                    • R Rajeshwar Code Developer

                      means how can i expose it..

                      try and try untill reach success..

                      C Offline
                      C Offline
                      Coding C
                      wrote on last edited by
                      #13

                      Make the method in user control which binds the grid as public and then you can access it from page like UserControlName.Method(); HTH

                      Coding C# ExciteTemplate

                      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