CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 viewstate-like thing in ASP?

Print topic Send  topic

Author Message
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?
View profile  Send private message
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
View profile  Send private message
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!!!!!!!
View profile  Send private message

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.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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