ASP .NET Using a Repeater inside of UpdatePanel with UpdateProgress

Brian Stanley

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.

Brian Stanley

I have this all working now.

After much digging I found this: How to do AsyncPostBackTrigger for the LinkButton in the Repeater

I was able to use this in my Page directive: ClientIDMode="AutoID"

I also ended up adding an ImageButton to my Repeater datarow, and whether I click on the LinkButton, ImageButton, or Search button I get the desired result now - the UpdateProgress fires and displays the animated .gif file.

My UpdateProgress resides inside of my UpdatePanel and has an AssociatedUpdatePanelID set to the ID of my UpdatePanel.

I hope this helps someone.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

NavigateUrl on Repeater ASP.net

From Dev

Timer and UpdatePanel in asp.net

From Dev

How to render two column layout using an asp.net repeater

From Dev

ASP.Net UpdateProgress breaks when scripts are added to ScriptManager

From Dev

jQuery MultiSelect Widget not working inside ASP.NET UpdatePanel

From Dev

Performing mathematical calculations inside asp.net repeater control

From Dev

AngularJS with ASP.NET Updatepanel partial update

From Dev

Updatepanel's Updateprogress not displaying on load

From Dev

Using foreach with ASP.NET view engine inside a ASP: Repeater is not working

From Dev

Using Bootstrap tabs with ASP NET repeater

From Dev

ASP.Net repeater control - using conditional statements

From Dev

Asp.net page still flickers with UpdatePanel

From Dev

To bind images in repeater using asp.net

From Dev

asp.net updatepanel inside usercontrol reload the whole control

From Dev

ASP.NET Repeater Control - Getting Hiddenfield value inside the repeater control

From Dev

How To Make Slideshow Using ASP.NET Repeater

From Dev

GridView flickering when placed inside UpdatePanel with Timer (asp.net)

From Dev

NavigateUrl on Repeater ASP.net

From Dev

asp.net jquery accordion inside updatepanel

From Dev

ASP.NET accessing value of the textboxes inside of the repeater

From Dev

Error with ASP.Net UpdatePanel

From Dev

Partially Upload Listview data using UpdatePanel in Asp.net

From Dev

ASP.NET Repeater Control - Getting Hiddenfield value inside the repeater control

From Dev

Change the Image size before bind inside Repeater using c# asp.net.

From Dev

Showing JavaScript Alert Message inside UpdatePanel in ASP.Net Issue

From Dev

asp.net invalid postback for button onclick inside repeater footer

From Dev

Asp.net Datapager Not refreshing while using updatepanel

From Dev

Check CheckBox inside inner Repeater from outer Repeater checked in Asp.Net

From Dev

ASP.NET Gridview inside UpdatePanel not visible after declarative data bind

Related Related

  1. 1

    NavigateUrl on Repeater ASP.net

  2. 2

    Timer and UpdatePanel in asp.net

  3. 3

    How to render two column layout using an asp.net repeater

  4. 4

    ASP.Net UpdateProgress breaks when scripts are added to ScriptManager

  5. 5

    jQuery MultiSelect Widget not working inside ASP.NET UpdatePanel

  6. 6

    Performing mathematical calculations inside asp.net repeater control

  7. 7

    AngularJS with ASP.NET Updatepanel partial update

  8. 8

    Updatepanel's Updateprogress not displaying on load

  9. 9

    Using foreach with ASP.NET view engine inside a ASP: Repeater is not working

  10. 10

    Using Bootstrap tabs with ASP NET repeater

  11. 11

    ASP.Net repeater control - using conditional statements

  12. 12

    Asp.net page still flickers with UpdatePanel

  13. 13

    To bind images in repeater using asp.net

  14. 14

    asp.net updatepanel inside usercontrol reload the whole control

  15. 15

    ASP.NET Repeater Control - Getting Hiddenfield value inside the repeater control

  16. 16

    How To Make Slideshow Using ASP.NET Repeater

  17. 17

    GridView flickering when placed inside UpdatePanel with Timer (asp.net)

  18. 18

    NavigateUrl on Repeater ASP.net

  19. 19

    asp.net jquery accordion inside updatepanel

  20. 20

    ASP.NET accessing value of the textboxes inside of the repeater

  21. 21

    Error with ASP.Net UpdatePanel

  22. 22

    Partially Upload Listview data using UpdatePanel in Asp.net

  23. 23

    ASP.NET Repeater Control - Getting Hiddenfield value inside the repeater control

  24. 24

    Change the Image size before bind inside Repeater using c# asp.net.

  25. 25

    Showing JavaScript Alert Message inside UpdatePanel in ASP.Net Issue

  26. 26

    asp.net invalid postback for button onclick inside repeater footer

  27. 27

    Asp.net Datapager Not refreshing while using updatepanel

  28. 28

    Check CheckBox inside inner Repeater from outer Repeater checked in Asp.Net

  29. 29

    ASP.NET Gridview inside UpdatePanel not visible after declarative data bind

HotTag

Archive