Thanks William. This is good info.
Wally
wrote in message news:1443001@forums.asp.net...
> OK. I think after digging around I've got it. At least it appears as such.
>
> First thing, after adding a reference to the Preview CTP Beta assembly,
> and adding the converter for the data table to your web.config, then make
> sure you add the PreviewScript.js to your project, and add a reference to
> it in your pages ScriptReference tag, in the ScriptManager. Then, once you
> have that, then you can instantiate a new DataTable, like so:
>
>
>
> onGetAllTabsComplete: function(tbl) {
> if (tbl != null) {
> eval('var tblrows = ' + tbl.dataArray.slice(0,
> tbl.dataArray.length-1) + ';');
> THERE'S A BUG, SINCE THE dataArray has a trailing ')'.
> tbl = new Sys.Preview.Data.DataTable(tbl.columns,
> tblrows);
> for (var i = 0; i
> var row = tbl.getItem(i);
> _editor.createTabNode(row.getProperty("ID"),
> row.getProperty("Title"), row.getProperty("MenuItemID"));
> }
> }
>
>
>
>
> Atlas team, what in the hell is up?! This is, frankly, one of the most
> bass-ackwards releases I've ever seen from you guys. How, after so many
> friggin CTP's, do you just bust out and drop this crap on us.
>
> Pissed in San Antonio,
>
> William
>
Listen to the ASP.NET Podcast @
http://www.aspnetpodcast.com/