This question is locked. New answers and comments are not allowed.
Hi. I'm want to personalize the grid using telerik mvc controlls, but i'm using VB.net and all examples that telerik have are using c#. My problem es when I want to create the file .ascx in the editorTemplates folder, I try to use the same lines that have the example:
The problem it's the IEnumerable, I don't know why with VB.Net don't recognize the IEnumerable. So If some one can help me to make this in VB.Net. Thanks.
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Employee>" %>
<%= Html.Telerik().DropDownList()
.Name(ViewData.TemplateInfo.GetFullHtmlFieldName(string.Empty))
.BindTo(new SelectList((IEnumerable) ViewData["employees"], "Id", "Name", Model.EmployeeID.ToString()))
%>
The problem it's the IEnumerable, I don't know why with VB.Net don't recognize the IEnumerable. So If some one can help me to make this in VB.Net. Thanks.