ASP .NET Short Questions MCQs with Answer




Q: 1_________is not an asp Control.  
A. Rich Controls 
B. Data Controls 
C. Navigation Conrols 
D. Rich Data Controls 

ANSWER: D

Q:2  Asp.net Controls are start with ?

A. <?asp

B. <?

C. <%

D. <asp:

ANSWER: D

Q:3  ASP.NET web page Extention________.

A. .aspx

B. .asp

C. .asxp

D. A and B both

ANSWER: A

 

Q:4 View State Property of control is used for __________.

A. Remove the control value across multiple page requests.

B. Retains the control value across multiple page requests.

C. A and B

D. None of these

ANSWER: B

 

Q:5 By default View State is Enabled for every control in asp.net

A. True

B. False

C. Can't say

D. None of these

ANSWER: A

 

Q:6 __________ is not a page handling event?

A. PreInit

B. Init

C. PostInit

D. InitComplete

ANSWER: C

 

Q:7 Trace is used for ________.

A. Determines View State of each conrol is enable or not

B. How much View State each control Contained in a page

C. A and B

D. None of these

ANSWER: B

 

Q:8 Click event does not happen on server until

A. After the load event

B. Before the PreRender event

C. A and B both

D. None of these

ANSWER: C

 

Q:9 Page.IsPostBack="true" Property is used for

A. Posted Back the page to the server

B. Posted Back the page to the client

C. A and B

D. None of these

ANSWER: A

 

Q:10 Page_Load() event handler

A. Executes only once when the page first loads

B. Executes every time when IsPostBack property returns true

C. Executes when needed by user

D. none of these

ANSWER: A

 

Q:11 Asp.net web pages can be created with

A. .aspx

B. .aspx and .aspx.cs

C. either A or B

D. none of these

ANSWER: C

 

Q:12 In code behind page asp page controls resides in

A. .aspx

B. .aspx.cs

C. .asp

D. none of these

ANSWER: B

 

Q:13 The web page that contains page controls is called

A. Presentation page

B. Code behind page

C. A and B both

D. None of these

ANSWER: A

 

Q:14 If you need to view detailed error messages when a execute a page set __________.

A. Msg="true"

B. Trace="true"

C. Error="true"

D. Debug="true"

ANSWER: D

 

Q:15 The <%@ Page %> directive includes

A. Debug="true"

B. Trace="true"

C. A and B both

D. None of these

ANSWER: C

 

Q:16  Label control's text property can display

A. Simple Text

B. Html Text

C. A and B both

D. none of these

ANSWER: C

 

Q:17 AssociativeControlID property of Label can be used to 

A. Point at ASP.NET control that represent a form field

B. Point at ASP.NET control that represent a form

C. A and B both

D. None of these

ANSWER: A

 

Q:18  Difference between Label and Literal Contol is

A. Label Control does not render its content as Literal

B. Literal Control does not render its content as Label

C. No difference

D. none of these

ANSWER: B

 

Q:19  Literal Control does not support any of the formatting properties supported by <span> tag

A. True

B. False

C. Can't say

D. None of these

ANSWER: A

 

Q:20  Mode property is of

A. Label Control

B. Literal Control

C. A and B both

D. None of these

ANSWER: B

 

Q: 21 PassThrough Value of Mode property is used to

A. Display the contains of the control after HTML encoding

B. Display the contains of the control after stripping markup not supported by device

C. Display the contains of the control without encoding

D. None of these

ANSWER: C

 

Q:22  Encode Value of Mode property is used to

A. Display the contains of the control after HTML encoding

B. Display the contains of the control after stripping markup not supported by device

C. Display the contains of the control without encoding

D. None of these

ANSWER: A

 

Q:23  Transform Value of Mode property is used to

A. Display the contains of the control after HTML encoding

B. Display the contains of the control after stripping markup not supported by device

C. Display the contains of the control without encoding

D. None of these

ANSWER: B

Q:24 If you are using relative URL for image in a master page like

<img src=”Picture.gif” /> Then

A) Interpreted relative to a particular content page

B) Interpreted relative to Master Page

C) Interpreted relative to HTML page

D) None of These

ANS: A

 

 

 

Q: 25 To Create a group of radio button controls set ________ property

A. Group

B. Name

C. GroupName

D. GroupId

ANSWER: C

 

Q:26  To Submit a Form to the server you can use

A. Button

B. LinkButton

C. ImageButton

D. All of the above

ANSWER: D

 

Q:27  To execute a client-side Script when button is click ________ Property is used.

A. OnClientClick

B. OnClick

C. ClientClick

D. OnClientSideScript

ANSWER: A

 

Q:28  To use a java-script to post a form when button is click ________ Property is used.

A. UseBehaviour

B. UseSubmitBehaviour

C. UseJavaScript

D. UseSubmitJavaScript

ANSWER: B

 

Q:29  Clicking the LinkButton invokes the javascript___________ method , which Posts form to the server.

A. _doPostBack()

B. _doPost()

C. _doBack()

D. none of these

ANSWER:  A

 

Q:30 The perameters of ImageButtonControl's are

A. (Object Sender,ImageArgsClick e)

B. (Object Sender,ImageClick e)

C. (Object Sender,ImageArgs e)

D. (Object Sender,ImageClickArgs e)

ANSWER: D

 

Q: 31 To Perform a Cross-Page Post _________ property of Button is use.

A. PostUrl="abc.aspx"

B. PostBack="abc.aspx"

C. PostBackUrl="abc.aspx"

D. PostFwdUrl="abc.aspx"

ANSWER: C

 

Q:32  ________ method is used to retrived a control of the privious page.

A. PreControl()

B. FindControl()

C. PrePageControl()

D. PreFindControl()

ANSWER: B

 

Q:33  To specify a default Button for a form

A. Defaultbutton Property of Button control is set

B. Defaultbutton Property of form control is set

C. Defaultbutton Property of page is set

D. None of these

ANSWER: B

 

Q:34  To handle a command event of the button __________ property is used.

A. Command

B. CommandName

C. CommandArgument

D. B and C Both

ANSWER: D

 

Q:35  __________ property Links to a page that contains a detail about the image.

A. DescriptionUrl

B. DetailUrl

C. DescriptionDetailUrl

D. None of these

ANSWER: A

 

Q:36  To define an irregularly shaped region in a image map ________ class is used.

A. Polygon

B. PolyHotSpot

C. PolygonHotSpot

D. None of these

ANSWER: C

 

Q:37  The values HotSpotMode Property of ImageMap Control can be

A. Inactive

B. Navigate

C. PostBack

D. All of the above

ANSWER: D

 

Q:38  we can set a default button in a Panel.

A. True

B. False

C. can't say

D. None of the above

ANSWER: A

Q:39  FileBytes property of FileUpload Control enables you to get the uploaded file contents as a __________.

A. Byte Array

B. String Array

C. can't say

D. none

ANSWER: A

Q:40 FileContent  property of FileUpload Control enables you to get the uploaded file contents as a __________.

A. Stream

B. Byte

C. Can'say

D. none

ANSWER: A

Q:41  PostedFile property of FileUpload Control enables you to get the uploaded file Wrapped in the __________ Object.

A. HttpPostedFile

B. HttpFile

C. HttpPosted

D. none

ANSWER: A

 

 

 

 

Q:42  ContentType Property of HtttpPostedFile enable you to get the ___________ type of the uploaded file.

A. MIME

B. Binary

C. Long

D. none

ANSWER: A

 

Q:43  Maximum capacity for Uploading a file is ?

A. 4 MB

B. 6 MB

C. 9 MB

D. 10 MB

ANSWER: A

 

Q:44  Possible Values for SelectionMode Property of Calender Control are _________.

A. DayWeek

B. Day

C. DayWeekMonth

D. All of these

ANSWER: D

 

Q:45  Advertisements Of AdRotator Control can be stored in ________.

A. Database Table 

B. XML file

C. html file

D. XML file and Databse

ANSWER: A & B

 

Q:46  __________Event raised after AdRotator control selects an advertisement but before the control renders the advertisement.

A. AdCreated

B. AdRotator

C. AdExecute

D. none

ANSWER: A

 

Q:47 The _________ control enables you to hide and display different areas of a Page.

A. MultiView

B. PageView

C. MultiView,PageView

D. none

ANSWER: A

 

Q:48  _________ Property of the MultiView Control enables you retrive the collection of View Controls contained in the MultiView control.

A. Views

B. View

C. PageView

D. PageViews

ANSWER: A

 

Q:49  SwitchViewByIndex is ___________ of MultiView Contol.

A. Command

B. Property

C. Method

D. Event

ANSWER: A

 

Q:50  __________ Control supports the templates.

A. Wizard

B. PageView

C. MultiView

D. None

ANSWER: A

 

Q:51  AllowReturn is a Property of ____________ Control.

A. WizardStep

B. Wizard

C. MultiView

D. None

ANSWER: A

-

Q:52  If you set StepType Property of WizardStep Control to the value start, a ________ button is not rendereD.

A. Previous

B. complete

C. auto

D. None

ANSWER: A

 

 

Q:53  The extention of master page is __________.

A. .master

B. .aspx

C. .aspxmaster

D. .mstr

ANSWER: A

 

Q:54  Master page contains ____________ directive.

A. <%@ Master %>

B. <%@ MasterPage %>

C. <%@ Page %>

D. <%@ Page="Master" %>

ANSWER: A

 

Q:55  ContentPlaceHolder Controls can be placed only in ____________.

A. Master file

B. Content Page

C. Content Holder file

D. Content place file

ANSWER: A

 

Q:56 The content from the content page appears in __________ controls of the mater page.

A. ContentPlaceHolder

B. ContentPlacepage

C. ContentPageHolder

D. ContentPlaceHolderpage

ANSWER: A

 

Q:57  The master page is a associated with the content page through the ___________ attribute included in <%@ Page %> directive.

A. MasterPageFile

B. MasterPage

C. MasterFile

D. None

ANSWER: A

 

Q:58 If you use a relative URL with asp.net Control the URL is interpreted ______________ to the master page.

A. Relative

B. Absolute

C. Can't say

D. none

ANSWER: A

 

Q:59  Src attribute of <img> html tag that contains relative path is translate into absolute path by___________ method of the page class.

A. ResolveUrl

B. ResolvedUrl

C. Resolved

D. RelativeUrl

ANSWER: A

 

Q:60  ~(tilde) represents _____________ path.

A. Current application directory

B. Previous application directory

C. sub application directory

D. none of these

ANSWER: A

 

Q:61  If we want to apply a master page to every contain page we should write _____________ in weB. config file.

A. <pages masterPageFile="path" />

B. <%@ pages masterPageFile="path" %>

C. <page masterPageFile="path"/>

D. <%@ page masterPageFile="path" %>

ANSWER: A

 

Q:62  When applying a master page to the entire application, if a page does not contain any content control the master page is automatically __________.

A. Ignored

B. Can't say

C. Applied

D. none

ANSWER: A

 

Q:63  When a master page is configured in weB. config file, a MasterPageFile attribute of content page is __________.

A. Overriden

B. Doesn't affect

C. can't say

D. none

ANSWER: A

 

Q:64  If you need to modify only the title dispalyed in each content file __________ attribute of <%@ page %> directive is used.

A. Title

B. TitlePage

C. <title>

D. <head>

ANSWER: A

 

Q:65 To use a Title attribute of <%@ page %> directive for modify the page title, the prior condition is to set ________ attribute to the <head> tag.

A. runat="server"

B. enable="true"

C. visible="true"

D. none

ANSWER: A

 

Q:66  If you need to programmaticaly change the Title or CSS rules included in a master page, you can use the _________ property.

A. Page.Header

B. Page.Title

C. Page.Css

D. IPage.Header

ANSWER: A

 

Q:67  Page.Header property returns an object that implements the ___________ interface.

A. IPageHeader

B. PageTitle

C. PageHeader

D. IPageTitle

ANSWER: A

 

Q:68  IPageHeader Interface has ___________ property.

A. StyleSheet and Title

B. CSS and Title

C. Style and Title

D. none

ANSWER: A

 

Q:69  The page.Header Property returns __________ tag Content in a master page.

A. Server-side <head>

B. Client-side <head>

C. <head>

D. none

ANSWER: A

 

 

Q:70  If you want to modify a property of a control located in a master page from a content page you can use ___________ method in the content page.

A. FindControl()

B. FindContentControl()

C. FindContent()

D. Find()

ANSWER: A

 

Q:71  FindControl() method returns _____________ of the control.

A. Reference

B. Object

C. Id

D. Value

ANSWER: A

 

Q:72  FindControl() method enables you to search a naming container for a control with a particular ______________.

A. Id

B. Referance

C. Value

D. Object

ANSWER: A

 

Q:73 you can load a master page during _____________ event.

A. PreInit

B. PreRender

C. PageLoad

D. PostInit

ANSWER: A

 

Q:74  When we want to change a master page dynamically the name of master page is assigned to a _________ property.

A. Profile

B. MasterPageFile

C. MasterPage

D. MasterProfile

ANSWER: A

 

Q:75  Themes for website are stored in _____________ Special folder.

A. App_Themes

B. App_Theme

C. Themes

D. none

ANSWER: A

 

Q:76  Theme folder contains _____________ file.

A. CSS and Skin

B. CSS

C. Skin

D. none

ANSWER: A

 

Q:77  The contents of a theme folder are automatically compile in the background into a _____________.

A. new class

B. stylesheet

C. can't say

D. none

ANSWER: A

 

Q:78  A theme can content one or more skin file?

A. True

B. False

C. can't say

D. none

ANSWER: A

 

Q:79  ___________ enables you to modify any of the property of an asp.net control that have an effect on it's appearance.

A. Skin

B. Css

C. Stylesheet

D. none

ANSWER: A

 

 

 

Q:80  _____________ attribute of <%@ page %> directive is used to apply a theme to the page.

A. Theme

B. Skin

C. skinname

D. Themename

ANSWER: A

 

Q:81   Propeties that modifies by a skin file are call ___________.

A. Themeable

B. Skinable

C. can't say

D. none

ANSWER: A

 

Q:82  The properties that modify by skim file have an effect on a controls ____________.

A. appearance

B. behaviour

C. appearance and behaviour

D. none

ANSWER: A

 

Q:83 The properties that modify by skim file have not effect on a controls ____________.

A. behaviour

B. appearance

C. appearance and behaviour

D. none

ANSWER: A

 

 

Q:84 You can overrite skin properties by applying a theme to a page with the ____________ attribute.

A. StyleSheetTheme

B. StyleTheme

C. StyleSheet

D. none

ANSWER: A

 

Q:85  ___________ property is used to prevent a skin from being apply to a particular control in a page.

A. EnableTheming

B. EnableTheme

C. Enable

D. EnableStyleTheme

ANSWER: A

 

Q:86  To apply a theme to ALL pages of website _________ attribute of <pages> is used in weB. config file.

A. theme

B. styleTheme

C. styleSheet

D. styleSheetTheming

ANSWER: A

 

Q:87 To overrite perticular skin property in a page _________ attribute of <pages> is used in weB. config file.

A. styleSheetTheme

B. styleSheet

C. styleTheme

D. styleSheetTheming

ANSWER: A

 

Q:88 If we want to to desable the theme for the particular page ________ attribute of <%@ page %> directive is useD.

A. EnableTheming="False"

B. DisableTheming="True"

C. EnableTheme="False"

D. Theming="False"

ANSWER: A

 

Q:89  You can dynamicaly apply a theme to a page ___________ event of page is useD.

A. PreInit

B. PreRender

C. PreLoan

D. none

ANSWER: A

 

Q:90 If all the validation Controls of form doesn't return error _______ property of Page is set to "true"

A. IsValid

B. IsValidation

C. valid

D. Validation

ANSWER: A

 

Q:91  Possible values for display property of validation controls are ___________.

A. Staic, Dynamic, None

B. Staic,Dynamic

C. Staic,None

D. Dynamic,None

ANSWER: A

 

Q:92 Validation Control hidden with display attribute occupy a screen real estate.

A. False

B. True

C. can't say

D. none

ANSWER: A

 

 

Q:93  __________ property is used to group a validation controls among the multiple forms in the page.

A. ValidationGroup

B. ValidationGroups

C. ValidationGroupId

D. ValidationGroupName

ANSWER: A

 

Q:94  If you want to bypasses any validation in the page ___________ property of the buttion is set to False.

A. CausesValidation

B. CauseValidation

C. CausesValidate

D. none

ANSWER: A

 

Q:95  Default value for Type Property of RangeValidator is ______________.

A. String

B. Integer

C. Double

D. none

ANSWER: A

 

Q:96  Compare validator checks _____________.

A. Type,Value

B. Value

C. Type

D. none

ANSWER: A

 

Q:97 Compare validator checks the value with _____________.

A. Fixed Value and another Controls Value

B. Fixed Value

C. another Controls Value

D. none

ANSWER: A

 

Q:98 Operator property is used with _______ validation control.

A. CompareValidator

B. RequireFieldValidator

C. RangeValidator

D. none

ANSWER: A

 

 

Q:99  ________ control enables you to display a list of all the validation errors in a page.

A. ValidationSummary

B. ValidateSummary

C. AllSummery

D. AllValidation

ANSWER: A

 

Q:100  ValidationSummary Control displays an error message of validation control's _______ property.

A. ErrorMessage

B. ErrorvalidationMessage

C. Message

D. Validationmessage

ANSWER: A

 

Q:101  Possible Values for DisplayMode Property of ValidationSummary is ___________.

A. BulletedList,List and SingleParagraph

B. BulletedList,List

C. BulletedList,SinglePeragraph

D. none

ANSWER: A

 

Q:102  To display pop-up alert box ___________ Property of ValidationSummary control is useD. 

A. ShowMessageBox

B. ShowMsgBox

C. MessageBox

D. ShowMessage

ANSWER: A

 

Q:103  If you set ShowMessageBox Property  to value true,___________property Of ValidationControl is set to False.

A. ShowSummary

B. ShowMessage

C. ShowMessageBox

D. none

ANSWER: A

Q:104  . All the classes contained in the ASP.NET framework are located in an assembly named _____________

A) System.dll

B) System.weB.dll

C) System.assembly

D) None of These

ANS: B

Q:105  . Which protocol is stateless protocol?

A) HTML

B) FTP

C) IP

D) HTTP

ANS: D

 

Q:106   Global Assembly Cache is located physically in your computer’s _________

A) \WINDOWS\Assembly

B) \WINDOWS\Cache

C) \WINDOWS\Cache\Assembly

D) \WINDOWS\Global\Assembly

ANS: A

Q:107   Which control understand web browser?

A) HTML control

B) Web control

C) Both A) and B)

D) None of These

ANS: A

Q:108   Which is  rich control?

A) Wizard control

B) Grid view

C) Details view

D) Panel control

ANS: A

Q:109   In image button control image is not display so text is display which property is use?

A) Text   

B) AlternateText

C) CommandText

D) None of These

ANS: B

Q:110   Is it possible to use nested Master Page?

A) Yes

B) No

C) Sometime

D) None of These

ANS: A

 

Q:111 Which page directive attribute is used to disable dynamic compilation for a single page?

A) CompileMode

B) DynamicCompileMode

C) CompilationMode

D) None of These

ANS: C

Q:112  You cannot disable compilation for pages that include server-side code.

A) True

B) False

C) Cann’t say

D) None of These

ANS: A

Q:113. _________ event happen before any control events.

A) Load

B) PreLoad

C) PreRender

D) Both A) and B)

ANS: A

Q:114 _________ event happen after any control events.

A) Load

B) PreRenderComplete

C) PreRender

D) Both B) and C)

ANS: C

Q:115. The ASP.NET supports ____________ tracing.

A) Page-level

B) Application-level

C) Both A) and B)

D) None of These

ANS: C

Q:116 Which property of label enables you to associate a Cascading Style Sheet class with Label?

A) CascadeCss

B) CssClass

C) CascadeStyle

D) None of These

ANS: B

Q:117. Which is the property of Literal Control?

A) BackColor

B) ForeColor

C) Text

D) All of the above

ANS: C

Q:118  In Which Page Cycle All Controls Are Fully Loaded?

A) Page_Load()

B) Page_Init()

C) Page_Render()

D) Page_Unload()

ANS: A

 

 

Q:119  What DataType is return in IsPostback property?

A) Bite

B) Boolean

C) Int

D) String

ANS: B

Q:120   What is the last stage of the Web forms lifecycle?

A) Event Handling

B) Page_Load

C) Validate

D) Page_Unload

ANS: D

Q:121. The process in which a web page sends data back to the same page on the server is called?

A) PostBack

B) Session

C) Query strings

D) All the above

ANS: A

Q:122 Which is true about the name and text property of a control?

A) They are the same when the control is first created.

B) The text property changes to match any changes in the name property.

C) The name property changes to match any changes in the text property.

D) They are not allowed to be the same and an error will occur if they are.

ANS: A

Q:123. Which is not TextMode value of TextBox Control?

A) SingleLine

B) DoubleLine

C) Password

D) None of These

ANS: B

Q:124 ______________ property does not work when TextMode is set to Multiline.

A) Wrap

B) Rows

C) MaxLength

D) Columns

ANS: C

Q:125 ______________ enables you to associate an AutoComplete class with the TextBox Control.

A) AutoCompleteType

B) AutoPostBack

C) CompleteType

D) None of These

ANS: A

Q:126. Which is not property of CheckBox Control?

A) AccessKey

B) Enabled

C) Checked

D) GroupName

AND: D

  Q:127  . Which is not a property of the Common control class?

  A) Show 

  B) Font 

  C) ForeColor

  D) Name

  ANS: A

Q:128. Which property determines whether a control is displayed to the user? 

  A) Hide

  B) Show

  C) Visible

  D) Enabled

  ANS: C

Q:129   Which is not a common control event?

A) Click

B) SingleClick

C) MouseMove

D) MouseDown

ANS: B

Q:130   What is the most number of states a CheckBox can have?

A) 1

B) 2

C) 3

D) 4

ANS: C

 

Q:131   How many RadioButtons in a Group Box can be selected at the same time?                                   

A) 0

B) 1

C) 2

D) 3

ANS: B

Q:132 Which event is activated when a RadioButton is selected?

A) Checked

B) CheckedChanged

C) Selected

D) SelectedChange

ANS: B

Q:133. Which control enables you to randomly display different advertisements in a page?

A) Advertisement

B) AdRotator

C) AdCreated

D) None of These

ANS: B

Q:134 . To track number of times that an advertisement displays, you need to handle the AdRotator control’s ____________ event.

A) AdCreated

B) AdRender

C) AdOnClick

D) None of These

ANS: A

 

 

Q:135 Dose Wizard control supports templates?

A) Yes

B) No

C) Sometime

D) None of These

ANS: A

 

Q:136 The possible values for the Direction property of Panel Control are________.

A) Set

B) NotSet

C) LeftToRight

D) Both B) and C)

ANS: D

Q:137  Which control does not submit a form to a server?

A) Button Control

B) HyperLink Control

C) LinkButton Control

D) Both A) and B)

ANS: B

Q:138. How Many Validation Controls are available?

A) 3

B) 4

C) 5

D) 6

ANS: D

Q:139 . Which validator control is check a users entry is between specified lower and upper boundaries.

A) CustomValidator 

B) CompareValidator               

C) RangeValidator   

D) None of These

ANS: C

Q:140  Which validator control enables you to require a user to enter a value in a form field?

A) RequiredFieldValidator

B) RequiredValidator

C) RequiredValueValidator

D) None of These

ANS: A

Q:141. You can use the validation controls with any control decorated with the ValidationProperty  attribute.

A) True

B) False

C) Cann’t say

D) None of These

ANS: A

Q:142  By setting Display property to the value __________,If other content  displays next to the validation control, the content is not pushed to the right.

A) Static

B) Dynamic

C) None

D) None of These

ANS: B

Q:143. By default, the Display property has the value _________

A) Dynamic

B) Static

C) None

D) None of These

ANS: B

Q:144 ____________ property is set to true, the form focus automatically shifts to the control associated with the validation control when a validation error occurs.

A) SetFocusOnValidation

B) SetFocusOnError

C) SetFocusOnControl

D) None of These

ANS: B

Q:145. The error message appears next to the control which display method is use.

A) Summary              

B) Inline

C) Custom

D) None of These

ANS: B

 

Q:146. Which DisplayMode property is rendered as a link to another page?

A) LinkButton                           

B) Text                                      

C) HyperLink                            

D) None of These

ANS: C

Q:147Which of the below have IsValid Property.

A) CompareValidator

B) RegularExpressionValidator

C) Page

D) All of Above

ANS: D

Q:148 What attribute must be set on a validator control for the validation to work?

A) Validate

B) ValidateControl

C) ControlToBind

D) ControlToValidate

ANS: D

Q:149. ASP.NET separates the HTML output from program logic using feature named as __________

A) Exception

B) Code-behind

C) Code-front

D) None of These

ANS: B

 

 

Q:150 Select the validation control used for “PatternMatching”

A) FieldValidator

B) RegularExpressionValidator

C) RangeValidator

D) PatternValidato

ANS: B

Q:151  _____________enable you to group related form fields together.

A) Valid group

B) Validate Group

C) Validation Group

D) None of These

ANS: C

Q:152Which control enables you to divide a large form into a sub forms?

A) Wizard

B) MultiView

C) Both A) and B)

D) None of These

ANS: A

 

 

Q:153 Which is not the property of RangeValidator?

A) ControlToValidate

B) MaximumValue

C) InitialValue

D) MinimumValue

ANS: C

 

Q:154. which is not the property of CompareValidator?

A) Operator

B) TypeToCompare

C) ValueToCompare

D) ControlToCompare

ANS: B

Q:155 Which is not the value of Operator property of CompareValidator?

A) DataTypeCheck

B) NotEqual

C) IsEqual

D) GreaterThan

ANS: C

Q:156  CustomValidator which default event have ________

A)  ServerValidate

B) CustomValidate

C) Validation

D) None of Above

ANS: A

Q:157. You can add multiple master page to the same application.

A) True

B) False

C) Sometime

D) None of These

ANS: A

 

Q:158. The second parameter of ServerValidate event of CustomValidator is an instance of ______________ class?

A) ServerValidateArgs

B) CustomValidateArgs

C) ServerValidateEventArgs

D) CustomValidateEventArgs

ANS: C

Q:159 Which is not a validation control?

A) RequiredField Validator

B) Compare Validator

C) ErrorValidator

D) RegularExpressionValidator

ANS: C

 

Q:160. Which property is used to cause the CustomValidator control to validate a form field even when the user hasn’t entered a value into the form field?

A) ValidateEmptyValue

B) ValidateEmptyText

C) ValidateEmpty

D) None of These

ANS: B

Q:161  If you don’t assign a value to the Text property, the value of the ErrorMessage property display in both the ValidationSummary and body of the page.

A) True

B) False

C) Sometime

D) Cann’t say

ANS: A

Q:162. ____________ is the base class of all validation control.

A) BaseClass

B) BaseValidatorClass

C) BaseValidClass

D) none of These

ANS: B

Q:163   Can RangeValidator Count TextLength?

A) Yes

B) No

C) can’t say

D) None of These

ANS: B

 

 

Q:164 You need to configure your application using____________ settings to handle large file.

A) maxRequestLength

B) requestLengthDiskThreshold

C) Both A) and B)

D) None of These

ANS: C

Q:165. Which setting determines how a form post is buffered to the file system?

A) requestLengthDiskThreshold

B) responseLengthDiskThreshold

C) requestBufferdDiskThreshold

D) None of These

ANS: A

 

 

 

Q:166 The requestLengthDiskThreshold setting must be less than the maxRequestLength setting.

A) True

B) False

C) Somethime

D) Cann’t say

ANS: A

Q:167. Which calendar control event is used to customize individual day in a calendar web server control?

A) VisibleMonthChanged

B) SelectionChanged

C) DayRender

D) None of These

ANS: C

Q:168  Which property allows you to change the behavior of the calendar so that you can not only select days, but also select weeks or months?

A) SelectionMode

B) SelectedDate

C) SelectionType

D) None of These

ANS: A

 

Q:169  Which is not the event of Calendar control?

A) SelectionChanged

B) VisibleMonthChanged

C) EnabledMonth

D) DayRender

ANS: C

 


No comments:

Post a Comment