Question: You are in the process of creating an ASP.NET application using .NET Framework 3.5. The application is designed for mobile devices and contains a mobile Web form. The Web form has the following code:
<mobile:ObjectList ID="OlCrtl" OnItemCommand="OlCrtl_ItemCommand"
<Command Name="cmdShowData" Text="Data" />
<Command Name="cmdClear" Text="Clear" />
You then create an event handler named OlCrtl_ItemComman You have to make sure that the event handler will identify the selection of the ShowData item. What should you do? You should consider writing the following code segment: Public Sub OlCrtl_ItemCommand(ByVal sender As Object, _ ByVal e As ObjectListCommandEventArgs) Dim olCmd As ObjectListCommand = TryCast(sender, ObjectListCommand) If olCmd.Name = “ShowData” Then End If End Sub … Click here to continue…..
Question: You work as an application developer at Company.com. You are in the process of creating an ASP.NET application that uses Microsoft .NET Framework v3.5. Your application contains a Web page named Index.aspx that includes various controls. You create a custom control named ckCache that you add to the Index.aspx pag You have to make sure that the ckCache control does not affect the cache settings of other controls on the Index.aspx page and that it remains static for sixty seconds. What should you? This can be accomplished by adding the ProfileCache class that inherits from the ConfigurationSection class to … Click here to continue…..
Question: You work as a Web Developer at Company.com. You are in the process of creating a Web application that uses Microsoft ASP.NET 3.5. You decide to enable view state on all pages in the application. During routine monitoring you discover that certain pages contain large amounts of information that travel between the Web server and the client’s browser. You decide to modify the application in order to store view state in a databas What should you do? (Choose all that apply) You should consider defining a control adapter in a browser definition file of the App_Browsers folder. You should … Click here to continue…..
Question: You work as an application developer at Company.com. The previous developer created a Microsoft ASP.NET application that uses Microsoft .NET Framework 3.5. You need to capture the timing and performance information of the application. Management wants you to make sure that data is only accessible when a client is logged onto the Web server not the individual Web pages. What should you do? You should consider adding <compilation debug=”true” /> to the Web.config fil You should consider adding <compilation debug=”false” urlLinePragmas=”true” /> to the Web.config fil You should consider adding <trace enabled=”true” writeToDiagnosticsTrace=”true” pageOutput=”true” localOnly=”true” /> to the Web.config … Click here to continue…..
Question: You work as a Web Developer at Company.com. Company.com is currently using Microsoft ASP.NET 3.5. You then decide to create a Web application with a page that contains a DropDownList control named _cultureDDL. A record of languages to which the user interface is localized is displayed by the DropDownList control. The page makes use of local resources in the App_LocalResources folder. You want to write code in order to localize the page based on the selected languag You need to make sure that the solution retains the localized version of the page across postback requests. What should you do? … Click here to continue…..