You must Sign In to post a response.
  • Category: Windows 8

    Regarding validation

    i have one dropdownlist with "Loginid(int)",Loginname(string),Username(string) and a textbox and a button so baseon dropdown selected value how to validate the textbox on button click event in
  • #769823
    You can achieve this by using the javascript. Create a function in javascript that will return the bool value and call that function on button click event.
    function ValidateInput()
    if(add all the conditions)
    //if condition fail
    return false;
    return true;
    <input type="button" value="Search" onclick="return ValidateInput();" />

  • Sign In to post your comments