Lack of documentationhttp://forums.asp.net/t/1579426.aspx/1?Lack+of+documentationWed, 21 Jul 2010 07:15:57 -040015794263975078http://forums.asp.net/p/1579426/3975078.aspx/1?Lack+of+documentationLack of documentation <p>Hi,</p> <p>I admit I'm here for curiosity only. I feel WM is not the tool I would like to use, but I don't want to miss something.&nbsp;</p> <p>What I'm missing currently is a good documentation, e.g. like Google Maps API:&nbsp;</p> <p>Look here: <a href="http://www.asp.net/webmatrix/tutorials/asp-net-web-pages-api-reference"> http://www.asp.net/webmatrix/tutorials/asp-net-web-pages-api-reference</a></p> <p style="font-size:9pt; margin-top:0in; margin-right:0in; margin-bottom:0pt; margin-left:0in; font-family:consolas,courier,monospace"> WebGrid.GetHtml()</p> <p style="font-size:10pt; font-style:italic; margin-top:4pt; font-family:calibri,sans-serif; margin-bottom:8pt"> Renders markup to display data in an HTML table.</p> <p style="font-size:9pt; margin-top:0in; margin-right:0in; margin-bottom:0pt; margin-left:0in; font-family:'Courier New',monospace"> @grid.GetHtml()// The 'grid' variable is set when WebGrid is created.</p> <p style="font-size:9pt; margin-top:0in; margin-right:0in; margin-bottom:0pt; margin-left:0in; font-family:'Courier New',monospace"> <br> </p> <p style="font-size:9pt; margin-top:0in; margin-right:0in; margin-bottom:0pt; margin-left:0in; font-family:'Courier New',monospace"> But surprisingly grid.GetHtml() has much more capabilities, which are discovered in the tutorials.&nbsp;</p> <p style="font-size:9pt; margin-top:0in; margin-right:0in; margin-bottom:0pt; margin-left:0in; font-family:'Courier New',monospace"> <br> Q: Where can I get a complete list of parameters and options for GetHtml()?</p> <p style="font-size:9pt; margin-top:0in; margin-right:0in; margin-bottom:0pt; margin-left:0in; font-family:'Courier New',monospace"> <br> </p> <p style="font-size:9pt; margin-top:0in; margin-right:0in; margin-bottom:0pt; margin-left:0in; font-family:'Courier New',monospace"> Regards</p> <p style="font-size:9pt; margin-top:0in; margin-right:0in; margin-bottom:0pt; margin-left:0in; font-family:'Courier New',monospace"> <br> </p> 2010-07-15T18:59:14-04:003975141http://forums.asp.net/p/1579426/3975141.aspx/1?Re+Lack+of+documentationRe: Lack of documentation <p>At the moment, the best thing to do is download Reflector (<a href="http://www.red-gate.com/products/reflector/">http://www.red-gate.com/products/reflector/</a>) and peer at the innards of Microsoft.WebPages.Helpers.dll, which you will find in the {Program Files}\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies folder. You'll see that there is actually just one WebGrid.GetHtml() method, but it can take a number of optional parameters.<br> </p> <p><br> </p> 2010-07-15T19:36:04-04:003975191http://forums.asp.net/p/1579426/3975191.aspx/1?Re+Lack+of+documentationRe: Lack of documentation <p>Thanks. Did that... However, this way is obviuosly the expert way, not the way for the targeted audience...</p> <p>Don't know, why it is not possible to provide a useful documentation JIT. MS might learn from GOOG how to do that (<a href="http://code.google.com/intl/de/apis/maps/documentation/javascript/v2/reference.html">http://code.google.com/intl/de/apis/maps/documentation/javascript/v2/reference.html</a>)</p> <p>OK, now I know, what WebMatrix is... I think I'll leave it aside...&nbsp;</p> <p>Thanks</p> <p><br> </p> 2010-07-15T20:08:15-04:003975267http://forums.asp.net/p/1579426/3975267.aspx/1?Re+Lack+of+documentationRe: Lack of documentation <p>Yes, WebMatrix is currently in Beta. For those who would like to use Visual Studio to see WebMatrix API, especially the types related to helpers, take a look at the blog post I created early this week.</p> <p><a title="Understanding WebMatrix Helpers using Visual Studio's Object Browser" href="http://blogs.msdn.com/b/erikreitan/archive/2010/07/14/understanding-webmatrix-helpers-using-visual-studio-s-object-browser.aspx" target="_self">Understanding WebMatrix Helpers using Visual Studio's Object Browser</a></p> <p>Also, I posted information about WebMatrix helpers if you're interested in quick helper descriptions and syntax:</p> <p><a title="WebMatrix Helpers" href="http://blogs.msdn.com/b/erikreitan/archive/2010/07/12/webmatrix-helpers.aspx">WebMatrix Helpers</a></p> <p>Also, there are several fundamental chapters already available for WebMatrix Beta&nbsp;available on the asp.net site:</p> <p><a title="WebMatrix Fundamentals" href="http://www.asp.net/webmatrix/fundamentals">WebMatrix Fundamentals</a></p> <p>&nbsp;</p> <p>Hope this helps.</p> <p><strong><span style="font-size:10pt">-- Erik Reitan</span></strong><span style="font-family:'Verdana','sans-serif'; font-size:10pt"><br> </span><span style="font-size:10pt">ASP.NET User Education<br> <i>This posting is provided &quot;AS IS&quot; with no warranties, and confers no rights.</i></span></p> <p>&nbsp;</p> 2010-07-15T21:04:17-04:003975293http://forums.asp.net/p/1579426/3975293.aspx/1?Re+Lack+of+documentationRe: Lack of documentation <p>Hi Erik,</p> <p>thanks, but GOOG is _always_ in Beta, that isn't an argument. Thanks for the link to your blog, but unfortunately the WebGrid isn't described. The second link was the source of my complaints, because it reveals all the nitty-gritty extra options :)</p> <p><br> </p> <p>Regards</p> <p><br> </p> 2010-07-15T21:21:50-04:003975296http://forums.asp.net/p/1579426/3975296.aspx/1?Re+Lack+of+documentationRe: Lack of documentation <p></p> <blockquote><span class="icon-blockquote"></span> <h4>neilyoung</h4> GOOG is _always_ in Beta, that isn't an argument.</blockquote> <p></p> <p>Whereas WebMatrix is destined not to be. So maybe that <i><b>is</b></i> an argument :o)</p> <p><br> </p> 2010-07-15T21:24:42-04:003983715http://forums.asp.net/p/1579426/3983715.aspx/1?Re+Lack+of+documentationRe: Lack of documentation <p>As the previous poster notes, for the beta we did not provide complete API docs, just the &quot;quick ref&quot; appendix. The intent is to do that, tho, as we do for other bits of the ASP.NET framework.&nbsp;</p> 2010-07-21T07:15:57-04:00