Last post Mar 05, 2018 12:22 PM by uid895650
Apr 14, 2013 08:34 PM|CarlosC|LINK
I have a detailsview and formview control - the detailsview updates the information in the DB the formview control dislays the information in the DB
When I do an Update, I want the formview to update and display the new information.
I have an update panel that I am using for CSS formatting of the formview within an UpdatePanel control already.
What would be the best way to accomplish this?
Mar 05, 2018 12:22 PM|uid895650|LINK
You need to set triggers on the update panel and then update the FormView data source after the postback.
<asp:AsyncPostBackTrigger controlid="btnSave" eventname="Click" />
protected void btnSave_Click(object sender, EventArgs e)
Check out https://msdn.microsoft.com/en-us/library/bb399001.aspx or https://www.aspforums.net/Threads/153064/Bind-and-Auto-Refresh-GridView-inside-Update-Panel-with-Database-using-C-and-VBNet-in-ASPNet/