Question : How to generate a page postback with ajax?

I have a link button inside a gridview, which is inside an update panel (updResults).  When I click on the linkbutton, I want to update labels placed in another update panel (updDetails).
Obviously, clicking the link button does not cause a postback.  I think maybe I outta use ScriptManager.RegisterStartupScript or the Trigger tag of the updatePanel.... but I don't quite understand how to do it.

Can anybody help me?
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:


 

  
    
        
                
        
        
    
  

 

                
                      
 *****************start of 2nd update panel ****************


 
.... my labels here
 


Open in New Window Select All

Answer : How to generate a page postback with ajax?

since the link button has a CommandName , the gridview could be set as the AsyncPostBackTrigger of "another update panel "

you could try something like this at first, and if it work,  try to add a EventName (like EventName="ItemCommand" ) but you could skip that if ther is no other event on the grid.

1:
2:
3:
4:
5:
6:


                
            

...
Open in New Window Select All
Random Solutions  
 
programming4us programming4us