views:

196

answers:

1

ActionLinks This Image shows type-safe method of defining the Actionlinks ,how to define it in VB.NET

A: 
<%= Html.ActionLink(Of SearchController)("Search Drinks", Function(s) s.Results("Beverages",2)) %>
Tim Hoolihan
Thanks Tim,i did try that though but it showed me an error "Overload resolution Failed because no accessible actionlink accepts this number of type arguments."
are you using visual studio? in intellisense, how many parameters does the method appear to accept? I think I messed up the syntax for an anonymous function in vb.net, but i'm not currently at a machine with 3.5 to tell you.
Tim Hoolihan