Hey all,
I've got a working .net 2.0 web app. I have page which has a table on top with 6 html dropdowns and textboxes. When you first load the page all you have is the html table and controls. Gridview.Visible=false until they submit a search.
You select values from those and then submit which populates a gridview below the table. This page works fine. I then wanted to add some ajax functionality to the page. All i did was add a script manager to the page and then wrap everything else in the page in an update panel. Now when ever i try to run a search, IE is basically locked up for a minutes before i can see any results. EVen when i am only returning a single record, IE is locked up.
Firefox is a little better...takes about 5-10, still too long for a single record, but the browser isnt locked up and thats's still a lot faster then IE. Prior to adding the ajax controls to the page, it loaded up in IE/FF in a second.
I have some other pages where i added ajax controls and they work ok. But I have one other page like this one, and that one slowed down to a crawl as well. I tried this on another computer with IE6 and it did the same thing.
Does anyone know why this is happening and if/how i can correct this?
Thanks
Set the UpdateMode to Conditional... that should improve things a bit. (See:http://www.asp.net/learn/ajax-videos/video-177.aspx for more information)
-Damien
No comments:
Post a Comment