Web parts not Deleting and moving

Khathun s asked on January 27, 2017 08:09

Hi,

i have different web parts in a page i am trying to move or delete the web parts but it is not deleting and not even moving please help me why it is happening.

Correct Answer

Brenden Kehren answered on January 27, 2017 20:09

I find these errors happen with there are <form> tags nested somewhere on the page. There could also be invalid JS or other HTML causing problems.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Roman Hutnyk answered on January 27, 2017 08:14

Check event log for errors - it might help you to figure out why it doesn't work as expected.

You could remove web part in a following way:

Go to Page Templates app -> navigate your template -> Web Parts -> read the xml and find web part you want to remove -> remove the piece of xml responsible for the web part.

NOTE: 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.

1 votesVote for this answer Mark as a Correct answer

David te Kloese answered on January 27, 2017 09:57

Hi,

This usually happens when some custom Javascript is interfering with Kentico Javascript. Does your browser give you any script errors?

Could you try disabling all (your) custom scripts and see if it works? Usually set on your Masterpage or in the template. Easiest way is probably to let the page your trying to edit don't inherit anything from other pages and see if that helps (assuming that specific page doesn't include any custom script).

1 votesVote for this answer Mark as a Correct answer

Ilesh Mistry answered on January 27, 2017 12:05

Great tips from the guys, there must be a conflict or the code from the web part is throwing an error.

One more thing I would consider if that if you go to the Design tab and then on the right hand side untick the 'Web part content'. See if you can remove the webpart then?

0 votesVote for this answer Mark as a Correct answer

Khathun s answered on January 30, 2017 11:19 (last edited on January 30, 2017 12:25)

Hi team, Thank you for your response,

Yes I have a floating form in my page for that i have added form tag in my template, if i remove that form tag it is working fine, so please let me know any other solution for it.

can if i use inbuilt Kentico form? how can i apply css for that?or any other solution is their.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on January 30, 2017 14:21

The solution is to remove the tag from your HTML markup and place a regular Kentico form, custom control or some JavaScript.

Secondly, if you use a Kentico form you can create a custom layout for it. You can also build your css around the output HTML as well to get it styled properly.

0 votesVote for this answer Mark as a Correct answer

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