Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
915
RowEditTemplate causing Full Page Postback
posted

I am using a WebDataGrid with a LinqDataSource.    The grid is inside of a Wizard control which is inside of an UpdatePanel.

I am using a RowEditTemplate and my OK button is calling a javascript method to cause a postback of my Update Panel so that the server size Updating method for my LinqDataSource will fire.

<asp:Button Text="OK" ID="btnOK" runat="server" 
OnClientClick="updatePanelPostback(); return;" />

function updatePanelPostback()
{
 __doPostBack('<%=WebDataGraphics1.WdgGraphics.ClientID %>', '');
}

This is working fine and my update panel is refrshing.  

The problem is after the Updating method is fired, it is the dong a full page postback and I can't figure out why.  This does not happen when I delete a row or insert a new row, only updating so I am thinking it has something to do with the RowEditTemplate.

Any ideas?