I used this solution because when trying to render a table in a view with many records the user's browser gave Crash, I know it's a not very elegant solution but it was the only solution that came to mind. (In this view I have to load all records on the screen to the user)
I created a GenerateTable method where I populate with the database's data and return a String with HTML containing the data. In the View call I make an Ajax request that assembles the user table, basically I render it on the server side.
What are the disadvantages of using this template and what alternative could be used? 1
Prototype: