call code behind code from java script
-
Hi All, i need to call code from code behind from java script how to do this My Requirement is I have implement ajax extender to get the id so when t lose focus from text box it should query data base and fill it into the other text box such as name , address. Thanks, amit
-
Hi All, i need to call code from code behind from java script how to do this My Requirement is I have implement ajax extender to get the id so when t lose focus from text box it should query data base and fill it into the other text box such as name , address. Thanks, amit
hi one way is u keep a button make it style display =none and in the click event u write the code which has to be executed when it is click.and the other thing is simple just call the button click event through javascript where ever u want .eb:document.getelementbyid('button').click();
-
hi one way is u keep a button make it style display =none and in the click event u write the code which has to be executed when it is click.and the other thing is simple just call the button click event through javascript where ever u want .eb:document.getelementbyid('button').click();
Just handle one of the events for the input control such as onblur or onkeypress.
I know the language. I've read a book. - _Madmatt
-
Hi All, i need to call code from code behind from java script how to do this My Requirement is I have implement ajax extender to get the id so when t lose focus from text box it should query data base and fill it into the other text box such as name , address. Thanks, amit
Look at the autocomplete extender
I know the language. I've read a book. - _Madmatt
-
Hi All, i need to call code from code behind from java script how to do this My Requirement is I have implement ajax extender to get the id so when t lose focus from text box it should query data base and fill it into the other text box such as name , address. Thanks, amit
You can use AutoCompleteExtender ajax control Also u can have a webservice to fetch the records from the DB it has "ServicePath" attribute where u provide the path of the WebService and "ServiceMethod" attribute takes the webmethod name which fetches the value from DB and displays it so u don't have to worry about handling blur events etc.. http://opexsolution.com/forum/[^]