Click here to Skip to main content
15,882,017 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have two UpdatePanels the first has a gridview and a sqldatasource in it but when I try to update the gridview with this:

UpdatePanel1.Update()

Nothing happens.

Is there a command to update the gridview from UpdatePanel2?
Posted

1 solution

Dear,
You have to use and configure updatepanel triggers and give any control BUTTON,DROPDONWLIST as triggers.
HTML
<Triggers>

</Triggers>


ASP.NET Ajax Extension - Update Panel Example with Trigger[^]

above link will help you to find solutions.
Let me know if you have any further query.
Please, go through above suggestion.
If its your answer, please mark as solution.
Best of luck for hunting solutions.

Thank you.
Regards,
Manoj Kalla
 
Share this answer
 
v2

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