R2i DotNetNuke® Forum

R2i wants you to have the opportunity to ask questions, post reviews, help others or just rant and rave about DotNetNuke® or any of the R2i Modules and Skins. Our team spends hour upon hour, day after day, working on custom DotNetNuke® modules and services; please feel free to ask us anything.
 
Range Validator
Last Post 01 Jan 1900 05:00 AM by . 1 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Informative
contactdpUser is Offline
Basic Member
Basic Member
Posts:475

--
28 Apr 2006 04:03 PM  
If you are trying to Use Range Validator in ListX here is the Code.

< span
id="vCode2"
controltovalidate="frm_Code"
text="Enter number Only"
display="Dynamic"
evaluationfunction="RangeValidatorEvaluateIsValid"
type="Integer"
minimumvalue= "0"
maximumvalue=""
style="color:Red;display:none;" >Enter Numbers Only< / span >

Notice in place of errormessage we Must Use text Attribute. Setting maximumvalue="" means you setting no Maximum value.
Durga Prasad(DP) | Senior Web Engineer<br>R2integrated
AlexKUser is Offline
Basic Member
Basic Member
Posts:128

--
25 Jan 2008 09:42 AM  
Thank you! I went through the documentation twice before I thought of searching here. Fortunately, you had the answer.

Best regards,
- Alex.
You are not authorized to post a reply.

Active Forums 4.1
 

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seatle, WA • 410.327.0007 • info@R2Integrated.com

Bookmark & Share Bookmark and Share