Help shape the future of CMS PaaS release notes! Take this quick survey and share your feedback.
Help shape the future of CMS PaaS release notes! Take this quick survey and share your feedback.
Make your own propertyControl. take a look at this post http://world.episerver.com/Blogs/Anders-Hattestad/Dates/2010/8/Preview-on-dynamic-content/ and remove your div after all content has been rendered..
Can i Know what extacly you are refering to PropertyControl? If i just all the your dll to project the preview mode is not working. Can u just tell me what exactly i should do after referncing your dll.
Thanks
make a new property inherit from PropertyHtmlString. Override the IProipertyControl stuff and return your own code that inherit from PriopertyHtmlStringControl. Then override override CreateDefaultControls but do the base.CreateDefaultControls() first. Then you can loop throug the control structur.
Anotherway is to look at the ViewMode in PropertyHtmlString and make some adjustments to that. If you want to remove the partent controil if thats a div, I quess I would have tryied that first.
Good luck
Hello,
How can i remove the extra div tag from dynamic content? I have used property adapters but it's working only for plain strings and not for DC.
Thanks
Rachappa