Andres Rormoser
|
| Posted: 11/17/2005, 7:31 AM |
|
I've created an Editable Grid and add one TextBox before the Begin Row Section and want to
see this fields in the BeforeSubmit Event. I tried the following:
Function ComprobanteVentaDetalle_BeforeSubmit(Sender)
'Custom Code @84-73254650
' -------------------------
....
....
cve_bonificacion = EditableGridForm.fieldoutsiderowsection.value
....
....
' -------------------------
'End Custom Code
But I get empty when the field it's not. What am i doing wrong?
Thanks, AR
"peterr" <peterr@forum.codecharge> wrote in message
news:64372666bf2893@news.codecharge.com...
Andres,
True, if you use one form then there should be no such limitations. You just
cannot submit multiple forms together.
Also, .NET always submits the whole page as one form, so you have more
flexibility there than with ASP.
Now I guess that with ASP you could also try using just one form instead of
multiple ones. For example use just the Editable Grid form, but add a few
additional fields at the top of that form that will act as your "Master"
section. Then when the form is submitted you could process those additional
fields via custom code.
Possibly we can automate this in the future.
Thanks for pointing the example.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
---------------------------------------
Sent from YesSoftware forum http://forums.codecharge.com/
|
|
|
 |
Andres Rormoser
|
| Posted: 11/18/2005, 6:54 AM |
|
I manage to do it.
ComprobanteVentaDetalle.cve_fechaingreso.value = CCGetValue(RecordSet, "cve_fechaingreso")
Thanks, AR
"Andres Rormoser" <arormoser@yahoo.com.ar> wrote in message
news:dli7os$fai$1@news.codecharge.com...
I've created an Editable Grid and add one TextBox before the Begin Row Section and want to
see this fields in the BeforeSubmit Event. I tried the following:
Function ComprobanteVentaDetalle_BeforeSubmit(Sender)
'Custom Code @84-73254650
' -------------------------
....
....
cve_bonificacion = EditableGridForm.fieldoutsiderowsection.value
....
....
' -------------------------
'End Custom Code
But I get empty when the field it's not. What am i doing wrong?
Thanks, AR
"peterr" <peterr@forum.codecharge> wrote in message
news:64372666bf2893@news.codecharge.com...
Andres,
True, if you use one form then there should be no such limitations. You just
cannot submit multiple forms together.
Also, .NET always submits the whole page as one form, so you have more
flexibility there than with ASP.
Now I guess that with ASP you could also try using just one form instead of
multiple ones. For example use just the Editable Grid form, but add a few
additional fields at the top of that form that will act as your "Master"
section. Then when the form is submitted you could process those additional
fields via custom code.
Possibly we can automate this in the future.
Thanks for pointing the example.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
---------------------------------------
Sent from YesSoftware forum http://forums.codecharge.com/
|
|
|
 |
DonB
|
| Posted: 11/19/2005, 9:06 AM |
|
The form data is available to you in BeforeSubmit:
thevalue = CCGetFromPost('fieldoutsiderowsection',Empty);
This is the value sent back ('POST'ed) from the form to the server
--
DonB
http://www.gotodon.com/ccbth
"Andres Rormoser" <arormoser@yahoo.com.ar> wrote in message
news:dlkpvd$sk1$1@news.codecharge.com...
> I manage to do it.
>
> ComprobanteVentaDetalle.cve_fechaingreso.value = CCGetValue(RecordSet,
"cve_fechaingreso")
>
> Thanks, AR
>
> "Andres Rormoser" <arormoser@yahoo.com.ar> wrote in message
>news:dli7os$fai$1@news.codecharge.com...
> I've created an Editable Grid and add one TextBox before the Begin Row
Section and want to
> see this fields in the BeforeSubmit Event. I tried the following:
>
> Function ComprobanteVentaDetalle_BeforeSubmit(Sender)
>
> 'Custom Code @84-73254650
> ' -------------------------
> ...
> ...
> cve_bonificacion = EditableGridForm.fieldoutsiderowsection.value
> ...
> ...
> ' -------------------------
> 'End Custom Code
>
> But I get empty when the field it's not. What am i doing wrong?
>
> Thanks, AR
>
>
> "peterr" <peterr@forum.codecharge> wrote in message
>news:64372666bf2893@news.codecharge.com...
> Andres,
>
> True, if you use one form then there should be no such limitations. You
just
> cannot submit multiple forms together.
> Also, .NET always submits the whole page as one form, so you have more
> flexibility there than with ASP.
>
> Now I guess that with ASP you could also try using just one form instead
of
> multiple ones. For example use just the Editable Grid form, but add a few
> additional fields at the top of that form that will act as your "Master"
> section. Then when the form is submitted you could process those
additional
> fields via custom code.
> Possibly we can automate this in the future.
>
> Thanks for pointing the example.
> _________________
> Peter R.
> YesSoftware Forums Moderator
> For product support please visit http://support.yessoftware.com
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
>
>
>
>
|
|
|
 |
|