<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><language>en</language><title>Blog posts by Daniel Badro</title> <link>https://world.optimizely.com/blogs/Daniel-Badro/</link><description></description><ttl>60</ttl><generator>Optimizely World</generator><item> <title>EPiServer Custom Property for Dynamic Content Plugin</title>            <link>http://episerverblog.wordpress.com/?p=206</link>            <description>We needed to give the editors a simple way of using variable amounts that could change over time inline in the text. These amounts needed to be placed inline (RenderAsBlockElement) in the Tiny MCE text editor for example: You need to pay $1000 to us by the end of august. The EPiServer documentation for CMS &amp;#8230; &lt;a href=&quot;https://episerverblog.wordpress.com/2016/05/03/episerver-custom-property-for-dynamic-content-plugin/&quot; class=&quot;more-link&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;EPiServer Custom Property for Dynamic Content&amp;#160;Plugin&lt;/span&gt;&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;https://pixel.wp.com/b.gif?host=episerverblog.wordpress.com&amp;#038;blog=28555576&amp;#038;post=206&amp;#038;subd=episerverblog&amp;#038;ref=&amp;#038;feed=1&quot; width=&quot;1&quot; height=&quot;1&quot; /&gt;</description>            <guid>http://episerverblog.wordpress.com/?p=206</guid>            <pubDate>Tue, 03 May 2016 09:47:41 GMT</pubDate>           <category>Blog post</category></item><item> <title>Override TinyMCE settings for Paste in EPiServer CMS 8</title>            <link>http://episerverblog.wordpress.com/?p=192</link>            <description>During the last days I have revived complaints from our editors regarding that to much junk gets pasted into the XHtml text-editors. I decided to try&#160;to clear all the class and styles and other junk during paste (CTRL+ V) in to XHtml editor. Eliminating the old paste to notepad first approach. It&#160;is of great concern &amp;#8230; &lt;a href=&quot;https://episerverblog.wordpress.com/2015/04/24/override-tinymce-settings-for-paste/&quot; class=&quot;more-link&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;Override TinyMCE settings for Paste in EPiServer CMS&amp;#160;8&lt;/span&gt;&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;https://pixel.wp.com/b.gif?host=episerverblog.wordpress.com&amp;#038;blog=28555576&amp;#038;post=192&amp;#038;subd=episerverblog&amp;#038;ref=&amp;#038;feed=1&quot; width=&quot;1&quot; height=&quot;1&quot; /&gt;</description>            <guid>http://episerverblog.wordpress.com/?p=192</guid>            <pubDate>Fri, 24 Apr 2015 14:00:22 GMT</pubDate>           <category>Blog post</category></item><item> <title>Get the “owner” of this content</title>            <link>http://episerverblog.wordpress.com/?p=184</link>            <description>Sometimes you want to know if a certain content is used somewhere on the website, in my case I wanted to get the language from the page where&#160;a certain PDF was used to decide if it should be presented in the search result for that specific language. There is no complete way to accomplish this &amp;#8230; &lt;a href=&quot;https://episerverblog.wordpress.com/2015/02/26/get-the-owner-of-this-content/&quot; class=&quot;more-link&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;Get the &amp;#8220;owner&amp;#8221; of this&amp;#160;content&lt;/span&gt;&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;https://pixel.wp.com/b.gif?host=episerverblog.wordpress.com&amp;#038;blog=28555576&amp;#038;post=184&amp;#038;subd=episerverblog&amp;#038;ref=&amp;#038;feed=1&quot; width=&quot;1&quot; height=&quot;1&quot; /&gt;</description>            <guid>http://episerverblog.wordpress.com/?p=184</guid>            <pubDate>Thu, 26 Feb 2015 10:33:39 GMT</pubDate>           <category>Blog post</category></item><item> <title>The mysteri of Caching in EPiServer</title>            <link>http://episerverblog.wordpress.com/?p=173</link>            <description>There are 3 different settings that is good to know about when working with EPiServer. Outputcache IIS will generate static content of pages and serves them faster that way. To enable this feature add httpCacheExpiration=&amp;#8221;0:20:0&amp;#8243; (for example cache for 20 minutes) to the applicationSettings section in episerver.config Yo can also use the [ContentOutputCache] in the &amp;#8230; &lt;a href=&quot;https://episerverblog.wordpress.com/2014/09/16/the-mysteri-of-caching-in-episerver/&quot; class=&quot;more-link&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;The mysteri of Caching in&amp;#160;EPiServer&lt;/span&gt;&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;https://pixel.wp.com/b.gif?host=episerverblog.wordpress.com&amp;#038;blog=28555576&amp;#038;post=173&amp;#038;subd=episerverblog&amp;#038;ref=&amp;#038;feed=1&quot; width=&quot;1&quot; height=&quot;1&quot; /&gt;</description>            <guid>http://episerverblog.wordpress.com/?p=173</guid>            <pubDate>Tue, 16 Sep 2014 13:42:07 GMT</pubDate>           <category>Blog post</category></item><item> <title>Working with Categories and languages</title>            <link>http://episerverblog.wordpress.com/?p=169</link>            <description>Our editors want the list of categories to be simple to work with, to reduce the steps we can preselect the root of each language so that when working with a page in a specific language, only the language specific categories are displayed. You can then create a structure in the category tree as following. &amp;#8230; &lt;a href=&quot;https://episerverblog.wordpress.com/2014/06/17/working-with-categories-and-languages/&quot; class=&quot;more-link&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;Working with Categories and&amp;#160;languages&lt;/span&gt;&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;https://pixel.wp.com/b.gif?host=episerverblog.wordpress.com&amp;#038;blog=28555576&amp;#038;post=169&amp;#038;subd=episerverblog&amp;#038;ref=&amp;#038;feed=1&quot; width=&quot;1&quot; height=&quot;1&quot; /&gt;</description>            <guid>http://episerverblog.wordpress.com/?p=169</guid>            <pubDate>Tue, 17 Jun 2014 16:55:16 GMT</pubDate>           <category>Blog post</category></item><item> <title>Displaying file size for your MediaData</title>            <link>http://episerverblog.wordpress.com/?p=160</link>            <description>Creating a document link as file.pdf(230kB ) may seem like a simple task&amp;#8230; Well now it is&amp;#8230; My Generic media Helper to get the file size And som magic sprinkle of events &amp;#160; Usage Enjoy!&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;https://pixel.wp.com/b.gif?host=episerverblog.wordpress.com&amp;#038;blog=28555576&amp;#038;post=160&amp;#038;subd=episerverblog&amp;#038;ref=&amp;#038;feed=1&quot; width=&quot;1&quot; height=&quot;1&quot; /&gt;</description>            <guid>http://episerverblog.wordpress.com/?p=160</guid>            <pubDate>Wed, 11 Jun 2014 17:56:01 GMT</pubDate>           <category>Blog post</category></item><item> <title>New web site built on bootstrapjs</title>            <link>http://episerverblog.wordpress.com/?p=156</link>            <description>New web site built on bootstrapjs Randomit.se is my latest web site built completly with Bootstrap js. The whole site took about 1 hour to set up and runs well on all platforms with responsive design. &amp;#160;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;https://pixel.wp.com/b.gif?host=episerverblog.wordpress.com&amp;#038;blog=28555576&amp;#038;post=156&amp;#038;subd=episerverblog&amp;#038;ref=&amp;#038;feed=1&quot; width=&quot;1&quot; height=&quot;1&quot; /&gt;</description>            <guid>http://episerverblog.wordpress.com/?p=156</guid>            <pubDate>Tue, 17 Sep 2013 08:50:26 GMT</pubDate>           <category>Blog post</category></item><item> <title>EPiServer 7 MVC Top menu</title>            <link>http://episerverblog.wordpress.com/?p=144</link>            <description>&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;https://pixel.wp.com/b.gif?host=episerverblog.wordpress.com&amp;#038;blog=28555576&amp;#038;post=144&amp;#038;subd=episerverblog&amp;#038;ref=&amp;#038;feed=1&quot; width=&quot;1&quot; height=&quot;1&quot; /&gt;</description>            <guid>http://episerverblog.wordpress.com/?p=144</guid>            <pubDate>Wed, 21 Aug 2013 09:04:06 GMT</pubDate>           <category>Blog post</category></item><item> <title>Export to Excel</title>            <link>http://episerverblog.wordpress.com/?p=110</link>            <description>There are a couple of different ways to do this, but if your data is contained in a GridView then the most convenient way to accomplish this is simply to: &amp;#160;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;https://pixel.wp.com/b.gif?host=episerverblog.wordpress.com&amp;#038;blog=28555576&amp;#038;post=110&amp;#038;subd=episerverblog&amp;#038;ref=&amp;#038;feed=1&quot; width=&quot;1&quot; height=&quot;1&quot; /&gt;</description>            <guid>http://episerverblog.wordpress.com/?p=110</guid>            <pubDate>Mon, 25 Mar 2013 15:51:31 GMT</pubDate>           <category>Blog post</category></item><item> <title>Export XForms data to Excel fails when more than 1000 rows</title>            <link>http://episerverblog.wordpress.com/?p=111</link>            <description>I have notice that an exception is thrown if you try to export more than 1000 rows of data to excel in EPiServer CMS 6.0 R2. The problem can emerge if you have a lot of&#160;answers&#160;in a XForm survey for example. The exception info that is shown is:&#160;The URL-encoded form data is not valid. And&#160;System.InvalidOperationException: &amp;#8230; &lt;a href=&quot;https://episerverblog.wordpress.com/2012/10/05/export-xforms-data-to-excel-fails-when-more-than-1000-rows/&quot; class=&quot;more-link&quot;&gt;Continue reading &lt;span class=&quot;screen-reader-text&quot;&gt;Export XForms data to Excel fails when more than 1000&amp;#160;rows&lt;/span&gt;&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;https://pixel.wp.com/b.gif?host=episerverblog.wordpress.com&amp;#038;blog=28555576&amp;#038;post=111&amp;#038;subd=episerverblog&amp;#038;ref=&amp;#038;feed=1&quot; width=&quot;1&quot; height=&quot;1&quot; /&gt;</description>            <guid>http://episerverblog.wordpress.com/?p=111</guid>            <pubDate>Fri, 05 Oct 2012 12:55:33 GMT</pubDate>           <category>Blog post</category></item><item> <title>FindPagesWithCriteria works different in CMS 6 R2</title>            <link>http://episerverblog.wordpress.com/?p=99</link>            <description>I am currently upgrading a site to run under EPiServer CMS 6 R2 One thing that struck me was that I got zero results back when using code that earlier had been tested and worked. The code below works fine in CMS 6.0: DataFactory.Instance.FindPagesWithCriteria(PageReference.StartPage, criteria); After the R2 upgrade that code yielded no results. The [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=episerverblog.wordpress.com&amp;amp;blog=28555576&amp;amp;post=99&amp;amp;subd=episerverblog&amp;amp;ref=&amp;amp;feed=1&quot; width=&quot;1&quot; height=&quot;1&quot; /&gt;</description>            <guid>http://episerverblog.wordpress.com/?p=99</guid>            <pubDate>Mon, 27 Feb 2012 15:05:25 GMT</pubDate>           <category>Blog post</category></item><item> <title>Epi R2 and TinyMCE stop working properly</title>            <link>http://episerverblog.wordpress.com/2012/01/31/epi-r2-and-tinymce-stop-working-properly/</link>            <description>I am struggling with an R2 upgrade and have faced a lot of problems lately. We use a TinyMCEPlugin to configure Tiny and the CSS. We use:&#160;uiEditorCssPaths=&amp;#8221;site.css&amp;#8221; to display the styles in the editor and on the web, note we are not using an editor.css here. (Because EditMenuName is not a valid CSS-entity and wont [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=episerverblog.wordpress.com&amp;amp;blog=28555576&amp;amp;post=96&amp;amp;subd=episerverblog&amp;amp;ref=&amp;amp;feed=1&quot; width=&quot;1&quot; height=&quot;1&quot; /&gt;</description>            <guid>http://episerverblog.wordpress.com/2012/01/31/epi-r2-and-tinymce-stop-working-properly/</guid>            <pubDate>Tue, 31 Jan 2012 14:43:00 GMT</pubDate>           <category>Blog post</category></item><item> <title>Upgrading EPiServer CMS 6 To 6R2 For dummys</title>            <link>http://episerverblog.wordpress.com/?p=78</link>            <description>Ok so its time for an yearly upgrade, here is my resume on how I succeeded with the whole process. 1. Download the installer from Episerver. 2. If you are using TFS Check out the whole project for Edit. 3. If you are using some form of config transform the chances are that you have [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=episerverblog.wordpress.com&amp;amp;blog=28555576&amp;amp;post=78&amp;amp;subd=episerverblog&amp;amp;ref=&amp;amp;feed=1&quot; width=&quot;1&quot; height=&quot;1&quot; /&gt;</description>            <guid>http://episerverblog.wordpress.com/?p=78</guid>            <pubDate>Fri, 20 Jan 2012 09:17:24 GMT</pubDate>           <category>Blog post</category></item><item> <title>MVC3 Validation using data annotations</title>            <link>http://episerverblog.wordpress.com/?p=71</link>            <description>I recently created a contact form for my latest project bankrutt.se I used a model for my contact entity and the view was auto-generated nicely. One thing that struck me was that the form only validated if any text was entered, how about e-mail validation? It seems that you would have to create your own [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=episerverblog.wordpress.com&amp;amp;blog=28555576&amp;amp;post=71&amp;amp;subd=episerverblog&amp;amp;ref=&amp;amp;feed=1&quot; width=&quot;1&quot; height=&quot;1&quot; /&gt;</description>            <guid>http://episerverblog.wordpress.com/?p=71</guid>            <pubDate>Fri, 13 Jan 2012 13:13:41 GMT</pubDate>           <category>Blog post</category></item><item> <title>MVC3 asp.net 4.0 Entity Framework 4.02 SQLCE 4 and SEO part 2 MVCSitemapProvider</title>            <link>http://episerverblog.wordpress.com/?p=66</link>            <description>I am currently playing around with the MVC Sitemap provider for my new website bankrutt.se&#160;and have discovered the easiest way to create a top menu in MVC3. The top menu shipped in the default MVC3 template&#160;don&amp;#8217;t&#160;have support for highlighting the selected node in the menu. This is a must and the easiest way to&#160;achieve&#160;this is [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=episerverblog.wordpress.com&amp;amp;blog=28555576&amp;amp;post=66&amp;amp;subd=episerverblog&amp;amp;ref=&amp;amp;feed=1&quot; width=&quot;1&quot; height=&quot;1&quot; /&gt;</description>            <guid>http://episerverblog.wordpress.com/?p=66</guid>            <pubDate>Fri, 13 Jan 2012 10:08:14 GMT</pubDate>           <category>Blog post</category></item><item> <title>MVC3 asp.net 4.0 Entity Framework 4.02 SQLCE 4 and SEO part 1</title>            <link>http://episerverblog.wordpress.com/?p=61</link>            <description>I am currently struggling with an idea to create a SEO-friendly site&#160;Bankrutt.se&#160;with&#160;asp.net 4.0&#160;running&#160;MVC3&#160;with&#160;razor&#160;and&#160;Entity Framework 4.02. The database is the new&#160;SQLCE 4.0. The whole solution is hosted externally running asp-net 4.0 x64. I had a nice SQLite solution earlier but as you might noticed SQLite is still only shipped as X86. Since my web hosting haven&amp;#8217;t [...]&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=episerverblog.wordpress.com&amp;amp;blog=28555576&amp;amp;post=61&amp;amp;subd=episerverblog&amp;amp;ref=&amp;amp;feed=1&quot; width=&quot;1&quot; height=&quot;1&quot; /&gt;</description>            <guid>http://episerverblog.wordpress.com/?p=61</guid>            <pubDate>Thu, 12 Jan 2012 14:58:11 GMT</pubDate>           <category>Blog post</category></item><item> <title>Create PDF direct from HTML with IText</title>            <link>http://episerverblog.wordpress.com/?p=34</link>            <description>The most convenient way to produce a PDF from web content must be the use of IText.HTMLWorker. This is a sample to get you going.&#160; Download the IText library for .net here http://sourceforge.net/projects/itextsharp/&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=episerverblog.wordpress.com&amp;amp;blog=28555576&amp;amp;post=34&amp;amp;subd=episerverblog&amp;amp;ref=&amp;amp;feed=1&quot; width=&quot;1&quot; height=&quot;1&quot; /&gt;</description>            <guid>http://episerverblog.wordpress.com/?p=34</guid>            <pubDate>Thu, 27 Oct 2011 15:30:21 GMT</pubDate>           <category>Blog post</category></item><item> <title>Jquery datetimepicker calendar</title>            <link>http://episerverblog.wordpress.com/?p=25</link>            <description>Among a lot of cool things the datetimepicker can show week numbers and have culture support.&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=episerverblog.wordpress.com&amp;amp;blog=28555576&amp;amp;post=25&amp;amp;subd=episerverblog&amp;amp;ref=&amp;amp;feed=1&quot; width=&quot;1&quot; height=&quot;1&quot; /&gt;</description>            <guid>http://episerverblog.wordpress.com/?p=25</guid>            <pubDate>Tue, 25 Oct 2011 08:32:31 GMT</pubDate>           <category>Blog post</category></item><item> <title>Simple clean AJAX with jquery and [WebMethod]</title>            <link>http://episerverblog.wordpress.com/?p=18</link>            <description>Include Jquery.js Add this to your aspx $(document).ready(function () { $.ajax({ type: &amp;#8220;POST&amp;#8221;, url: &amp;#8220;WebForm1.aspx/DoShit&amp;#8221;, data: &amp;#8220;{source:&amp;#8217;web&amp;#8217;}&amp;#8221;, contentType: &amp;#8220;application/json; charset=utf-8&amp;#8243;, dataType: &amp;#8220;json&amp;#8221;, success: function(msg) { alert(msg.d); } }) }); And on the server side [WebMethod] public static string DoShit(string source) { return DateTime.Now.ToString() +&amp;#8221; &amp;#8221; +source; }&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=episerverblog.wordpress.com&amp;amp;blog=28555576&amp;amp;post=18&amp;amp;subd=episerverblog&amp;amp;ref=&amp;amp;feed=1&quot; width=&quot;1&quot; height=&quot;1&quot; /&gt;</description>            <guid>http://episerverblog.wordpress.com/?p=18</guid>            <pubDate>Thu, 20 Oct 2011 08:59:52 GMT</pubDate>           <category>Blog post</category></item><item> <title>View Event logs in EPiServer admin mode</title>            <link>http://episerverblog.wordpress.com/?p=3</link>            <description>&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=episerverblog.wordpress.com&amp;amp;blog=28555576&amp;amp;post=3&amp;amp;subd=episerverblog&amp;amp;ref=&amp;amp;feed=1&quot; width=&quot;1&quot; height=&quot;1&quot; /&gt;</description>            <guid>http://episerverblog.wordpress.com/?p=3</guid>            <pubDate>Tue, 18 Oct 2011 16:39:41 GMT</pubDate>           <category>Blog post</category></item></channel>
</rss>