Click here to Skip to main content
14,453,795 members
Rate this:
Please Sign up or sign in to vote.
See more:
I placed my grid view inside update panel and took it into content template. Than I picked up triggers of update panel and placed async post back trigger id to the id of grid view and named the event as selected event changed. Still I am not able to use it.
I have seen many threads in which people are making use of it than where am I going wrong ?

<asp:UpdatePanel ID="UpdatePanel2" runat="server">
                            <asp:AsyncPostBackTrigger ControlID = "gv_workOrders" ControlID="SelectedIndexChanged" />

<my grid view>

On clicking on the link button inside the grid view I will redirect the user to another page, till he gets redirected I want show him loading image in update progress. That's why I am trying to do this.
But Its not getting done.
Please help.

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

Change this line (look for eventname )
<asp:asyncpostbacktrigger controlid="gv_workOrders" eventname="SelectedIndexChanged" />
Taresh Uppal 24-Jul-12 5:01am
oops...I am sorry...but I had d same code..means eventname.. nothing happen still...
pradiprenushe 24-Jul-12 5:10am
Try PostBackTrigger this will work because gridview is immediate control in update panel.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100