Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Creating CEWP programmatically

$
0
0

I have some javascript,css files in layouts folder. So, i can call those files inside Out Of Box Content Editor Webpart. But i need to create a webpart solution, where will refer those files. Finally activate solution feature site level and add the custom webpart to any page. So that my javascript file and CSS file take effect.

Is it possible to create custom Content Editor Webpart and pass the URL of file programmatically?

Kindly help!!!



Viewing all articles
Browse latest Browse all 11571


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>