This question is locked. New answers and comments are not allowed.
My converting from C# to VB has been going pretty good today, but I am stuck on the following code from your "Server Row Template" example, http://demos.telerik.com/aspnet-mvc/razor/grid/serverrowtemplate.
Mainly, I am not sure what to do with ".RowTemplate(grid => @text". If there is any other gotcha's in the code please also let me know.
Thanks!
Mainly, I am not sure what to do with ".RowTemplate(grid => @text". If there is any other gotcha's in the code please also let me know.
Thanks!
.RowTemplate(grid => @<text> <div class="employee-details"> <img src='@Url.Content("~/Content/Grid/Customers/" + item.CustomerID + ".jpg")' alt='@item.ContactName' /> <h3 class="t-widget">@item.ContactName</h3> <dl> <dt>Name:</dt><dd>@item.ContactName</dd> <dt>Company:</dt><dd>@item.CompanyName</dd> <dt>Country:</dt><dd>@item.Country</dd> </dl> <dl class="t-widget"> <dt>Address:</dt><dd>@item.Address</dd> <dt>Phone:</dt><dd>@item.Phone</dd> </dl> <div class="commands"> @grid.EditButton(item) @grid.DeleteButton(item) </div> </div></text>)