Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Using a Repeater inside of UpdatePanel with UpdateProgress

$
0
0

Hello there, I am using ASP .NET 4.0 using C#.  I have a web form where all of my layout exists within an UpdatePanel.  Inside it I have the following:

Panel for entering search criteria with textboxes and search button

UpdateProgress with animated .gif

Panel with a Repeater that gets populated according to my first sproc (using the search criteria) - inside each row is a LinkButton that when clicked calls my second sproc and populates a Panel within the Repeater row.  I am populating the Panel in the code-behind in the ItemCommand event of the Repeater.  I use the CommandArgument on the LinkButton for my second sproc.  I have a CollapsiblePanelExtender to animate the Panel that contains data from my second sproc.

I have it working but not the way I want.  When the search button is clicked the UpdateProgress does show my animated .gif.  However, when the LinkButton is clicked within the Repeater datarow my second sproc takes about 6 seconds to process.  I want to have an UpdateProgress that shows an animated .gif when this occurs.  I tried to fix this by implementing a second UpdatePanel but I could not get the UpdateProgress to fire at all.  Any help would be greatly appreciated.  Thanks in advance.


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>