ASP.NET INTERVIEW QUESTION & ANSWERS
DOT Net
TAGS
66. | How do you hide the columns? |
---|---|
One way to have columns appear dynamically is to create them at design time, and then to hide or show them as needed. You can do this by setting a column's Visible property. |
67. | Which Javascript file is referenced for validating the validators at the client side? |
---|---|
WebUIValidation.js Javascript file installed at "aspnet_client" roots IIS directory is used to validate the validation controls at the client side. |
68. | Why do Web Services use ASP.NET? |
---|---|
Web Services use ASP.NET because ASP.NET provides supporting infrastructure and plumbing for the service. Specifically, ASP.NET automatically generates WSDL files for any client of the Web Service, provides code that translates SOAP requests into method requests, and provides code that packages method responses in to SOAP responses for Web Service clients. |
69. | What is the difference between Server-side scripting and Client-side scripting? |
---|---|
Server side scripting : means that all the script will be executed by the server and interpreted as needed. ASP doesn't have some of the functionality like sockets, uploading, etc. Client side scripting : means that the script will be executed immediately in the browser such as form field validation, clock, email validation, etc. Client side scripting is usually done in VBScript or JavaScript. |
70. | What ASP.NET class reads the contents of a form after the user clicks the Submit button? |
---|---|
The HttpResponse class reads the content of the form. You access this class using the Response object, where you can use the Form or Parameters collection to find each form entry. |