locked
How to do validation for mobile websites javascript & asp.net validation controls are not working RRS feed

  • Question

  • User1790255588 posted

    HI every one

    I am creating a mobile website using asp.net and sqlserver . The development is over..

    Now i want to do some validations. i tried asp.net validation controls and javascript validation controls but both are not working in the mobile browser .

    How to do validation for mobile websites. please tellme the other possible solutions

    Wednesday, April 11, 2012 1:32 PM

Answers

All replies

  • User1849990362 posted

    Refer the link

    http://www.w3schools.com/dotnetmobile/mobile_validation.asp

    You could also try Jquery Validation Plugin.

    http://docs.jquery.com/Plugins/Validation

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, April 11, 2012 1:43 PM
  • User281315223 posted

    For the most part - validation will be accomplished the same way indifferent to your target environment. Have you taken a look at the ASP.NET Controls for Mobile Pages, that might provide you in the right direction.

    Most recent versions of .NET include built-in validation handling, and if you are using jQuery or another similar library there exists an abundance of plug-ins available to suit your needs. (Available jQuery Validation Plug-Ins)

    If you are using MVC - the walkthrough "ASP.NET MVC3 Validation Walkthrough" might also be of some help.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, April 11, 2012 1:43 PM
  • User878636500 posted

    How you mobile website is developped ? you have maximised client side developpement ? 

    Wich server technology are you using ?

    MVC2+, and Webforms, have server validation, and client side validation available, and it works fine on mobile.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, April 11, 2012 3:17 PM
  • User1790255588 posted

    I developed in vs2005 with sql 2005

    Using the mobile website templet in the vs2005

    Thursday, April 12, 2012 2:51 AM