Hello
I made a form (type = "text") and (button), and I want to save the value to database. I used Java Script to get the value, how can I save it to database .
i want to use c# .
Best regards
Sorry wrong answer.
To be able save on button click you need to add client side method to your "onClick" event that will send information to the server side method:
top.aras.applyMethod("NAME OF SERVER SIDE METHOD", "<property_name1>some value</property_name1><property_name2>another value</property_name2>")
then in you server side method you can access to your values by:
this.getProperty("property_name1")
this.getProperty("property_name2")
Sorry wrong answer.
To be able save on button click you need to add client side method to your "onClick" event that will send information to the server side method:
top.aras.applyMethod("NAME OF SERVER SIDE METHOD", "<property_name1>some value</property_name1><property_name2>another value</property_name2>")
then in you server side method you can access to your values by:
this.getProperty("property_name1")
this.getProperty("property_name2")