web analytics

Tag Archive: 70-515 free dumps

New Microsoft 70-515 Exam Questions and Best 70-515 Dumps Download (161-170)

QUESTION 161
You are dynamically adding controls to an ASP.NET page in the Page_Load event handler. The page will have text boxes that correspond to the columns in a database table. Each text box will be preceded by a label that displays the name of the corresponding column. You need to create the form so that when the user clicks the label, the corresponding text box is selected for input. What should you do?

A.    For each column, output the following HTML, where COL is replaced by the name of the column.
<label>COL</label>
<input name=”COL” type=”text” id=”COL” />
B.    For each column, output the following HTML, where COL is replaced by the name of the column.
<label AssociatedControlID=”COL”>COL</label>
<input name=”COL” type=”text” id=”COL” />
C.    For each column, create an asp:Label control and a corresponding asp:TextBox that have the same ID.
D.    For each column, create an asp:Label control and set the AssociatedControlID to the ID of the corresponding asp:Textbox control.

(more…)

New Microsoft 70-515 Exam Questions and Best 70-515 Dumps Download (91-100)

QUESTION 91
You are developing an ASP.NET Web page. You add a data-bound GridView control. The GridView contains a TemplateField that includes a DropDownList. You set the GridViews ClientIDMode property to Static, and you set the ClientIDRowSuffix property to ProductID. You need to be able to reference individual DropDownList controls from client-side script by using the ProductID. What should you set the ClientIDMode property of the DropDownList to?

A.    AutoID
B.    Static
C.    Inherit
D.    Predictable

(more…)

New Microsoft 70-515 Exam Questions and Best 70-515 Dumps Download (71-80)

QUESTION 71
You are implementing an ASP.NET AJAX page that contains two div elements. You need to ensure that the content of each div element can be refreshed individually, without requiring a page refresh. What should you do?

A.    Add two forms to the page.
Add a script manager and an update panel to each form.
Add a content template to each update panel, and move each div element into a content template.
B.    Add two forms to the page.
Add a script manager and an update panel to each form.
Add a content template to each update panel, and move each div element into a content template.
C.    Add a form and two update panels to the page.
Add a script manager to the form.
Add a content template to each update panel, and move a div element into each content template.
D.    Add a form and two update panels to the page.
Add two script managers to the form, one for each update panel.
Add a content template to each update panel, and move each div element into a content template.

(more…)

New Microsoft 70-515 Exam Questions and Best 70-515 Dumps Download (51-60)

QUESTION 51
You are implementing an ASP.NET page that hosts a user control named CachedControl. You need to ensure that the content of the user control is cached for 10 seconds and that it is regenerated when fetched after the 10 seconds elapse. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

A.    Modify the hosting page’s caching directive as follows.
<%@ OutputCache Duration=”10″ VaryByParam=”None” %>
B.    Add the following meta tag to the Head section of the hosting page.
<meta http-equiv=”refresh” content=”10″>
C.    Add the following caching directive to the hosted control.
<%@ OutputCache Duration=”10″ VaryByParam=”None” %>
D.    Add the following caching directive to the hosted control.
<%@ OutputCache Duration=”10″ VaryByControl=”None” %>

(more…)

New Microsoft 70-515 Exam Questions and Best 70-515 Dumps Download (41-50)

QUESTION 41
You are implementing an ASP.NET MVC 2 application.
In the Areas folder, you add a subfolder named Product to create a single project area.
You add files named ProductController.cs and Index.aspx to the appropriate subfolders.
You then add a file named Route.cs to the Product folder that contains the following code. (Line numbers are included for reference only.)
01 public class Routes : AreaRegistration
02 {
03     public override string AreaName
04     {
05         get { return “product”; }
06     }

(more…)

New Microsoft 70-515 Exam Questions and Best 70-515 Dumps Download (1-10)

QUESTION 1
You are implementing an ASP.NET application that uses data-bound GridView controls in multiple pages.
You add JavaScript code to periodically update specific types of data items in these GridView controls.
You need to ensure that the JavaScript code can locate the HTML elements created for each row in these GridView controls, without needing to be changed if the controls are moved from one pa to another. What should you do?

A.    Replace the GridView control with a ListView control.
B.    Set the ClientIDMode attribute to Predictable in the web.config file.
C.    Set the ClientIDRowSuffix attribute of each unique GridView control to a different value.
D.    Set the @ OutputCache directive’s VaryByControl attribute to the ID of the GridView control.

(more…)