Home
Current Affairs January 2024

What is the correct answer?

4

You have an image that is clickable and you want a pop-up window to display text that identifies the action that will be taken if the user clicks the image. What will you do?

A. For each image, set the AlternateText property to specify the text you want to display, and set the ToolTip property to True.

B. For each image, set the ToolTip property to specify the text you want to display.

C. In the onmouseover event handler for each image, add code that calls the RaiseBubbleEvent() method of the System.Web.UI.WebControls.Image class.

D. In the onmouseover event handler for each image, add code that calls the ToString() method of the System.Web.UI.WebControls.Image class.

Correct Answer :

B. For each image, set the ToolTip property to specify the text you want to display.


Related Questions

What is the correct answer?

4

Choose the form in which Postback occur

A. HTMLForms

B. Webforms

C. Winforms

D. None of these

What is the correct answer?

4

To make a RepeaterControl viewable, the controls ____________ must be edited

A. DataSource

B. DataMember

C. ItemTemplate

D. Template

What is the correct answer?

4

In ___________ records are locked when the update method is called

A. LockReadOnly

B. LockPessimistic

C. LockOptimistic

D. LockDynamic

What is the correct answer?

4

Caching type supported by ASP.Net

A. Output Caching

B. DataCaching

C. a and b

D. none of the above

What is the correct answer?

4

____________ converts virtual path to default path

A. Server.MapPath and Request.MapPath

B. Server.MapPath and Response.MapPath

C. Response.MapPath and Request.MapPath

D. All of the above

What is the correct answer?

4

In ___________ records are locked when you start editing.

A. LockReadOnly

B. LockPessimistic

C. LockOptimistic

D. LockDynamic

What is the correct answer?

4

__________.CreateObject("ADODB.Connection") creates a new connection.

A. Session

B. Request

C. Response

D. Server

What is the correct answer?

4

One difference between ASP.NET and ASP is that ASP is more structure than ASP.NET

A. True

B. False

What is the correct answer?

4

HTML elements, HTML server controls and ASP.NET server controls can be used on the same form

A. True

B. False

What is the correct answer?

4

How do you get information from a form that is submitted using the "post" method?

A. Request.QueryString

B. Request.Form

C. Response.write

D. Response.writeln

What is the correct answer?

4

ASP.NET use

A. Compiler

B. Interpreter

What is the correct answer?

4

For Adrotator control the XML file is mentioned through ________ property

A. File

B. Name

C. Advertisement File

D. Ad File

What is the correct answer?

4

To pass queries to Crystal Reports use

A. SelectionFormula

B. Formula

C. Filter

D. None of the above

What is the correct answer?

4

Attribute must be set on a validator control for the validation to work.

A. ControlToValidate

B. ControlToBind

C. ValidateControl

D. Validate

What is the correct answer?

4

Why is Global.asax is used?

A. Declare Global variables

B. Implement application and session level events

C. No use

D. Both a and b

What is the correct answer?

4

If a page name is WebForm1.aspx and it resides in ../Test/, then it will inherit from

A. WebForm1

B. WebForm1/Test

C. Test/WebForm1

D. Test.WebForm1

What is the correct answer?

4

This file stores your web configuration

A. Web.conf

B. Web.config

C. WebConfig.ini

D. WebConf.ini

What is the correct answer?

4

To display HTML tags as it is use

A. Encode

B. HTMLEncode

C. URLEncode

D. EncodeHTML

What is the correct answer?

4

You can send an e-mail with an attachment using only SmtpMail class

A. True

B. False

What is the correct answer?

4

Which of the following is not a member of ADODBCommand object?

A. ExecuteScalar

B. ExecuteStream

C. Open

D. ExecuteReader

What is the correct answer?

4

A DataSet can be generated from

A. Page and DataConnection Object

B. DataAdapter and Page Object

C. DataAdapter and DataConnection Object

D. All of the above

What is the correct answer?

4

What are unique properties of RangeValidator control?

A. Maximum value

B. Minimum value

C. Type

D. All of the above

What is the correct answer?

4

__________ and __________ event are the two most commonly supported server-side events. (Click and Change)

A. Click and Change

B. Click and DblClick

C. KeyUp and KeyDown

D. KeyEnter and KeyPress

What is the correct answer?

4

Default event handler for Link Label is

A. LinkClicked

B. Clicked

C. LinkActivated

D. ActiveLinkClicked

What is the correct answer?

4

A _____________ is a logical naming scheme for grouping related types of

A. objects together.

B. class

C. namespace

D. interface

What is the correct answer?

4

In ASP.NET if a file is saved, it is save only in the server machine.

A. True

B. False

What is the correct answer?

4

Checkboxes have same name and different values while Radio Buttons have the reverse

A. True

B. False

What is the correct answer?

4

.DirectoryInfo gives information about any Directory

A. True

B. False

What is the correct answer?

4

Which of the following tool is used to manage the GAC?

A. RegSvr.exe

B. GacUtil.exe

C. GacSvr32.exe

D. GacMgr.exe

What is the correct answer?

4

How can you check if the page is visited for the first time

A. Use PostBack

B. Use IsPostBack

C. Use Post

D. Use Get