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?
I'm not really sure what "more info" I can give you.
The problem is that Clicking on the OK button from my RowEditTemplate is causing a full page post back instead of just an Async postback.
This does not happen when I delete a row or insert a new one, only update.
Hi, can you give us more info of what the problem is?
Thanks