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>