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. Ajax slowing my search??

Ajax slowing my search??

Scheduled Pinned Locked Moved ASP.NET
questionhelpworkspace
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.
  • C Offline
    C Offline
    Chris McGlothen
    wrote on last edited by
    #1

    I wasn't sure where to put this dilemma, but here it goes. I have a web application wrapped around a state machine workflow that allows the user to pick search parameters from one content pane and then displays the results in the parallel pand via a gridview. I've wrapped both panes in and am using ajax extenders (Calendars and Watermark) in the search pane. I also have the search parameters saved into a Dictionary object. Unfortunately this is slowing down this portion of the application to a crawl. I'm at a loss as to what is causeing the delays, which happen both on ititial page load and when search button is clicked. I'm using some ajax extenders in other portions of the application with no detriment. I would provide code samples if you think they'll help, just ask:) Any suggestions or leads would be much appreciated. Thanks,


    An American football fan - Go Seahawks! Lil Turtle

    D 1 Reply Last reply
    0
    • C Chris McGlothen

      I wasn't sure where to put this dilemma, but here it goes. I have a web application wrapped around a state machine workflow that allows the user to pick search parameters from one content pane and then displays the results in the parallel pand via a gridview. I've wrapped both panes in and am using ajax extenders (Calendars and Watermark) in the search pane. I also have the search parameters saved into a Dictionary object. Unfortunately this is slowing down this portion of the application to a crawl. I'm at a loss as to what is causeing the delays, which happen both on ititial page load and when search button is clicked. I'm using some ajax extenders in other portions of the application with no detriment. I would provide code samples if you think they'll help, just ask:) Any suggestions or leads would be much appreciated. Thanks,


      An American football fan - Go Seahawks! Lil Turtle

      D Offline
      D Offline
      Dave Sexton
      wrote on last edited by
      #2

      Have you tried doing this (as a test) outside of any kind of Ajax framework? That might help you identify where the bottleneck is. How much data are you trying to load at page load/button click? Where are you getting this data from (for the search parameters & results)? I think chances are that the problem lies in where you're getting your data from.


      I think I'm going to call my next project "Chuck Norris". It's a sure way to guarantee it's unbreakable.

      • • •

      But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson

      C 1 Reply Last reply
      0
      • D Dave Sexton

        Have you tried doing this (as a test) outside of any kind of Ajax framework? That might help you identify where the bottleneck is. How much data are you trying to load at page load/button click? Where are you getting this data from (for the search parameters & results)? I think chances are that the problem lies in where you're getting your data from.


        I think I'm going to call my next project "Chuck Norris". It's a sure way to guarantee it's unbreakable.

        • • •

        But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson

        C Offline
        C Offline
        Chris McGlothen
        wrote on last edited by
        #3

        Dave Sexton wrote:

        Have you tried doing this (as a test) outside of any kind of Ajax framework?

        I have, it's only about 40 - 45 K being transferred.

        Dave Sexton wrote:

        the problem lies in where you're getting your data

        I think you may be right. Gratzi,


        An American football fan - Go Seahawks! Lil Turtle

        D 1 Reply Last reply
        0
        • C Chris McGlothen

          Dave Sexton wrote:

          Have you tried doing this (as a test) outside of any kind of Ajax framework?

          I have, it's only about 40 - 45 K being transferred.

          Dave Sexton wrote:

          the problem lies in where you're getting your data

          I think you may be right. Gratzi,


          An American football fan - Go Seahawks! Lil Turtle

          D Offline
          D Offline
          Dave Sexton
          wrote on last edited by
          #4

          Ok, so where are you getting your data from?


          I think I'm going to call my next project "Chuck Norris". It's a sure way to guarantee it's unbreakable.

          • • •

          But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson

          C 1 Reply Last reply
          0
          • D Dave Sexton

            Ok, so where are you getting your data from?


            I think I'm going to call my next project "Chuck Norris". It's a sure way to guarantee it's unbreakable.

            • • •

            But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson

            C Offline
            C Offline
            Chris McGlothen
            wrote on last edited by
            #5

            SQL server Database, using Net Tiers and also MS Workflow.


            An American football fan - Go Seahawks! Lil Turtle

            D 1 Reply Last reply
            0
            • C Chris McGlothen

              SQL server Database, using Net Tiers and also MS Workflow.


              An American football fan - Go Seahawks! Lil Turtle

              D Offline
              D Offline
              Dr_X
              wrote on last edited by
              #6

              I can't remember which property of the UpdatePanel that caused me to slow down a while back. I think it was ChildrenAsTriggers. Play around with the few properties it has as it turned out to significantly reduce the amount of time it displays. Also, try not to use the DataBoundEvent if possible. You can tweak most of column properties from the eval & '<%# ... %>' code. I found it is faster to use IIF statements with in the '<%# ... %>' than the code behind event. Michael

              I firmly believe that any man's finest hour, the greatest fulfillment of all that he holds dear, is that moment when he has worked his heart out in a good cause and lies exhausted on the field of battle - victorious. Vince Lombardi (1913-1970)

              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