What namespace does the Web page belong in the .NET Framework class hierarchy ?
System.Web.UI.PageHandlerFactory
System.Web.UI.PageTheme
System.Web.UI.Page
System.Web.UI.PropertyEntry
Which kind Of data we can store in viewstate ?
Viewstate can store only serilizable object
Viewstate can store anything
Viewstate can store only string
Viewstate can store only numerics
What is object locking?
To make a class private
To make a class sealed
To make a constructor private
None of the above
What is/are the predefined TraceListener(s) in ASP.Net?
TextWriterTraceListener
EventLogTraceListener
DefaultTraceListener
All the above 1, 2,3
None of the above 1,2,3
How to implement authentication via web.config?
Include the authentication element.
Include the authorization element.
Include the identity element
Include the deny element.
How to Set Focus to Web Form Controls By Using Client-Side Script?
txt2.focus();
document.Id('txt2').focus();
document.ClientId('txt2').focus();
document.getElementById('txt2').focus();
How to get the IP address of the host accessing my site?
Response.Write (IPAddress.ToString ());
Response.Write (Request.UserHostAddress.ToString ());
Response.Write (UserHostAddress.ToString ());
Response.Write (Request.UserHostAddress.IPAddress.ToString ());
How to find out what version of ASP.NET I am using on my machine?
Response.Write(System.Environment.Version.ToString());
Response.Write(Version.ToString());
Response.Write(System.Version.ToString());
not possible
Which will work in release Mode?
Debug.Write
Trace.write
none
both
Name two properties common in every validation control?
ControlToValidate property and Max Value
ControlToValidate property and Range
ControlToValidate property and Text property
ControlToValidate property and Custom Script