Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Dates go away when back button is clicked
mcr
Newbie

Posts: 1
Registered: 11/15/2007
Member Is Offline
posted on 11/15/2007 at 05:41 PM Reply With Quote
Dates go away when back button is clicked


I am using the calendar on a classic ASP page where I have other input tags.

The user will enter data and click on a save button, they are redirected to another page where I validate data against a SQL server table. If there are any exceptions, I return the user to the input form using history.go(-1).

The problem I have is that all the user's data is gone when I send them back.

Is there a way to retain the data?

Any help will be greatly appreciated.

Thanks,

maria
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 11/15/2007 at 09:07 PM Reply With Quote

is that with free or PRO version?
View User's Profile View All Posts By User U2U Member
Rene
Junior Member

Posts: 2
Registered: 1/4/2008
Member Is Offline
posted on 1/4/2008 at 09:42 AM Reply With Quote

I have the same problem (with pro version).
If a form needs to be reloaded (because the user wants to edit some fields) the date will be reset to the default.
Is it possible to keep the last date?
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 1/7/2008 at 02:21 AM Reply With Quote

If you let calendar generate input box then use 'selected' property of the initialization structure to preset the value. If you attach the calendar to the existing input box then use value attribute of the input tag or set the value to the input box via javascript. Calendar doesn't store any information between the page loads.

PS: I'd avoid using history for redirect. You can't be sure where you're sending the client. Redirect to the known url feels like the better option.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Tigra Calendar
Product Demonstrations Live Demos
Free Download Free Download
Product Documentation Documentation
Support Forum Support Forum
 
Tigra Calendar PRO
Product Demonstrations Live Demos
Popup Calendar
Onpage Calendar
Modal Calendar
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004