This question is locked. New answers and comments are not allowed.
I am developing a new MVC 2 web app in VS 2010 and Visual Basic and am trying to use the Telerik Extensions for ASP.NET MVC2. I am using the Grid control with Edit and Delete command columns and it is working fine, except the Edit is a link and the Delete is a button. It looks really weird. Has anyone else had this issue? Here's my code:
View:
View:
| <%@ Page Title="" Language="VB" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage(Of IEnumerable (Of com.gmcps.Messaging.Domain.MessageDefinition))" %> |
| <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server"> |
| Index |
| </asp:Content> |
| <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"> |
| <h2> |
| Index</h2> |
| <p> |
| <%: Html.ActionLink("Create New", "Create")%> |
| </p> |
| <%= Html.Telerik().Grid(Model).Name("Grid") _ |
| .DataKeys(Function(keys) keys.Add(Function(c) c.MSG_ID)) _ |
| .DataBinding(Function(dataBinding) dataBinding.Server() _ |
| .Select("Details", "MessageDefinition") _ |
| .Insert("Insert", "MessageDefinition") _ |
| .Update("Save", "MessageDefinition") _ |
| .Delete("Delete", "MessageDefinition")) _ |
| .Columns(Function(columns) columns.Bound(Function(p) p.MSG_Title)) _ |
| .Columns(Function(columns) columns.Bound(Function(p) p.MSG_Message)) _ |
| .Columns(Function(columns) columns.Command(Function(commands) commands.Edit())) _ |
| .Columns(Function(columns) columns.Command(Function(commands) commands.Delete())) |
| %> |
| </asp:Content> |
Any advice anyone can give is very much appreciated!