Wednesday, May 9, 2012

How to add an HTML Anchor(a tag) in Telerik MVC controls

Following Code shows how to add an HTML anchor tag link in Telerik controls for MVC. you can pas query string as well using this link.

            .DataKeys(keys => { keys.Add(x => x.Id); })
            .Columns(columns =>

                columns.Bound(x => x.Id).Title("").Format(Html.ActionLink("edit", "Edit", new { id = "{0}" }).ToHtmlString()).Encoded(false).Width(60);


No comments:

Post a Comment