CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 save/submit onchange

Print topic Send  topic

Author Message
mike2
Posted: 12/01/2004, 6:47 AM

hello,
i try it again..
i need to insert/update my edtable grid if the user changes some values in the form fields/controls...a simple document.submit.form or something similar is not enough..this makes no event to the grid just a submit......CCS generates a editable grid with a submit button with an server event/comamnd...

How can i get this action/event to run Onchange!
thanks
kurt
peterr


Posts: 5971
Posted: 12/01/2004, 1:11 PM

Have you considered using JavaScript?
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
mike2
Posted: 12/02/2004, 12:51 AM

javascript?
do you mean....onchange="javascript:submit.form"

kurt

Quote peterr:
Have you considered using JavaScript?
peterr


Posts: 5971
Posted: 12/02/2004, 1:13 AM

Possibly. I don't know the exact code, but I think that you should use JavaScript because usually only JavaScript (or generally client code) can be executed when "user changes some values in the form fields/controls". The JavaScript OnChange event sounds right for this.
If you need specific code sample then you can probably find it on the net: http://www.google.com/search?hl=en&lr=&q=javascript+onchange+submit

Also, I didn't understand your comments about document.submit.form not being enough, and about no event being made.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
mike2
Posted: 12/02/2004, 1:52 AM

hi peterr,
alex from CCS support had a solution for me!!

its like:
*************************
supportsupport_text.Attributes.Add("onchange", "javascript:supportRepeater__ctl2_supportButton_Submit.click()")
**********************************

thanks also!!
but now i must find a way to add a submit button in each row of a repeater!! is this possible with CCS?
kurt

Quote peterr:
Possibly. I don't know the exact code, but I think that you should use JavaScript because usually only JavaScript (or generally client code) can be executed when "user changes some values in the form fields/controls". The JavaScript OnChange event sounds right for this.
If you need specific code sample then you can probably find it on the net: http://www.google.com/search?hl=en&lr=&q=javascript+onchange+submit

Also, I didn't understand your comments about document.submit.form not being enough, and about no event being made.

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.