Error in creating new/edit Web part layout

Manmath Kulkarni asked on November 4, 2016 17:12


I am using Kentico 9. I have created web part with Image and Text fields in it. I am using this web part in newly created page. Though I am able to add this web part to page, but I am not able to edit layout of this web part. I have tried using default layout and also have tried to create new layout and edit it.

1. Create web part 'Test' with Image and text in it.
2. Create page -> in Design tab add Web Part 'Test' in page.
3. Configure and edit layout of Web part. Use default or Create new layout both fails.

Getting following error from ScriptResource.axd file.

SCRIPT5022: Sys.InvalidOperationException: Could not find UpdatePanel with ID 'm_c_ucHierarchy_mainLayout_mainPane_layoutElem_paneToolbar_pnlUpdate'. If it is being updated dynamically then it must be inside another UpdatePanel.

I am trying to add HTML tags in layout.

Also it would be helpful if you can provide sample to add tags in layout.
Can you please provide solution or workaround for this error.

Best regards,

Recent Answers

Roman Hutnyk answered on November 4, 2016 17:35

You can add whatever you want t a custom layout, the only limitation is that you have to keep all the server controls those are present in default layout.

Have you removed update panel from it?

1 votesVote for this answer Mark as a Correct answer

Manmath Kulkarni answered on November 7, 2016 10:10

Hi Roman,

Thanks for your reply.

I am new to Kentico and web development. In my default layout there is no UpdatePanel and haven't removed it. Can you please provide me some link where I can get sample code of layout both default and custom to add to Web layout. It will be helpful for me to add this sample and try around this sample.

Best Regards, Manmath.

0 votesVote for this answer Mark as a Correct answer

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