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

I put in items adding this code:

SPUtility.Redirect("http://gzawistowskilap/SitePages/Event.aspx", SPRedirectFlags.Trusted, current);

If I try to add something a error shows:

The Ribbon Tab with id: "Ribbon.Read" has not been made available for this page or does not exist. Use Ribbon.MakeTabAvailable().

I Only wont to refresh site

Here its screen of error: enter image description here

share|improve this question
up vote 1 down vote accepted


Your error is in the modal window where your form was. That's part of your problem. You aren't refreshing the parent page, you're refreshing the form page in the modal.

Why not scrap the refresh in the event receiver and create your own modal dialog handler?

Look at this

share|improve this answer
I try ied this. At Item Adding when is Sinchronius is nothing happened, and if asynchronius is gneretea error: Error 4 Error occurred in deployment step 'Activate Features': Operation is not valid due to the current state of the object. 0 0 Add4 – Grzegorz Z Oct 30 '12 at 14:49
Are you trying to load a wiki page in a modal window? – RJ Cuthbertson Oct 30 '12 at 14:55
Web Part to web browser, not modal window. I'm trying reload site after adding – Grzegorz Z Oct 30 '12 at 15:00
I've updated my answer. I think you're going about this the wrong way. – RJ Cuthbertson Oct 30 '12 at 15:11
Test thanks, but how tu refresh the real site, not a popup. Meybe I don't understand something. – Grzegorz Z Oct 31 '12 at 14:51

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.