Click here to Skip to main content
15,881,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

Change this line (look for eventname )
<asp:asyncpostbacktrigger controlid="gv_workOrders" eventname="SelectedIndexChanged" />
Share this answer
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)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900