I have the following code on my page. When I click the "Add new record" button the template form shows and I enter my data and click the Insert button. The Ajax postback occurs, however the formtemplate does not auto hide nor does the RadGrid refresh with the new row. What's the problem?
<telerik:RadAjaxPanel runat="server" EnableAJAX="true" EnableEmbeddedScripts="true">
<telerik:RadGrid ID="grdConfigurations" runat="server" OnNeedDataSource="grdConfigurations_NeedDataSource">
<MasterTableView DataKeyNames="ConfigurationGuid" EditMode="EditForms" CommandItemDisplay="top" AllowAutomaticInserts="true" AutoGenerateColumns="False">
<EditFormSettings EditFormType="Template">
<FormTemplate>
...
<
asp:Button ID="btnUpdate" Text='<%# ((bool)DataBinder.Eval(Container, "OwnerTableView.IsItemInserted")) ? "Insert" : "Update" %>'
runat="server" CommandName='<%# ((bool)DataBinder.Eval(Container, "OwnerTableView.IsItemInserted")) ? "PerformInsert" : "Update" %>'></asp:Button>
</FormTemplate>
</EditFormSettings>
</MasterTableView>
</telerik:RadGrid>
</telerik:RadAjaxPanel>