PrepAway - Latest Free Exam Questions & Answers

Tag: Exam 70-515 (update August 24th, 2013)

Exam 70-515: TS: Web Applications Development with Microsoft .NET Framework 4 (update August 24th, 2013)

Which two code segments should you add?

You are developing an ASP.NET Web page that uses jQuery validation.
The user should enter a valid email address in a text box that has ID txtEmail. The page must display “E-Mail
address required” when the user does not enter an address and “Invalid e-mail address” when the user enters
an address that is not formatted properly.
You need to ensure that the appropriate error message is displayed when the text box does not contain a valid
e-mail address.
Which two code segments should you add? (Choose 2)

You need to acces the EmployeeName value and display the value within the lblEmployeeName label

You are developing an ASP.Net web application.
The application includes a master page named CustomerMaster.master that contains a public string property
name EmployeeName application also includes a second master page named NestedMaster.master that is
defined by the following directive.
<%@ Master Language=”C#”
MasterPageFile=”~/CustomMaster.Master”
CodeBehind=”NestedMaster.Master.cs”
Inherits=”MyApp.NestedMaster”%>
You add a content page that uses the NestedMaster.master page file.The content page contains a label control
named lblEmployeeName.
You need to acces the EmployeeName value and display the value within the lblEmployeeName label.
What should you do?


Page 18 of 19« First...10...1516171819