Click here to Skip to main content
15,897,273 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionServerControl property defined as Interface isn't available in Intellisense Pin
Mark J. Miller25-Jun-08 11:36
Mark J. Miller25-Jun-08 11:36 
QuestionUnable to set focus to a text box contained in a gridview's row cell after post-back and binding. Pin
Steve Holdorf25-Jun-08 10:57
Steve Holdorf25-Jun-08 10:57 
AnswerRe: Unable to set focus to a text box contained in a gridview's row cell after post-back and binding. Pin
Masood Kochi,SSF25-Jun-08 19:49
Masood Kochi,SSF25-Jun-08 19:49 
GeneralRe: Unable to set focus to a text box contained in a gridview's row cell after post-back and binding. Pin
Steve Holdorf26-Jun-08 2:44
Steve Holdorf26-Jun-08 2:44 
AnswerRe: Unable to set focus to a text box contained in a gridview's row cell after post-back and binding. Pin
boy.pockets25-Jun-08 19:52
boy.pockets25-Jun-08 19:52 
Questionpage navigation Pin
jds120725-Jun-08 8:42
jds120725-Jun-08 8:42 
AnswerRe: page navigation Pin
Zoltan Balazs25-Jun-08 9:57
Zoltan Balazs25-Jun-08 9:57 
QuestionExam questions. Are they wrong or what? Pin
AlexeiXX325-Jun-08 7:45
AlexeiXX325-Jun-08 7:45 
Hi thanks for looking, im studying for test 70-528, but in the simulators ive found some questions that i cant really understand
Let me know what you think about these quesitons. Any comments will be appreciated
The answers at the end of each question are the answers provided in the simulator




You create a Web Form. The Web Form allows users to recover their passwords. You add a PasswordRecovery server control by using the following code segment.
<asp:PasswordRecovery runat="server">
You need to ensure that the server control generates a new password and sends it by e-mail to the users email address.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

A. Create a valid <smtp> definition in the Web.config file.
B. Set the passwordFormat attribute of the configured membership provider to Encrypted.
C. Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to False.
D. Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to True.

Answer: A, C
My comments: Should we set the enablePasswordRetrieval to true instead of false?


===========================
You create Web sites for your company. You apply a consistent design to the pages and controls of the Web sites. You need to make style changes to all of the Web sites on the Web server. You want to achieve this goal without having to edit the individual pages on each Web site. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

A. Place a theme in the App_Themes directory under the application root directory.
B. Place a theme under an ASP.NETClientFiles folder under the ASP.NET installation directory.
C. Assign a theme by setting the <%@ Page Theme="..." %> directive to the name of the application theme.
D. Assign a theme by specifying the <pages theme="..."/> section in the Web.config file.

Answer: B, D


========================
You create a Web Form. You need to add controls that use adaptive rendering to display content. The type of content rendered must depend on the device that is requesting the page. What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)

A. Add custom controls that emit XHTML to the Web Form.
B. Add custom controls that emit WML to the Web Form.
C. Add mobile controls to the Web Form.
D. Add Web server controls to the Web Form.

Answer: C, D
My comments: Ive seen this question with C,D and also B,D as answers, whats the right one?


============================
You create a Web Form that displays a GridView. The GridViews data source is a DataSet named dsOrders. The DataSet contains two DataTables named Orders and OrderDetails. You create a relation between the two DataTables using the following code segment. (Line numbers are included for reference only.)
01 dtOrders = dsOrders.Tables[“Orders”];
02 dtOrderDetails = dsOrders.Tables[“OrderDetail”];
03 colParent = dtOrders.Columns[“OrderID”];
04 colChild = dtOrderDetails.Columns[“ParentOrderID”];
05 dsOrders.Relations.Add(“Rell”, colParent, colChild, false);
You need to find the cause of the exception being raised in line 05. What should you do?

A. Ensure that the child column and the parent column have the same names.
B. Ensure that the child table and the parent table have the same names.
C. Ensure that the child column and the parent column have the same data types.
D. Ensure that each row in the child table has a corresponding row in the parent table.
E. Ensure that the tables have an explicit relationship defined by a foreign key constraint in the database.

Answer: D
My comments: Ive seen this qustion with C D and even B in different tests, i think the rigth one is C since false is being passed as the last parameter to the add method of the relations, what do you think?



Thanks in advance for any feedback

Alexei Rodriguez

NewsTools to Check Your ASP, ASP.NET Site For SQL Injection Attacks Pin
brucedkyle25-Jun-08 6:06
brucedkyle25-Jun-08 6:06 
GeneralRe: Tools to Check Your ASP, ASP.NET Site For SQL Injection Attacks Pin
Christian Graus25-Jun-08 12:22
protectorChristian Graus25-Jun-08 12:22 
Questionhow come script works in firefox but not ie Pin
zzsoulzz25-Jun-08 5:42
zzsoulzz25-Jun-08 5:42 
AnswerRe: how come script works in firefox but not ie Pin
Parwej Ahamad25-Jun-08 5:45
professionalParwej Ahamad25-Jun-08 5:45 
GeneralRe: how come script works in firefox but not ie Pin
zzsoulzz25-Jun-08 6:03
zzsoulzz25-Jun-08 6:03 
GeneralRe: how come script works in firefox but not ie Pin
Parwej Ahamad25-Jun-08 6:17
professionalParwej Ahamad25-Jun-08 6:17 
GeneralRe: how come script works in firefox but not ie Pin
zzsoulzz25-Jun-08 6:23
zzsoulzz25-Jun-08 6:23 
GeneralRe: how come script works in firefox but not ie Pin
Parwej Ahamad25-Jun-08 6:34
professionalParwej Ahamad25-Jun-08 6:34 
GeneralRe: how come script works in firefox but not ie Pin
zzsoulzz25-Jun-08 6:39
zzsoulzz25-Jun-08 6:39 
GeneralRe: how come script works in firefox but not ie Pin
Parwej Ahamad25-Jun-08 6:47
professionalParwej Ahamad25-Jun-08 6:47 
GeneralRe: how come script works in firefox but not ie Pin
zzsoulzz25-Jun-08 7:09
zzsoulzz25-Jun-08 7:09 
GeneralRe: how come script works in firefox but not ie Pin
Parwej Ahamad25-Jun-08 7:12
professionalParwej Ahamad25-Jun-08 7:12 
GeneralRe: how come script works in firefox but not ie Pin
zzsoulzz25-Jun-08 7:20
zzsoulzz25-Jun-08 7:20 
AnswerRe: how come script works in firefox but not ie Pin
Christian Graus25-Jun-08 12:26
protectorChristian Graus25-Jun-08 12:26 
Questionbutton requires 2 clicks to open a file browser Pin
gottimukkala25-Jun-08 5:28
gottimukkala25-Jun-08 5:28 
AnswerRe: button requires 2 clicks to open a file browser Pin
Parwej Ahamad25-Jun-08 5:37
professionalParwej Ahamad25-Jun-08 5:37 
QuestionCrystal reporting problems in ASP.Net project Pin
Richard Jones25-Jun-08 5:08
Richard Jones25-Jun-08 5:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.