Javascript items disappear when postback the page

Asked

Viewed 47 times

0

I’m making a website and copied to my project a calendar. The calendar is here: https://almsaeedstudio.com/preview in the calendar tab. I have everything done as it is there and I can create the events and drag up the calendar. What happens to me is that when I postback the page what I created as an event and where I put it in the calendar disappear. Someone helps me guard the events created?

  • Hello, I think the constriction should be in the postback and not in the calendar. I think to be able to help need to put the postback code.

  • viva, postback is done when I change page or press F5. No code in postback @Tiagogomes

  • But it has code in Page_load function?

  • No @Tiagogomes

  • It is necessary then someone who knows more of Asp. Why does a postback?

  • because I change menu or go to another page and go back to that page and what I created disappears

  • But do postback or change page? if you change page you have to save the information and every time you open the page you have to see if you have data.

  • Switch pages and menus... and how do I save this data?

  • There are various ways to do it. Depending on what you want.

  • You can use postback to save the information to the session or to save to the database.

  • The postback is like ajax, it doesn’t load the page all over again. (I’m not the most appropriate person to explain :D)

  • and how do I do that?

Show 7 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.