 <p>You don't need to refresh page.</p> <p>Add callback to load. In callback initialize/apply your js library (for controlling datatable).</p> <pre><code> $("#filebody").load("@Url.Action("Attachments", new {collaborationId = Model.Collaboration.Id})"); </code></pre> <p>to</p> <pre><code>$("#filebody").load("@Url.Action("Attachments", new {collaborationId = Model.Collaboration.Id})", function( response, status, xhr ) { //Apply Datatable js library in here }); </code></pre> <p>Because you are removing elements at #filebody and adding new elements. So you should apply your js library to the new elements.</p>