Archives
-
Trigger update to jQuery Tablesorter on dynamically modified table
Several months ago I wrote a blog post about using tablesorter and pager plugins with ASP.NET MVC to beautifully create sorting and pagination features on plain tables and data in your HTML. However, in the past few weeks I have got some reports by users who use these plugins that they have problems when new data is added to the table dynamically on client side. The thing is that the plugin does not know anything about the new data, so, we need to tell the table sorter & pager that there is new data to be considered when sorting and paging operations are performed.
-
Serialize only specific class properties to JSON string using JavaScriptSerializer
About one year ago I wrote a blog post about JavaScriptSerializer and the Serialize and Deserialize methods it supports.