INTRODUCTION TO NET
BASICS OF NET FRAMEWORK
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Multiple lines
|
|
Single line
|
|
Password character
|
|
None of these
|
Detailed explanation-1: -By default, you can enter up to 2048 characters in a text box. If you set the Multiline property to true, you can enter up to 32 KB of text.
Detailed explanation-2: -The default property for a TextBox is the Value property. The default event for a TextBox is the Change event.
Detailed explanation-3: -Typically, a TextBox control is used to display, or accept as input, a single line of text. You can use the Multiline and ScrollBars properties to enable multiple lines of text to be displayed or entered.
Detailed explanation-4: -ASP.NET Web Forms TextBox. This is an input control which is used to take user input. To create TextBox either we can write code or use the drag and drop facility of visual studio IDE. This is server side control, asp provides own tag to create it.
Detailed explanation-5: -Text box controls allow entering text on a form at runtime. By default, it takes a single line of text, however, you can make it accept multiple texts and even add scroll bars to it. Let’s create a text box by dragging a Text Box control from the Toolbox and dropping it on the form.
Detailed explanation-6: -Textbox control is most usable web server control in asp.net. TextBox control is a rectangular box which is used to take user to input. In simple word the TextBox is a place where user can input some text on asp.net web form. To use TextBox on page we can write code or just drag and drop from toolbox.