GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET
Go To First  |  Previous Question  |  Next Question 
 ASP.NET  |  Question 126 of 164    Print  
How can you perform validation on client side, if the validation controls are Server side?

  
Total Answers and Comments: 2 Last Update: October 21, 2009     Asked by: veluworld 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
July 25, 2007 03:29:55   #1  
Gaurav kumar singh Member Since: July 2007   Contribution: 1    

RE: How can you perform validation on client side, if ...
Because the server side validation creates a dynamic javascript to validate the control at client side. You can do it without useing validation cotrol and by writing the dynamic javascript.
 
Is this answer useful? Yes | No
October 21, 2009 04:51:44   #2  
kirangiet Member Since: June 2009   Contribution: 24    

RE: How can you perform validation on client side, if the validation controls are Server side?
Two ways you can achieve this.
1) You can use javaScript to validate the data.
2) You can use Validation Controls. (One for Client Side Validation One for Server Side Validation)

Even though Validation controls are Server controls by default it works on clientside .

To Enable validation on server side set the property EnableClientScript false (Default is true).

 
Is this answer useful? Yes | No

 Related Questions

When opening a project file explicitly open it from an existing virtual directory. 
Latest Answer : Create virtual  directory of your website. Than access that website directly from IIS, using  localhost. This is what we do when we delpoy the application on client end when the client has no VStudio installed. ...
Read Answers (2) | Asked by : bicu

I am searching a record in datagrid.if i enter any value it display record not found,if the record is not there.but i enter Apostrophe it is showing error(Cannot perform 'Mod' operation on System.String and System.String)....how to clear this bug.....
i need answer from someone. 
Read Answers (3) | Asked by : sudhagar

While searching a record in database it accepts all the letters and special characters.but,i enter Apostrophe it is showing error(Cannot perform 'Mod' operation on System.String and System.String) like this...how to clear this bug?
Read Answers (4) | Asked by : sudhagar

1. What is the core difference between ASP and ASP.NET and why do you want to migrate from asp to asp.net2. What is the diff b/w HTML server Controls and Web Server Controls3. How sessions are handled in ASP Vs ASP.NET4. How versions are controlled in ASP Vs ASP.NET5. Explain the concurrency problems using DATASETS6. what is XSD and XSLT. what is XML and what are the types of XML7. What are web services
Read Answers (3) | Asked by : mak1600

How do you know what version of IIS is being used by server..I mean can a client know what version of IIS is being used? or how can I know what version of IIS is being used by my hosting company?
Read Answers (3) | Asked by : mak1600

How to maintain ViewState of dynamically created user controls? For example, If I am creating few instances of a User control using LoadControl(...) method, then how do I make sure that the viewstate of all these controls is during postbacks?
Read Answers (6) | Asked by : vikramp

1)How will you load dynamic assembly? How will create Assemblies at run time? 2)How to maintain View State of dynamically created user controls? For example, If I am creating few instances ?
Read Answers (1) | Asked by : prangyasri jena

This is how I have done this in one of our projects:-1. First way is store image in BYTEARRAY while checking UPLOAD CONTROL and hold that image in CACHE. And then store it (bytearray) in Database while 
Latest Answer : To upload the image in to the Oracle: if you are using stored procedure then by using command instance object you and pass the image in Binary Format is Request.BinaryRead() and to display the image user the same method i.e. reponse.binarwrite() ...
Read Answers (1) | Asked by : Nidhi

Latest Answer : Use RequiredFieldValidator control. Set its 'InitialValue' property to something like 'Select an item'.This control will ensure that the user has to change the value from InitialValue to another value.If InitialValue is not set the dropdown ...

Why we need both server controls and html controls in asp.net. what is the difference between them?
Read Answers (2) | Asked by : jacintha


 Sponsored Links

 
Related Articles

Linux Thin Client Networks Design and Deployment Review

Linux Thin Client Networks Design and Deployment Review Introduction This book is written by David Richards a veteran Linux thin client network designer Designed for System Administrators Linux Thin Client Networks Design and Deployment goes over the concepts which are related to thin client network
 

SQL Server 2005 Integration Services Review

SQL Server 2005 Integration Services using Visual Studio 2005 A Beginner s Guide SQL Server 2005 A offering of Microsoft Corporation for database management the SQL server 2005 is one of the powerful database management systems in the world Available for integration in almost any system that uses Mi
 

SQL Server Integration Services

SQL Server Integration Services Here is a sample chapter from Beginners Guide to SQL Server Integration Services Using Visual Studio 2005 by Jayaram Krishnaswamy Environment set up for Visual Studio 2005 with respect to SSIS and multiple tasking Connecting to Microsoft Access Text Files Excel S
 

Web Server

Web Server A web server can be a program or the computer itself which receives the requests from various other browsers and responds to those requests These requests are all requests that are being sent for some documents There are two kinds of web servers available The web server program and the
 

Client-Server Models and N-Tier Applications

Client Server Models and N Tier Applications One of principal objective of Client Server methods is to provide data to an end user However Client Server architectural methodologies are much more complex Client Server describes the process wherein a client program generates contact with a separate se
 

Java and Client Server Models

Java and Client Server Models The Role of Client Servers on the Web Client server models provide the essential mechanisms for working with the Internet In fact most of the World Wide Web is built according to this paradigm In client server models the web browsers run by millions of users are the cli
 

Web Services and Client Server Technology

Web Services and Client Server Technology Introduction to Distributed Computing The Internet and expanded network connectivity established client sever models as the preferred form of distributed computing When talking about Client Server models of networked communication using web services the broa
 

Object-Oriented Client-Server Internet

Object Oriented Client Server Internet OCSI Environments as IT Infrastructure Client Server Basics Object Oriented Client Server Internet OCSI environments provide the IT infrastructure for supporting OCSI applications For our purposes infrastructure refers to operating systems networks middleware
 

N-Tier Client-Server Architecture

N Tier Client Server Architecture Description of 1 Tier and 2 Tier Web Applications This article will discuss the various architectures of Client Server environments Perhaps the most influential Client Server environment is the Internet and its global users With the increasing use of web application
 

Peer-to-Peer and Client-Queue-Client Architecture

Peer to Peer and Client Queue Client Architecture Client Server Architecture Compared with Peer to Peer and Client Queue Client Architecture Client Server Architecture Client Server Architecture which is the model for Internet communication separates client programs machines from server programs mac
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape