PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
[URGENT] on change field value execute server code
[URGENT] on change field value execute server code
Started by Niccolò, Jan., 14 2009 12:33 PM - 3 replies
Connect yourself…
Niccolò
#1
Posted on January, 14 2009 - 12:33 PM
hi all,
i need to execute a server code when user change content of a field.
how can i do that?
tnx for all
nico
Report
0
0
Fabrice Harari
#2
Posted on January, 14 2009 - 2:09 PM
Hi Niccolò,
Look at the codes that are possible in the control (depends of the type
of control)... In an edit control, you ahve a section called Exit with
change (onchange), in which you can put some code... it is a BROWSER
section, so you can:
- do a executeProcess of a button (and put your code in the server
section of the button)
- Use ajaxexecute or ajaxexecuteasynchronous directly in your code
In both cases, be careful that talking to the server takes time, and if
you do that each time the user enter one character, it may quickly
become unusable
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
More information on
http://www.fabriceharari.com
Niccolò wrote:
hi all,
i need to execute a server code when user change content of a field.
how can i do that?
tnx for all
nico
Report
0
0
Niccolò
#3
Posted on January, 14 2009 - 3:39 PM
thank you for all
rlly useful
Report
0
0
Fabrice Harari
#4
Posted on April, 07 2010 - 4:42 PM
Hi Niccolò
- either do a ExecuteProcess of a button (will execute first the browser
then the server code of the button)
- or use AjaxExecute
Best regards
--
Fabrice Harari
Consultant WinDev, WebDev et WinDev Mobile International
Plus d'information sur
http://fabriceharari.com/index_FR.html
On 1/14/2009 6:33 AM, Niccolò wrote:
hi all,
i need to execute a server code when user change content of a field.
how can i do that?
tnx for all
nico
Report
0
0
→ Go back to WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text