Call
whatsapp
9447387064 | 9847003556
0471-2335855 | 8089080088 | 0471-2334855
9447387064 | 9847003556
0471-2335855 | 8089080088 | 0471-2334855
Cisco Training in Trivandrum, Trinity Technologies

No.1 Training Institute in Kerala

ASP.NET QUESTIONS : PART 7

Which of the following is not a member of Response Object?

 

Clear

Write

Execute

Flush

SHOW ANSWER

You have a DataList control containing a LinkButton. What would you do to raise the DeleteCommand event in the DataList by clicking on the LinkButton.

Set CommandName="delete" in the LinkButton

Set the OnDelete property of the DataList to the ID of the LinkButton

A DataList control cannot raise an event in response to events raised by its child controls

A DataList control cannot contain child controls

SHOW ANSWER

Which of the following web server control display static text that can change at runtime?

Image

Textbox

Label

Hyperlink

SHOW ANSWER

Which web server control is used to display advertisement in ASP.NET web pages?

Image

Image map

Panel

Ad rotator

SHOW ANSWER

Which is used to add event code (on C# Code) for TextBox control in Source view (ASP.NET)

 

MsgSent.Text = Msg.Text;

MsgSent.Text = Msg.Text

Both

None

SHOW ANSWER

What’s the difference between responses. Write () and Response.Output.Write ()?

The first one allows you to write formatted output.

The latter one allows you to write formatted output.

no difference.

The latter one allows you to write unformatted output.

SHOW ANSWER

Which of the following is true ?

 

AJAX is a platform-independent technologyAJAX can work with web applicationAJAX can only work with ASP.NETAJAX is a platform-dependent technology SHOW ANSWER

Which control is required for every page that have AJAX Extensions for ASP.NET?

UpdatePanel

ScriptManager

ContentPanel

None of the above

SHOW ANSWER

Which of the following is a valid skin code inside a skin file?

 

<asp:TextBox BackColor=”Yellow” BorderStyle=”Dotted” ID=”colorTxt” Runat=”Server”/>

<asp:TextBox BackColor=”Yellow” BorderStyle=”Dotted” Runat=”Server” />

 <asp:TextBox BackColor=”Yellow” BorderStyle=”Dotted” ID=”colorTxt” />

None of the above.

SHOW ANSWER

What are the advantages of AJAX?

 

AJAX is a platform-independent technology

 It provides partial-page updates

Improved performance

All of the above

SHOW ANSWER

There is a button on page name cancel and it should bypass validation when cancel button is clicked. What will you do?

set CausesValidation = false

set RemoveValidation=true

set cancel=true

None of the above

SHOW ANSWER

Which attribute is necessary for HTML control to work as a HTML server control? 

runat=”server”

runat=”web-server”

ID=”server”

ID=”web-server”

SHOW ANSWER

Which control can be used to update only the portion of the page?

UpdatePanel

ScriptManager

AsyncPostBackTrigger

None of the above.

SHOW ANSWER
BACK | NEXT
TRINITY SOFTWARE SOLUTIONS,IInd floor, Radheyam Towers, Gandhari Amman Kovil Road, Pulimood, Trivandrum - 1
0471-2334855 | 2335855 | 9447387064 | 9847003556 info@trinitytechnology.in