pr3mium
Posts: 31
|
| Posted: 06/08/2005, 3:40 AM |
|
Hey,
I was just wondering if there is any way to work on a form the way you can using .NET and its viewstate?
I have a form with several fields. When a user has filled in some of them, he has an option to add multiple records that are bound to the information on the form (say, the form contains information about some company and when the user can add several fields of activity). I'd like to use a button "Add fields of activity", which opens grid of all occupations in a popup. When user finds the one appropriate, he clicks on it and it's added to the form in the main window. He could add multiple occupations using this method. The data on form will be inserted after submitting the form not while the user is adding the occupations.
Is there any way to achieve the above or should I use many-to-many listboxes or smth?
|
 |
 |
peterr
Posts: 5971
|
| Posted: 06/08/2005, 12:09 PM |
|
I think that the "Pop-up List & Smart Lookup" example in CCS Example Pack shows how to do this. You can just modify it to append new values to a field rather then replacing them.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
marcwolf
Posts: 361
|
| Posted: 06/14/2005, 7:34 PM |
|
I have found an interesting article that does some of that.. Thou you will need to know JS etc to fully implement it into CCS..
Here is the link http://www.howtocreate.co.uk/jslibs/htmlhigh/recoverablestring.html
Ifs from this pages with a valuable collection of routines on it.. Do have a look..
http://www.howtocreate.co.uk/jslibs/
Take care
Dave
_________________
' Coding Coding Coding
Keep Those Keyboards Coding.
Raw Code!!!!!!!
|
 |
 |
|