how to add new row in partial view

how to add new row in partial view

nightsky_tingnightsky_ting Posts: 17Questions: 4Answers: 0

how to make run database.js in partial view?
how to add new row in partial view?

Answers

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395

    What do you mean by "partial view"? Please give more detail.

  • nightsky_tingnightsky_ting Posts: 17Questions: 4Answers: 0

    A partial view is a view that is rendered within another view. The HTML output generated by executing the partial view is rendered into the calling (or parent) view. Like views, partial views use the .cshtml file extension.

  • allanallan Posts: 63,893Questions: 1Answers: 10,531 Site admin

    My understanding is that a partial view is .NET terminology for a chunk of HTML that will be written into an HTML page on request (often the server will return HTML rather than JSON for processing). Happy to be corrected if I am wrong.

    To have DataTables operate on a table in a partial view its just like any other DataTable - call $(...).DataTable() once the view has loaded. How you know when it has loaded, I couldn't say - check the MSDN documentation :).

    Allan

This discussion has been closed.