Advertisement

05.26.2008 at 08:41AM PDT, ID: 23432828
[x]
Attachment Details

UpdatePanel PostBackTrigger - img in Gridview

Asked by tfewster500 in .NET Framework 2.0

Tags: ASP.NET 2.0, Ajax, IIS 7.0

Using ASP.NET 2.0, Ajax

I have a page with a GridView within an UpdatePanel.  The GridView has custom paging so I've used the UpdatePanel to do the Asynch postback to get the updated data when the user pages through the grid.

One of the columns in the GridView contains an image (with ID="imgReport") and I would like to force a Post Back when the user clicks on the image.  I've done this successfully with controls that are not within a grid (so I understand setting up the triggers on the update panel), my question is specifically on referencing the image within the grid as it repeats for each row.

Thanks,
Start Free Trial
[+][-]05.27.2008 at 05:10AM PDT, ID: 21651103

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: .NET Framework 2.0
Tags: ASP.NET 2.0, Ajax, IIS 7.0
Sign Up Now!
Solution Provided By: jerrygb
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628