This question is locked. New answers and comments are not allowed.
I am trying to use the new Custom ToolBar Template functionality that was released in Q3 2010, but I have run into an issue which I am not able to solve. I am using the syntax that I have pulled from the Custom ToolBar demo for the Grid.
A snippet of my view code is as follows:
When I run the application, I get the following error:
Compiler Error Message: CS1525: Invalid expression term ')'
Source Error:
I have checked and confirmed that I am used the Telerik.Web.Mvc.dll for MVC 2 from Q3 2010. It seems to me that it is not picking up this new functionality for some reason.
A snippet of my view code is as follows:
<%= Html.Telerik().Grid<
Vigilaris.Booking.Services.ScheduledCourseDTO
>()
.Name("ScheduledCoursesGrid")
.ToolBar(tb => tb.Template(() => { %>
<
label
>Course:</
label
>
<% Html.Telerik().ComboBox().Name("Courses").Render(); %>
<% }))
...
%>
When I run the application, I get the following error:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.Compiler Error Message: CS1525: Invalid expression term ')'
Source Error:
|
I have checked and confirmed that I am used the Telerik.Web.Mvc.dll for MVC 2 from Q3 2010. It seems to me that it is not picking up this new functionality for some reason.