The toolbox says there is no usable control in this group?
I have to create a textbox in asp.net mvc2 web application?
Please explain.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The toolbox is a habit that you might have learned from WebForms development but which no longer applies in ASP.NET MVC. In ASP.NET MVC you write code. And to generate a textbox (
<input type="text" ...) you could use the TextBoxFor HTML helper:or if you don’t have a strongly typed view (although you should if you want a properly designed MVC application)
So say goodbye to server controls and toolboxes and say hello to ASP.NET MVC.