I have a jq grid where in that i have a drop-down with two options when ever i select anything and click on enter it should show a message in a label that data is updated.
The logic is already handling in ashx handler.
Ashx handler code
public void ProcessRequest(HttpContext context)
{
HttpRequest request = context.Request;
HttpResponse response = context.Response;
System.Collections.Specialized.NameValueCollection forms = context.Request.Form;
string strOperation = forms.Get("oper");
}
In the update method --
if (forms["oper"].ToString() == "edit")
{
returnvalue = "Record Updated successfully";
}
Now we need to pass this return value to aspx page when ever record is updated..
In aspx page
<asp:Label ID="lblMessage" runat="server" ForeColor="##"></asp:Label>
function onE ...
Go to the complete details ...