Gridview row editing in bootstrap.
On clicking of a edit button a modal pop up should appear and all grid row data should be in edit mode.
how to do using ajax call
What I have tried:
function Edit(RecordID) {
$.ajax({
url: 'GroupDoctors.aspx/GetDoctorByGroupCode?ts=' + $.now(),
contentType: 'application/json',
type: 'POST',
data: JSON.stringify({ id: RecordID }),
success: function (res) {
var obj = JSON.parse(res.d);
$('#<%=txtUpperLimit.ClientID%>').val(obj.UpperLimit);
$('#<%=txtLowerLimit.ClientID%>').val(obj.DownLimit);
},
error: function (err) {
}
});
}
How should i call my drop down here