Did you change the language in the Page directive: %@ Page Language="VB" MasterPageFile="~/Views/Shared/Site. Master" Inherits="System.Web.Mvc. ViewPage" %.
Did you change the language in the Page directive: " %.
Yes I did. I set it up as a VB project, and I have the VB language. Do you get Html.
TextBoxFor and the ValidationMessageFor to work in VB? Do you see anything wrong with the definition? – Brian May 9 '10 at 15:29.
I am not a VB expert but I think this should be changed to this " %.
Ahh, dumb on my part; my inherits used , which is C# only; I needed: System.Web.Mvc. ViewPage(Of MyModel) And that fixed the error.
EDIT: An update; found out that TextBoxFor looks for Expression(Of Func(Of Object, Object)) and by casting to do this it works: First: Last: Email: But now I get a runtime 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: BC30205: End of statement expected.
Source Error: Line 46: _ Line 47: Public Class views_validation_index_aspx Line 48: Inherits System.Web.Mvc. ViewPage Line 49: Implements System.Web.SessionState. IRequiresSessionState, System.Web.
IHttpHandler Line 50: Source File: C:\Windows\Microsoft. NET\Framework\v4.0.30319\Temporary ASP. NET Files\root\5a4e2626\dee8be7e\App_Web_index.aspx.
B3b8acce.cmmfnwms.0. Vb Line: 48 I cannot win with VB :-) any ideas?
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.