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
2009-06-03 12:47:59
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."
2009-06-04 04:36:32
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
2009-06-05 11:35:41