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. ASP.NET Frame Question

ASP.NET Frame Question

Scheduled Pinned Locked Moved ASP.NET
questioncsharpasp-netdatabasewinforms
6 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.
  • D Offline
    D Offline
    dhbaer
    wrote on last edited by
    #1

    Good afternoon, I'm attempting to create an ASP.NET website that has two horizontal frames. A top frame will be a frame that loads back data from 6 sql stored procedures and dumps them into datagrids. The bottom frame will contain several buttons, listboxes, and other user interaction controls. The problem I'm having is that I want the user controls in the bottom frame to load first so that the user can use them while the queries run one by one in the top and fill out the scoreboard. I have tried both an inline frame (using one for the top section) and normal frames, but I can't get them to do what I'm looking for. Can someone point me in the right direction? David

    N 1 Reply Last reply
    0
    • D dhbaer

      Good afternoon, I'm attempting to create an ASP.NET website that has two horizontal frames. A top frame will be a frame that loads back data from 6 sql stored procedures and dumps them into datagrids. The bottom frame will contain several buttons, listboxes, and other user interaction controls. The problem I'm having is that I want the user controls in the bottom frame to load first so that the user can use them while the queries run one by one in the top and fill out the scoreboard. I have tried both an inline frame (using one for the top section) and normal frames, but I can't get them to do what I'm looking for. Can someone point me in the right direction? David

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      Since they are in frames they should load independently of each other, as long as the target pages are different. What behavior are you seeing?


      only two letters away from being an asset

      D 1 Reply Last reply
      0
      • N Not Active

        Since they are in frames they should load independently of each other, as long as the target pages are different. What behavior are you seeing?


        only two letters away from being an asset

        D Offline
        D Offline
        dhbaer
        wrote on last edited by
        #3

        What I'm seeing is that the top frame (which runs a sql stored procedure in it's page load event) remains blank along with the bottom frame. When the data grid comes back in the top frame, the test button appears in the bottom frame. This takes around 10-15 seconds, which is consistant with how long I expect the stored procedure to take. I had expected the button in the bottom frame to pop up immediately and have that frame be usable while the top frame continued to wait for the sql data to come back. David

        N 1 Reply Last reply
        0
        • D dhbaer

          What I'm seeing is that the top frame (which runs a sql stored procedure in it's page load event) remains blank along with the bottom frame. When the data grid comes back in the top frame, the test button appears in the bottom frame. This takes around 10-15 seconds, which is consistant with how long I expect the stored procedure to take. I had expected the button in the bottom frame to pop up immediately and have that frame be usable while the top frame continued to wait for the sql data to come back. David

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          Try some AJAX type magic


          only two letters away from being an asset

          D 1 Reply Last reply
          0
          • N Not Active

            Try some AJAX type magic


            only two letters away from being an asset

            D Offline
            D Offline
            dhbaer
            wrote on last edited by
            #5

            I will look into AJAX...it's something I've never used before. Do you know any good places to start? Most of my asp.net programming has focused on doing as little as possible on the html side and as much as possible on the VB Code behind. David

            N 1 Reply Last reply
            0
            • D dhbaer

              I will look into AJAX...it's something I've never used before. Do you know any good places to start? Most of my asp.net programming has focused on doing as little as possible on the html side and as much as possible on the VB Code behind. David

              N Offline
              N Offline
              Not Active
              wrote on last edited by
              #6

              Another possibility may be to be to load the top page empty, so the bottom will also load, then immediately kick off a postback on the top to load the data.


              only two letters away from being an asset

              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