![]() |
|
GTP.NET FAQ 11021Im using Gantt_Asp but everytime I modify a timeitem I have a postback and I lose my f1.dataset values Please note that this article
refers to the GTP.NET Jump to article- 2007-10-20 10:30:00 - Email plexityHide Question
Answer
This is by design, the ASP.NET model is stateless and the SessionState is there to help you to handle that. What you need to do is to, depending on your design criterias, is to cache the dataset you use and restore it for postback events. This is shown in the LetsBuild_ samples series available here http://www.plexityhide.nu/ajaxdemo/LetsBuild_ProjectPlanner.aspx
In short this is done like this:
protected void Page_Load(object sender, EventArgs e) if (Page.Session["loaded_proj"] == null || (bool)(Page.Session["loaded_proj"]) == false)
|
"This is too GREAT. I must say you have strong support and really good programmers at your place. Your entire team is good. Just Fantastic! – 100%" |
| ? 1999-2006 PlexityHide.com Grastensvagen 24, S-163 45 Spanga Sweden E-mail: support@plexityhide.com |