Cannot delete a webpart

Shweta Kode asked on October 17, 2015 01:29

Hi,

I added a web part for LogonForm and checked the update panel property. After checking the use update panel property it gave me below error even in the edit mode.

The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases.

Now I am not able to edit the property of the web part. How can I either roll back the page or delete the property? I do not see any way to roll back my page.

Thanks, Shweta

Correct Answer

David te Kloese answered on October 17, 2015 15:22

Hi Shweta,

Does it help to uncheck the "Web part content" checkbox in the right top corner on the design tab of the page you're working on?

You could also go to the "Page Templates" module, select your page template try the design tab over there.

If both didn't work a few options (all in the page template module):

  • I've seen this error when you've got "Template type" selection on "ASPX + Portal page" on your template. Check the general tab. And check if "Portal page" is selected.

  • if you have versioning enabled you can try finding a previous version in the Versions tab of the page template.

  • If this will give you the same error you could try finding the webpart in the "Web parts"-tab in the templates module. This is an XML view of all web parts on that specific template. BE WARENED, as the message states: This dialog should only be used for emergency reasons. If you want to modify the web part settings, use the Design mode of the page.

Hope any of these tips help.

Greets,

David

2 votesVote for this answer Unmark Correct answer

Recent Answers


Shweta Kode answered on October 19, 2015 18:28

Hi David,

I could roll back using the old versions from Page Templates. Thank you.

Shweta

0 votesVote for this answer Mark as a Correct answer

Anshul meena answered on December 14, 2017 17:32 (last edited on December 14, 2017 17:34)

I added JavaScript web-part for testing some scripts. Now I want to simply delete this web-part. 1. I have tried remove option on the web-part.

  1. Please don't answer this question if you can't answer in straight forward steps.
  2. Also don't just create any other question and try to answer that(kentico mvp are doing this).
0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.