How to validate mobile no client side in asp.net
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Naresh AvariRank #2,678 · 520 reputationPosted Jul 27, 2012, 10:34 PM EDT
Validation: Either 8 digit number(which starts with 2) OR 10 digit number (which starts with 9)
here is a sample...
Default.aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>