views:

175

answers:

0

link text

Issue can be seen by clicking link text above...

Hello - I'm a newbie to ASP.NET MVC and The Yahoo! User Interface libraries. I've created a page that has a simple table and used the YUI Datatable example to create a nicely formatted datatable from an HTML table that exists on the page. The problem is that when the page renders, you see the default HTML table for a brief flash, and then you see the styled YUI datatable. I'd like to remove the flicker and have page directly render the styled grid.

Thoughts:

  1. Is this happening because of how/where I'm rendering the grid (via EnhanceFromMarkup function in javascript that happens after page load)?

  2. Should I not build the table in HTML first - but rather build the table in javascript using JSON?

Any thoughts on how I could fix this would be greatly appreciated.

Regards,

Kevin