SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2009
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Using compare validator

    Is then possible that when you use a compare validator, it treats the comparetocontrol against valuetocompare as int even the type was String? sometimes the string was overlooked...thanks

  2. #2
    SitePoint Guru Jason__C's Avatar
    Join Date
    Oct 2009
    Location
    Racoon City
    Posts
    660
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You can only use one type per form element (String, Integer, Date, .ect). For example, you would add this to the comparevalidator:

    Code:
    Type="Integer"
    I guess that is what you are talking about.
    Chuck Norris is so tough,
    mosquitos ask for permission before they bite him


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •