display field validation in msgbox

Last post 05-16-2008 12:56 PM by PLBlum. 2 replies.

Sort Posts:

  • display field validation in msgbox

    05-16-2008, 9:12 AM
    • Member
      102 point Member
    • fakhre
    • Member since 11-30-2006, 9:41 AM
    • Posts 132

    guys i want to display field validation control massage in msgbox instead of its label..

     

    can you plz guide me on it...? 

  • Re: display field validation in msgbox

    05-16-2008, 9:14 AM
    • All-Star
      23,823 point All-Star
    • pkellner
    • Member since 11-12-2004, 10:42 AM
    • San Jose, California
    • Posts 3,579
    • ASPInsiders
      Moderator
      TrustedFriends-MVPs
    Peter Kellner
    http://peterkellner.net
    Microsoft MVP • ASPInsider
  • Re: display field validation in msgbox

    05-16-2008, 12:56 PM
    Answer
    • All-Star
      30,305 point All-Star
    • PLBlum
    • Member since 06-28-2002, 9:20 AM
    • Boston, MA
    • Posts 5,344
    • TrustedFriends-MVPs

    If you can allow the message to appear when the user attempts to submit (instead of immediately after the edit), add a ValidationSummary control. Set its ShowMessageBox property to true. If you don't want to see the actual ValidationSummary, also set ShowSummary to false.

    --- Peter Blum
    Creator of Peter's Data Entry Suite (formerly Professional Validation And More and Peter's Date Package) and Peter's Polling Package
    www.PeterBlum.com
Page 1 of 1 (3 items)