SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When i am adding event in share point 2010 calendar programmatically, I need to refresh 2 time calendar. After that event is added to calendar.. Plz help me. Its urgent..


SPList calendarList = web.Lists["Calendar"]; . . . . item.update(); calendarList.update();

share|improve this question
I'm not sure what you try to accomplish. Is it refreshing the page for the user after making some changes in code? – Ruben Herman Oct 29 '12 at 12:31
I have made one webpart. I have added it on calendar. So I have wrote code on page load. – Rajesh Joshi Oct 29 '12 at 12:37
What you could try to do is SPUtility.Redirect(...) or write a client script block to the page where you refresh it – Ruben Herman Oct 29 '12 at 12:39
No I manually refresh my page. I not use any script block or nothing else.. – Rajesh Joshi Oct 29 '12 at 12:44
So it's no problem to refresh? You want to make some changes to the listitem, but you can't see them? – Ruben Herman Oct 29 '12 at 12:48
up vote 0 down vote accepted

Yes I have solved my Problem.....


It works great.....

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.