Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Problem in applying custom client side validation with masking in textbox

$
0
0

I am using dev Express textboxes having MaskSettings-Mask="$<0..99999999g>" to take input in currency format.Now i want that the value inserted in first textbox must be greater than$10,000 and the value inserted in second textbox must always be greater than value of first textbox how should i write and use client side function in devexpress for validating above condition before clicking submit button.

<dx:aspxtextbox ID="txtLoanAmount" runat="server" ClientInstanceName="tbAge" Width="145px" MaskSettings-Mask="$<0..99999999g>"><ValidationSettings ValidateOnLeave="False"  EnableCustomValidation="True"></ValidationSettings></dx:aspxtextbox><dx:aspxtextbox ID="txtPropertyValue" runat="server"  Width="145px" MaskSettings-Mask="$<0..999999999g>"></dx:aspxtextbox><dx:aspxbutton ID="btnsearch" runat="server" AutoPostBack="False" Text="Search" OnClick="btnsearch_Click" ValidationGroup="submitratesearch"><ClientSideEvents Click="Functionname" /></dx:aspxbutton>


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>