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();

  • I'm not sure what you try to accomplish. Is it refreshing the page for the user after making some changes in code? Oct 29, 2012 at 12:31
  • I have made one webpart. I have added it on calendar. So I have wrote code on page load. Oct 29, 2012 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 Oct 29, 2012 at 12:39
  • No I manually refresh my page. I not use any script block or nothing else.. Oct 29, 2012 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? Oct 29, 2012 at 12:48

1 Answer 1


Yes I have solved my Problem.....


It works great.....

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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