Bug reports Found a bug? Post it here please.
Version 4.x > Bug reports > Cannot view layout for custom web parts View modes: 
User avatar
Member
Member
envisasoftp-msn - 2/21/2009 2:05:09 PM
   
Cannot view layout for custom web parts
When selecting the layout Tab under configure for a custom web part and error is thrown about an invalid path.

<root>/CMSWebPart/~/CMSWebpart/<Folder>/<Control>

How can this be fixed?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/25/2009 8:56:06 AM
   
RE:Cannot view layout for custom web parts
Hi,

It seems to be a bug in current version - I am sorry for that. I assume that you have entered the File name property, when registering the web part in Site Manager, like this:
~/CMSWebParts/....

The problem is the tilde sign. The value there should be (like described here - http://www.kentico.com/docs/devguide/developing_web_parts.htm) only Folder/FileName.ascx.

Best Regards,
Juraj Ondrus