Click here to Skip to main content
15,885,906 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have two input controls and i have given validion is js file in below format which is working as expected and iam assign values from data base to those controls. first input is populating value and for second control if we click on textbox then only it is showing value.
setTimeout(function () {
     $("#numerictextbox").kendoNumericTextBox({
         min: 1,
         max: 9999,
         format: "#",
         decimals: 0
     }).siblings('input:visible').focus();
 }, 1000);

 setTimeout(function () {
 $("#Priority").kendoNumericTextBox({
     min: 1,
     max: 9999,
     format: "#",
     decimals: 0
     }).siblings('input:visible').focus();
 }, 1000);


What I have tried:

Input controls need to be auto populates values . first control is auto populating and for second one i if click in textbox value is populating. by default when ever page loads it should display both.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900