Hello,
there are two data binding approaches in the autocomplete control:
1) Local data: Pass all data immediately in Controller (ViewBag approach).
2) Remote data: Dynamically get data based on query from external source (which in this case is a local JsonResult method)
Is there any significant difference in performance and maintainability between those approaches?
I think, that if there is just a few data entries, than the first approach is definitely better.
But what if we have a huge amount of data entries? How big it should be, so that second approach would become better?
Regards,
Dmytro