validation is not firing on textbox in RAZOR?
问题 1below I have posted my total coding of view. Here validation is not firing on the textbox. I dont know how to sort out this problem. This view is executing. if I press the search textbox without entering the text in textbox, its not validating.Also tell me wheather I have to use TextBox or TextBoxFor. I am fresher and new to mvc3. Please tell me the solution. @model IEnumerable< ShoppingCart.Models.ShoppingClass> @{ ViewBag.Title = "Display"; } <script src="@Url.Content("~/Scripts/jquery