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 loading.

Page loading.

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelp
11 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.
  • N Offline
    N Offline
    Nanda_MR
    wrote on last edited by
    #1

    I m done a web page in that 6 para and 4 picture is there. that one done asp.net. Know Load the picture first then after completed picture then text will wt I do plzzz help on this.

    N 1 Reply Last reply
    0
    • N Nanda_MR

      I m done a web page in that 6 para and 4 picture is there. that one done asp.net. Know Load the picture first then after completed picture then text will wt I do plzzz help on this.

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

      I read your post many times. Honestly, I couldn't get what you are saying. Could you rephrase your question so that we understand.

      Navaneeth How to use google | Ask smart questions

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

        I read your post many times. Honestly, I couldn't get what you are saying. Could you rephrase your question so that we understand.

        Navaneeth How to use google | Ask smart questions

        N Offline
        N Offline
        Nanda_MR
        wrote on last edited by
        #3

        I created one web page. that web page contains 4 picture and 6 para

        . when page loading or at time of refreshing. The Images are come first and para like that can i make it. Like sequence manner.

        N P 2 Replies Last reply
        0
        • N Nanda_MR

          I created one web page. that web page contains 4 picture and 6 para

          . when page loading or at time of refreshing. The Images are come first and para like that can i make it. Like sequence manner.

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

          Well, AFAIK, that is not possible. Browser sends multiple requests in parallel to make the page download faster. You can't predict in which order it does this.

          Navaneeth How to use google | Ask smart questions

          P 1 Reply Last reply
          0
          • N Nanda_MR

            I created one web page. that web page contains 4 picture and 6 para

            . when page loading or at time of refreshing. The Images are come first and para like that can i make it. Like sequence manner.

            P Offline
            P Offline
            Pr teek B h
            wrote on last edited by
            #5

            Let me get this straight. You want to display the para first and then the pictures to upload? Prateek

            N 1 Reply Last reply
            0
            • P Pr teek B h

              Let me get this straight. You want to display the para first and then the pictures to upload? Prateek

              N Offline
              N Offline
              Nanda_MR
              wrote on last edited by
              #6

              Yes

              P 2 Replies Last reply
              0
              • N Nanda_MR

                Yes

                P Offline
                P Offline
                Pr teek B h
                wrote on last edited by
                #7

                Sorry for not replying sooner. After doing some research, I found out that when you send a request, the browser first loads up all of the main web pages e.g. main.aspx, default.aspx, etc. and then gets the other resources e.g. javascript files, images, etc. So the answer to your question is that the browser handles how the files are loaded and you really can't change the way the files are displayed. I apologize if this wasn't helpful, Prateek p.s. oh yeah, if you like to see how the web request work, i would download Live HTTP Headers for Firefox.

                1 Reply Last reply
                0
                • N Nanda_MR

                  Yes

                  P Offline
                  P Offline
                  Pr teek B h
                  wrote on last edited by
                  #8

                  actually...can you show your code. Something occurred to me and it might have something to do with how you have arranged your code. If you are loading the pictures before getting the file with the para, that might be why your pictures are loading before the para. Prateek

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

                    Well, AFAIK, that is not possible. Browser sends multiple requests in parallel to make the page download faster. You can't predict in which order it does this.

                    Navaneeth How to use google | Ask smart questions

                    P Offline
                    P Offline
                    Pr teek B h
                    wrote on last edited by
                    #9

                    I agree that the browser sends multiple requests in parallel but there is a procedure to it. It first sends the request to get the web pages. Then once it receives the response for those web pages, it then sends the request to receive the resources for the web page. Lets say, you have a default.aspx page that consists of image1.jpg and a main.aspx page that consists of image2.jpg. The browser will first send the request to get default.aspx and main.aspx. Once it receives the response for default.aspx, depending on what the response is, it will send the request for image1.jpg. Same goes for main.aspx i.e. once it receives the response for default.aspx, depending on what the response is, it will send the request for image2.jpg. Prateek

                    N 1 Reply Last reply
                    0
                    • P Pr teek B h

                      I agree that the browser sends multiple requests in parallel but there is a procedure to it. It first sends the request to get the web pages. Then once it receives the response for those web pages, it then sends the request to receive the resources for the web page. Lets say, you have a default.aspx page that consists of image1.jpg and a main.aspx page that consists of image2.jpg. The browser will first send the request to get default.aspx and main.aspx. Once it receives the response for default.aspx, depending on what the response is, it will send the request for image1.jpg. Same goes for main.aspx i.e. once it receives the response for default.aspx, depending on what the response is, it will send the request for image2.jpg. Prateek

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

                      Pr@teek B@h! wrote:

                      I agree that the browser sends multiple requests in parallel but there is a procedure to it. It first sends the request to get the web pages. Then once it receives the response for those web pages, it then sends the request to receive the resources for the web page.

                      Do you have any documents to prove your points? Well, I don't think you are right.

                      Navaneeth How to use google | Ask smart questions

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

                        Pr@teek B@h! wrote:

                        I agree that the browser sends multiple requests in parallel but there is a procedure to it. It first sends the request to get the web pages. Then once it receives the response for those web pages, it then sends the request to receive the resources for the web page.

                        Do you have any documents to prove your points? Well, I don't think you are right.

                        Navaneeth How to use google | Ask smart questions

                        P Offline
                        P Offline
                        Pr teek B h
                        wrote on last edited by
                        #11

                        Sorry, I don't have any documents...but, if you view HTTP Headers while going to websites, you will notice the pattern. I noticed this when I was building a proxy. I could be wrong, but it would be worth it to check it out. Prateek p.s. do you have any documents supporting your theory? I would love to read up on this topic.

                        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