You are building an ASP.NET control. The control displays data by using a table element with a class attribute value of Results.
The control should expose a client-side event named onrowselected that fires when a check box in a table row is selected.
You need to implement this client-side event.
What should you do?
A. $('.Results input:checked').onrowselected = function (e, sender) { ...};You are implementing a WCF service library. You add a new code file that contains the following code segment.
Namespace ContosoWCF
You build the service library and deploy its assembly to an IIS application. You need to ensure that the GetCurrentRate method can be called from JavaScript. What should you do?
A. Add a file named Service.svc to the IIS application. Add the following code segment to the file.< %@ ServiceHost Service="ContosoWCF.IRateService"Factory="System.ServiceModel.Activation.WebScriptServiceHo stFactory"%>A Web page includes the HTML shown in the following code segmen Check out
the FAQ on
Contoso's web site for more information:
FAQ.
You need to write a JavaScript function that will dynamically format in boldface all of the hyperlinks in the ref span.
Which code segment should you use?
A. $("#ref").filter("a[href]").bold();You are developing an ASP.NET AJAX extender control. The extender includes the following segment.
public class DisabledButtonExtender : ExtenderControlBase { [ExtenderControlProperty] public string TargetID { get{...} set{...} } }
You need to ensure that the extender can be user to extend only text boxes and that the targetID property can reference only buttons. What should you do?
A. Apply the following attribute to the class.[ValidationProperty("TextBox")]Apply the fallowing attribute to TargetID[Filterable(true)]You use the following declaration to add a Web user control named TestUserControl.ascx to an ASP.NET page named TestPage.aspx.
You add the following code to the code-behind file of TestPage.aspx.
private void TestMethod()
{
...
}
You define the following delegate.
public delegate void MyEventHandler();
You need to add an event of type MyEventHandler named MyEvent to TestUserControl.ascx and attach the page's TestMethod method to the event.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Add the following line of code to TestUserControl.ascx.cs.public event MyEventHandler MyEvent;You are implementing an ASP.NET Web site. The site allows users to explicitly choose the display language for the site# s Web pages. You create a Web page that contains a DropDownList named ddlLanguage, as shown in the following
code segment.
The site contains localized resources for all page content that must be translated into the language that is selected by the user.
You need to add code to ensure that the page displays content in the selected language if the user selects a language in the drop-down list.
Which code segment should you use?
A. Protected Sub SelectedLanguageChanged(ByVal sender As Object, ByVal e As EventArgs) Handles ddlLanguage.SelectedIndexChanged Page.UICulture = ddlLanguage.SelectedValue End SubYou have an ASP.NET web application that uses master pages and content pages. You must initialize and close multiple resources from different events. In what order do events in the master pages and content pages occur?
Select and Place:

You are developing an ASP.NET application by using Visual Studio 2010. You need to interactively debug the entire application. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Set the Debug attribute of the compilation node of the web.config file to true.Which class provides paging functionality for data-bound controls that implement the IPageableItemContainer interface?
A. DataPagingFieldWhich of the following is the correct syntax to specify the path to a file that generates the strong type?
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 70-515 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.