This is a migrated thread and some comments may be shown as answers.

VB: Group is a type and cannot be used in expressions error

1 Answer 58 Views
Menu
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Teller
Top achievements
Rank 1
Teller asked on 28 Jan 2010, 03:34 PM

I am reviewing telerik mvc controls using mvc VB
The following in my master page comes up with an error
Html.Telerik().StyleSheetRegistrar().DefaultGroup(Group >= Group.Add(

"telerik.common.css").Add("telerik.vista.css")).Render()

"Group is a type and cannot be used in expressions"

When I hover over group

This also give me a run time error.

Can anybody suggest a resolution or an mvc telerik VB sample?

 

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 29 Jan 2010, 04:33 PM
Hi Teller,

VB 9.0 does not support multi-line lambda expressions. You can try VB 10, which should have support for that. For more information review the following links:
http://www.mohundro.com/blog/2007/12/06/NoMultilineLambdasInVB2008.aspx
http://msdn.microsoft.com/en-us/library/bb531253%28VS.100%29.aspx

Sincerely yours,
Georgi Krustev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Menu
Asked by
Teller
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or