Ajax slowing my search??
-
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
-
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
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
-
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
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
-
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
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
-
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
SQL server Database, using Net Tiers and also MS Workflow.
An American football fan - Go Seahawks! Lil Turtle
-
SQL server Database, using Net Tiers and also MS Workflow.
An American football fan - Go Seahawks! Lil Turtle
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)