Hi There.
I have a Grid that the data is linked with the DataManager, I can manage to trigger and do the actions but when the Grid calls the Data the second time after the CRUD action, the data is not updated on the Grid, and even the response from the DataManager is with the updated information, what can I do?
[WebMethod, ScriptMethod(UseHttpGet = false)]
public static void NotesInsert(Dictionary<string, object> value, string action){
... /logic/... all working.
}
<ej:DataManager runat="server" ID="gvNotesData" URL="EmployeeUpdateUAT_N.aspx/NotesGet" Adaptor="WebMethodAdaptor" InsertURL="EmployeeUpdateUAT_N.aspx/NotesInsert" >
</ej:DataManager>
<ej:Grid ID="gvEmployeeNote" runat="server" AllowPaging="true" AllowTextWrap="true" DataManagerID="gvNotesData" >
<EditSettings AllowEditing="false" AllowAdding="true" AllowDeleting="false"></EditSettings>
<ToolbarSettings ShowToolbar="true" ToolbarItems="add,update,cancel"></ToolbarSettings>
<TextWrapSettings WrapMode="Content" />
<Columns>
<ej:Column Field="Notes" Width="40%" AllowTextWrap="true" HeaderTextAlign="center" EditType="StringEdit">
<ValidationRule>
<ej:KeyValue Key="required" Value="true" />
<ej:KeyValue Key="minlength" Value="true" />
</ValidationRule>
</ej:Column>
<ej:Column Field="LastUpdate" HeaderText="Last Update" HeaderTextAlign="center" AllowEditing="false" Format="{0:dd/MM/yyyy HH:mm}" Width="12em" TextAlign="Right" />
<ej:Column Field="CreatedBy" AllowEditing="false" Width="12em" HeaderTextAlign="center" />
<ej:Column Field="NoteCategoryId" EditType="DropdownEdit" HeaderText="Category" HeaderTextAlign="center"
ForeignKeyField="NoteCategoryId"
ForeignKeyValue="NoteCategoryName" TextAlign="Left" >
<ValidationRule>
<ej:KeyValue Key="required" Value="true" />
</ValidationRule>
</ej:Column>
<ej:Column Field="DueDate" AllowEditing="false" HeaderText="Due date" HeaderTextAlign="center" />
<ej:Column Field="Completed" EditType="BooleanEdit" TextAlign="Center" AllowEditing="false" HeaderTextAlign="center" />
<%-- <ej:Column Field="NoteCategoryName" />--%>
</Columns>
</ej:Grid>
Thanks in advance.