I am having two text box
1> Topic name
2> Topic parent Id
If i enter topic name in first text box it should display its parent name in second text box all should fetch from database and dispaly it i am using entity framework
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jithil JohnRank #2,791 · 506 reputationPosted Sep 21, 2015, 10:33 PM EDT
abhi lash108 reputationPosted Sep 21, 2015, 11:04 PM EDT
Jithil JohnRank #2,791 · 506 reputationPosted Sep 21, 2015, 11:17 PM EDT
source: function (request, response) {
$.getJSON("/Admin/getData?term=" + request.term, function (data) {
response(data);
});
},
minLength: 2,
delay: 100
});
Dim getValues As List(Of String) = (From s In db.Accounts Where s.AccountCode.StartsWith(term.ToLower()) Select s.AccountCode).ToList()
Return Json(getValues, JsonRequestBehavior.AllowGet)
End Function
abhi lash108 reputationPosted Sep 24, 2015, 1:18 AM EDT