Top 50+ Solved Webenabled application MCQ Questions Answer
Q. We can limit the amount of text entered into TextBox control by setting .................. property to a specific number of characters.
a. maxlength
b. totallength
c. textamount
d. textlimit
Q. TextBox controls also can be used to accept password if the ................. property is used to mask characters.
a. passwordchar
b. passwordcharacter
c. maskchar
d. passwordcontrol
Q. Each hyperlink is a object of the ................... class and is stored in a collection called links.
a. hyperlink.link
b. linklabel.link
c. link.linklabel
d. link.hyperlink
Q. Which of the following is NOT the public properties of TextBox objects.
a. autosize
b. backcolor
c. bulletindent
d. maxlength
Q. i) Clear ii) Paste iii) LoadFile iv) Paste
a. i, ii and iii only
b. ii, iii and iv only
c. i, ii and iv only
d. all i, ii, iii and iv
Q. Which of the following is NOT the public events of TextBox objects.
a. autosize changed
b. readonly changed
c. click
d. link clicked
Q. i) None ii) Horizontal iii) Vertical iv) Both
a. i, ii and iii only
b. ii, iii and iv only
c. i, ii and iv only
d. all i, ii, iii and iv
Q. In order for the scroll bars to actually appear, the text box's ................. property must be True.
a. multiline
b. multitext
c. scrolling
d. multivisible
Q. Which of the following is NOT the public property of RichTextBox Objects.
a. detecturls
b. detecttext
c. bulletindent
d. rightmargin
Q. i) CanDelete ii) Find iii) LoadFile iv) SelectAll
a. i, ii and iii only
b. ii, iii and iv only
c. i, ii and iv only
d. all i, ii, iii and iv
Q. The SaveFile method is used to save the text in a rich text box to disk, and the ................ method to read it back.
a. loadfile
b. readfile
c. readit
d. readback
Q. i) BottomCenter ii) MiddleTop iii) TopLeft iv) MiddleLeft
a. i, ii and iii only
b. i, iii and iv only
c. i, ii and iv only
d. all i, ii, iii and iv
Q. i) ActiveLinkColor ii) LinkSize iii) LinkBehavior iv) Links
a. i, ii and iii only
b. i, iii and iv only
c. i, ii and iv only
d. all i, ii, iii and iv
Q. Hyperlinks can be created using the ........................................ method in LinkClicked event handler.
a. system.diagnostics.process.start
b. system.diagnostics.hyperlinks.start
c. system.diagnostics.link.start
d. system.diagnostics.link.event
Q. In order to get the text associated with the link, ..................... method can be used.
a. e.datlink.tostring
b. e.link.linkdata.tostring
c. e.linkdata.link.tostring
d. e.link.data.tostring