<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-220453716412258117</id><updated>2026-10-14T12:17:11.922-07:00</updated><category term="Dotnetnuke"/><category term="VB.Net"/><category term="Javascript"/><category term="jQuery"/><category term="EntitySpaces"/><category term="Facebook"/><category term="Solr"/><category term="VivoSocial"/><category term="AutoHide"/><category term="BootStrap"/><category term="BreadCrumbs"/><category term="CSS"/><category term="Color Picker"/><category term="Convert C# to VB"/><category term="DNNLabel"/><category term="DotNetNuke Label"/><category term="DotNetNuke SEO"/><category term="Metaweblog API"/><category term="Plugins"/><category term="Profanity Filter"/><category term="Reminder To Self"/><category term="Robot Meta"/><category term="SOLRNet"/><category term="Telerik"/><category term="Tools &amp; Utilities"/><category term="Windows Live Writer"/><category term="YouTube Kids"/><title type='text'>vreboton</title><subtitle type='html'>C# VB.Net DOTNETNUKE EntityFramework jQuery Ionic Vuejs</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>43</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-7485309500946360226</id><published>2015-11-03T06:44:00.000-08:00</published><updated>2015-11-03T06:44:14.261-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><title type='text'>A javascript library for formatting and manipulating numbers.</title><content type='html'>&lt;b&gt;Numeral.js&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: HelveticaNeue-Light, &#39;Helvetica Neue Light&#39;, &#39;Helvetica Neue&#39;, Helvetica, Arial, &#39;Lucida Grande&#39;, sans-serif; font-size: 16px; line-height: 20px;&quot;&gt;, while less complex, was inspired by and heavily borrowed from&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://momentjs.com/&quot; style=&quot;background-color: white; color: #0092bf; font-family: HelveticaNeue-Light, &#39;Helvetica Neue Light&#39;, &#39;Helvetica Neue&#39;, Helvetica, Arial, &#39;Lucida Grande&#39;, sans-serif; font-size: 16px; line-height: 20px; text-decoration: none; transition: color 0.3s ease;&quot;&gt;Moment.js&lt;/a&gt;&amp;nbsp;so if you have use momentjs before you should be familiar with this library. &lt;br /&gt;&lt;br /&gt;Numbers can be formatted to look like currency, percentages and more. &lt;br /&gt;&lt;br /&gt;
How to use:&lt;br /&gt;
numeral(1000).format(&#39;0,0&#39;) returns 1,000&lt;br /&gt;
numeral(1230974).format(&#39;0.0a&#39;) returns 1.2m&lt;br /&gt;
&lt;br /&gt;
numeral(1000.234).format(&#39;$0,0.00&#39;) returns $1,000.23&lt;br /&gt;
numeral(1230974).format(&#39;($ 0.00 a)&#39;) returns $ 1.23 m&lt;br /&gt;
&lt;br /&gt;
numeral(1).format(&#39;0%&#39;) returns 100%&lt;br /&gt;
numeral(0.974878234).format(&#39;0.000%&#39;) returns 97.488%&lt;br /&gt;
&lt;br /&gt;
For more sample and options go to&lt;a href=&quot;http://numeraljs.com/&quot;&gt;&amp;nbsp;http://numeraljs.com/&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/7485309500946360226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2015/11/a-javascript-library-for-formatting-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/7485309500946360226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/7485309500946360226'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2015/11/a-javascript-library-for-formatting-and.html' title='A javascript library for formatting and manipulating numbers.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-5981133762762416874</id><published>2015-10-05T20:01:00.001-07:00</published><updated>2015-10-05T20:01:35.491-07:00</updated><title type='text'>Button click always fires when you press enter key</title><content type='html'>I&#39;ve spent hours trying to figure this out, but the solution is just adding the type=&quot;button&quot; attribute to the button element.&lt;br /&gt;&lt;br /&gt;Issue.&lt;br /&gt;&lt;span style=&quot;background-color: #f7f7f7; color: #333333; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 13px; line-height: 18.5714px;&quot;&gt;&amp;lt;button id=&quot;generateButton&quot; class=&quot;btn btn-info btn-sm&quot;&amp;gt;Generate&amp;lt;/button&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Solution&lt;br /&gt;&lt;span style=&quot;background-color: #f7f7f7; color: #333333; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 13px; line-height: 18.5714px;&quot;&gt;&amp;lt;button id=&quot;generateButton&quot; type=&quot;button&quot; class=&quot;btn btn-info btn-sm&quot;&amp;gt;Generate&amp;lt;/button&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
I got the solution from this post on SOF.&lt;br /&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/12325066/button-click-event-fires-when-pressing-enter-key-in-different-input-no-forms&quot;&gt;http://stackoverflow.com/questions/12325066/button-click-event-fires-when-pressing-enter-key-in-different-input-no-forms&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/5981133762762416874/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2015/10/button-click-always-fires-when-you.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/5981133762762416874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/5981133762762416874'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2015/10/button-click-always-fires-when-you.html' title='Button click always fires when you press enter key'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-8172918581289160500</id><published>2015-10-02T07:47:00.001-07:00</published><updated>2015-10-02T07:51:57.039-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="YouTube Kids"/><title type='text'>Introducing the YouTube Kids app</title><content type='html'>&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://www.youtube.com/embed/OUmMAAPX6E8&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
Countries outside of the US have kids too, &amp;nbsp;Please Google I need this in Philippines App Store like last February 2015. :)</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/8172918581289160500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2015/10/introducing-youtube-kids-app.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/8172918581289160500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/8172918581289160500'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2015/10/introducing-youtube-kids-app.html' title='Introducing the YouTube Kids app'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/OUmMAAPX6E8/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-5560554283175781030</id><published>2015-04-24T23:34:00.000-07:00</published><updated>2015-04-24T23:34:00.756-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="BootStrap"/><title type='text'>Turn checkboxes and radio buttons in toggle switches  </title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.bootstrap-switch.org/&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiNxV6yEvxKdMdxHFav840d9wqNZqWM47Sh9-zBN_hUQ-Q1ySzCEerxFmuwZm6AZZDLCNjoKtRjG318_Q8fhqMYFdmrYqqaiIhRHftTVx-eHrEivCQxA-5jsh_xhqLt9y2crLcMiXpYhw/s1600/sample.png&quot; height=&quot;517&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://www.bootstrap-switch.org/&quot;&gt;http://www.bootstrap-switch.org/&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/5560554283175781030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2015/04/turn-checkboxes-and-radio-buttons-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/5560554283175781030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/5560554283175781030'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2015/04/turn-checkboxes-and-radio-buttons-in.html' title='Turn checkboxes and radio buttons in toggle switches  '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiNxV6yEvxKdMdxHFav840d9wqNZqWM47Sh9-zBN_hUQ-Q1ySzCEerxFmuwZm6AZZDLCNjoKtRjG318_Q8fhqMYFdmrYqqaiIhRHftTVx-eHrEivCQxA-5jsh_xhqLt9y2crLcMiXpYhw/s72-c/sample.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-4118385765414632877</id><published>2015-04-23T23:30:00.003-07:00</published><updated>2015-04-23T23:30:34.666-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="jQuery"/><title type='text'>jQuery BBQ: Back Button &amp; Query Library</title><content type='html'>jQuery BBQ leverages the HTML5 hashchange event to allow simple, yet powerful bookmarkable #hash history. In addition, jQuery BBQ provides a full .deparam() method, along with both hash state management, and fragment / query string parse and merge utility methods.&lt;br /&gt;
&lt;br /&gt;&lt;a href=&quot;http://benalman.com/projects/jquery-bbq-plugin/&quot;&gt;http://benalman.com/projects/jquery-bbq-plugin/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/4118385765414632877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2015/04/jquery-bbq-back-button-query-library.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/4118385765414632877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/4118385765414632877'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2015/04/jquery-bbq-back-button-query-library.html' title='jQuery BBQ: Back Button &amp; Query Library'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-5476584180179091318</id><published>2014-12-08T02:19:00.000-08:00</published><updated>2014-12-08T02:19:09.984-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><title type='text'>Format date and time using Moment.js</title><content type='html'>The javascript function below will format a given datetime object like facebook ish using &lt;a href=&quot;http://momentjs.com/&quot;&gt;momentjs&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;function formatDateTime(dte, format) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; var diff = moment().diff(moment(dte), &#39;days&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; if (diff == 0) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return moment(dte).fromNow();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; else if (diff == 1) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return moment(dte).calendar();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; else {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (format) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return moment(dte).format(format);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return moment(dte).format(&quot;MMM DD, YYYY hA&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
The return value will depend on the datetime pass to the function:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;If today&lt;/b&gt;&lt;br /&gt;
&quot;a few seconds ago&quot; or &quot;13 minutes&quot; ago or &quot;an hour ago&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;If yesterday&lt;/b&gt;&lt;br /&gt;
&quot;Yesterday at 5:15 PM&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;If the second parameter is pass it will use it base on &lt;a href=&quot;http://momentjs.com/docs/#/displaying/format/&quot;&gt;momentjs formating&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Everything else&lt;/b&gt;&lt;br /&gt;
Oct 16, 2014 1PM</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/5476584180179091318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2014/12/format-date-and-time-using-momentjs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/5476584180179091318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/5476584180179091318'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2014/12/format-date-and-time-using-momentjs.html' title='Format date and time using Moment.js'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-3808177607065691722</id><published>2014-07-15T01:18:00.001-07:00</published><updated>2014-07-15T01:18:37.470-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="VB.Net"/><title type='text'>HowTo: Convert a given number into its ordinal value in VB.NET</title><content type='html'>Found this code from&amp;nbsp;&lt;a href=&quot;http://stackoverflow.com/questions/265097/is-there-a-vb-net-function-to-format-a-number-as-an-ordinal&quot;&gt;stackoverflow&lt;/a&gt;&amp;nbsp;and made some small change to it, &amp;nbsp;this will convert any given number to its ordinal value.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Convert(1) will return 1st&lt;/span&gt;&lt;br /&gt;
Convert(11) will return 11th&lt;br /&gt;
Convert(12) will return 12th&lt;br /&gt;
Convert(23) will return 23rd&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Public Function Convert(ByVal number As Integer) As String&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim ones As Integer = number Mod 10&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim tens As Integer = Math.Floor(number / 10) / 10&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If (number &amp;gt; 10 And number &amp;lt; 14) Then&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Return number.ToString() &amp;amp; &quot;th&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Select Case ones&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Return number.ToString() &amp;amp; &quot;st&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case 2&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Return number.ToString() &amp;amp; &quot;nd&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case 3&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Return number.ToString() &amp;amp; &quot;rd&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Case Else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Return number.ToString() &amp;amp; &quot;th&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End Select&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End If&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; End Function&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/3808177607065691722/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2014/07/howto-convert-given-number-into-its.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/3808177607065691722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/3808177607065691722'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2014/07/howto-convert-given-number-into-its.html' title='HowTo: Convert a given number into its ordinal value in VB.NET'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-8801599355633846178</id><published>2014-06-27T05:44:00.002-07:00</published><updated>2014-06-27T05:44:50.998-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dotnetnuke"/><title type='text'>Dotnetnuke Messages and Notifications links not working properly</title><content type='html'>It take me a week to figure this out, had to look into the source code, &amp;nbsp;In our case the issue occur because we have a custom User Profile page and the Message Center page in not a child of that page. &lt;br /&gt;
&lt;br /&gt;
We just move the messages page under profile page and everything works properly. &amp;nbsp;Also make sure you clear cache under host settings.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.dnnsoftware.com/answers/cid/435505&quot;&gt;I ask a question about this on DNN Q&amp;amp;A&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/8801599355633846178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2014/06/dotnetnuke-messages-and-notifications.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/8801599355633846178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/8801599355633846178'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2014/06/dotnetnuke-messages-and-notifications.html' title='Dotnetnuke Messages and Notifications links not working properly'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-3594596418236872628</id><published>2014-06-10T08:01:00.000-07:00</published><updated>2014-06-10T08:01:07.494-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Convert C# to VB"/><category scheme="http://www.blogger.com/atom/ns#" term="Telerik"/><title type='text'>Free Convert VB.NET to C#, developerfusion and teletik Code Converter</title><content type='html'>I&#39;ve been using &lt;a href=&quot;http://www.developerfusion.com/tools/convert/vb-to-csharp/&quot;&gt;developerfusion.com&lt;/a&gt;&amp;nbsp;for a long time to convert the C# code I need to VB.NET and it always work like a charm, but its been crappy lately so I tried the &lt;a href=&quot;http://converter.telerik.com/&quot;&gt;Code Converter provided by telerik&lt;/a&gt;&amp;nbsp;and It works perfectly.</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/3594596418236872628/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2014/06/free-convert-vbnet-to-c-developerfusion.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/3594596418236872628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/3594596418236872628'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2014/06/free-convert-vbnet-to-c-developerfusion.html' title='Free Convert VB.NET to C#, developerfusion and teletik Code Converter'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-7209426583235594093</id><published>2014-06-10T07:34:00.001-07:00</published><updated>2014-06-10T07:34:33.988-07:00</updated><title type='text'>Whatever: the objects moment.js makes are not JavaScript dat...</title><content type='html'>&lt;a href=&quot;http://tom-jaeschke.blogspot.com/2013/10/the-objects-momentjs-makes-are-not.html?spref=bl&quot;&gt;Whatever: the objects moment.js makes are not JavaScript dat...&lt;/a&gt;: Cast them back to plain Jane dates like so:  var lastHalloween = moment().subtract(&#39;year&#39;, 1).toDate();</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/7209426583235594093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2014/06/whatever-objects-momentjs-makes-are-not.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/7209426583235594093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/7209426583235594093'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2014/06/whatever-objects-momentjs-makes-are-not.html' title='Whatever: the objects moment.js makes are not JavaScript dat...'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-6120847432162450237</id><published>2014-05-31T06:22:00.003-07:00</published><updated>2014-05-31T06:22:53.992-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dotnetnuke"/><category scheme="http://www.blogger.com/atom/ns#" term="Solr"/><category scheme="http://www.blogger.com/atom/ns#" term="SOLRNet"/><title type='text'>DotNetNuke and Apache Solr in action</title><content type='html'>&lt;a href=&quot;http://www.zeekbeek.com/&quot;&gt;
&lt;img border=&quot;0&quot; src=&quot;http://www.zeekbeek.com/Portals/0/zeekbeek.png&quot; /&gt;
&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
All search functionality of&amp;nbsp;&lt;a href=&quot;http://zeekbeek.com/&quot;&gt;zeekbeek.com&lt;/a&gt; is powered by SOLR.&lt;br /&gt;
&lt;br /&gt;
Also we are using&amp;nbsp;&lt;a href=&quot;http://imakewebthings.com/jquery-waypoints/shortcuts/infinite-scroll/&quot;&gt;jQuery Waypoints&lt;/a&gt;&amp;nbsp;for&amp;nbsp;infinite scroll of search results and&amp;nbsp;&lt;a href=&quot;http://benalman.com/projects/jquery-bbq-plugin/&quot;&gt;jQuery BBQ&lt;/a&gt;&amp;nbsp;for handing&amp;nbsp;#hash.</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/6120847432162450237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2014/05/dotnetnuke-and-apache-solr-in-action.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/6120847432162450237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/6120847432162450237'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2014/05/dotnetnuke-and-apache-solr-in-action.html' title='DotNetNuke and Apache Solr in action'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-8012325337137510029</id><published>2014-05-27T19:03:00.001-07:00</published><updated>2014-05-27T19:05:41.588-07:00</updated><title type='text'>A problem occurred while trying to set the &quot;References&quot; parameter for the IDE&#39;s in-process compiler. Error HRESULT E_FAIL has been returned from a call to a COM component.</title><content type='html'>I resolve my issue with the help from the &lt;a href=&quot;https://connect.microsoft.com/VisualStudio/feedback/details/561664/a-problem-occurred-while-trying-to-set-the-references-parameter-for-the-ides-in-process-compiler&quot;&gt;workaround here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
In my case it was about adding a reference to itself. Removed it and it is working fine now.&lt;/blockquote&gt;
</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/8012325337137510029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2014/05/a-problem-occurred-while-trying-to-set.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/8012325337137510029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/8012325337137510029'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2014/05/a-problem-occurred-while-trying-to-set.html' title='A problem occurred while trying to set the &quot;References&quot; parameter for the IDE&#39;s in-process compiler. Error HRESULT E_FAIL has been returned from a call to a COM component.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-4083762767517374090</id><published>2014-05-22T12:13:00.000-07:00</published><updated>2014-05-22T12:13:36.538-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Reminder To Self"/><category scheme="http://www.blogger.com/atom/ns#" term="Tools &amp; Utilities"/><title type='text'>iCalendar Validator</title><content type='html'>This iCalendar Format Validator is a big help when it comes validating the content of you iCalendar file (ics)&lt;br /&gt;
&lt;br /&gt;
http://severinghaus.org/projects/icv/</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/4083762767517374090/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2014/05/icalendar-validator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/4083762767517374090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/4083762767517374090'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2014/05/icalendar-validator.html' title='iCalendar Validator'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-722476019998254608</id><published>2013-10-30T07:14:00.000-07:00</published><updated>2013-10-30T07:16:25.886-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dotnetnuke"/><category scheme="http://www.blogger.com/atom/ns#" term="DotNetNuke SEO"/><category scheme="http://www.blogger.com/atom/ns#" term="Robot Meta"/><title type='text'>Allow Indexing Page Settings and ROBOTS Meta in DotNetNuke</title><content type='html'>&lt;div&gt;
This is a single page settings that every&amp;nbsp;DotNetNuke&amp;nbsp;Admin should never forget.&lt;br /&gt;
&lt;br /&gt;
This setting controls whether a page should be indexed by search crawlers. It uses the INDEX/NOINDEX values for ROBOTS meta tag.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
It is located in:&lt;br /&gt;
&lt;b&gt;Page Settings &amp;gt; Advance Settings &amp;gt; Other Settings&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7gURUWHfd67dh1FS_PFjyg1Pl3pXne1eL6taienBdd4c7RMBorrMaxmMQF6oGEsy-0sOfxlTVGDcqnrH3Ft1hQowVgbuHKPWXzof0oMtxosDjS-F08ul5uFabiwvj0fLymU8O9B95c6Y/s1600/DNN-AllowIndexing.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;241&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7gURUWHfd67dh1FS_PFjyg1Pl3pXne1eL6taienBdd4c7RMBorrMaxmMQF6oGEsy-0sOfxlTVGDcqnrH3Ft1hQowVgbuHKPWXzof0oMtxosDjS-F08ul5uFabiwvj0fLymU8O9B95c6Y/s640/DNN-AllowIndexing.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/722476019998254608/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2013/10/allow-indexing-page-settings-and-robots.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/722476019998254608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/722476019998254608'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2013/10/allow-indexing-page-settings-and-robots.html' title='Allow Indexing Page Settings and ROBOTS Meta in DotNetNuke'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7gURUWHfd67dh1FS_PFjyg1Pl3pXne1eL6taienBdd4c7RMBorrMaxmMQF6oGEsy-0sOfxlTVGDcqnrH3Ft1hQowVgbuHKPWXzof0oMtxosDjS-F08ul5uFabiwvj0fLymU8O9B95c6Y/s72-c/DNN-AllowIndexing.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-2892207801682156137</id><published>2013-07-15T08:47:00.001-07:00</published><updated>2013-07-15T08:47:44.500-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dotnetnuke"/><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="jQuery"/><title type='text'>Example on how to use dnnConfirm jQuery Plugin</title><content type='html'>The JS code below will show a dnn confirm dialog upon click on any button with my-Button class. &amp;nbsp;Pay attention to &lt;b&gt;isButton&lt;/b&gt; option on initialization and the &lt;b&gt;isTrigger&lt;/b&gt; parameter on button click.&lt;br /&gt;
&lt;br /&gt;
//initialization&lt;br /&gt;
$(&quot;.my-Button&quot;).dnnConfirm({&lt;br /&gt;
&amp;nbsp; &amp;nbsp; text: &quot;Confirm Message&quot;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; title: &quot;Confirm&quot;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; isButton: true&lt;br /&gt;
});&lt;br /&gt;
//button click handler&lt;br /&gt;
$(&quot;.my-Button&quot;).click(function (e, isTrigger) {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (isTrigger) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Your code here&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; return false;&lt;br /&gt;
&lt;br /&gt;
});</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/2892207801682156137/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2013/07/example-on-how-to-use-dnnconfirm-jquery.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/2892207801682156137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/2892207801682156137'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2013/07/example-on-how-to-use-dnnconfirm-jquery.html' title='Example on how to use dnnConfirm jQuery Plugin'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-4833573688884576706</id><published>2013-07-05T22:17:00.000-07:00</published><updated>2013-07-05T22:17:43.584-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dotnetnuke"/><category scheme="http://www.blogger.com/atom/ns#" term="Solr"/><title type='text'>DotNetNuke+Apache Solr=High Speed Enterprise Search</title><content type='html'>&lt;b&gt;We have successfully implemented &lt;a href=&quot;http://lucene.apache.org/solr/&quot;&gt;Apache Solr&lt;/a&gt; as a Search Solution for &lt;a href=&quot;http://www.dotnetnuke.com/&quot;&gt;DotNetNuke&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Here&#39;s the summary on how we did it.&lt;/b&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
First we installed&amp;nbsp;&lt;a href=&quot;http://bitnami.com/stack/solr&quot;&gt;BitNami Apache Solr Stack&lt;/a&gt;&amp;nbsp;to our test machine(Windows 7).&lt;br /&gt;&lt;br /&gt;We change the Solr Schema to fit our needs. &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
We build a DNN Scheduler to add/edit/delete documents to Solr using &lt;a href=&quot;https://code.google.com/p/solrnet/&quot;&gt;Solrnet&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;After we are done indexing, &amp;nbsp;we created a search class to query Solr Webservice using Solrnet.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Now we have an Intelligent and Fast Search. :)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
FYI: Solr has a cool Dashboard that will let you check if your documents are being index properly or do some test query.&lt;br /&gt;&lt;br /&gt;I will find time to share actual source code in the near future.&lt;br /&gt;&lt;br /&gt;Regards&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/4833573688884576706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2013/07/dotnetnukeapache-solrhigh-speed.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/4833573688884576706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/4833573688884576706'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2013/07/dotnetnukeapache-solrhigh-speed.html' title='DotNetNuke+Apache Solr=High Speed Enterprise Search'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-4820398721863025286</id><published>2013-07-05T11:57:00.000-07:00</published><updated>2013-07-05T12:00:01.932-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dotnetnuke"/><category scheme="http://www.blogger.com/atom/ns#" term="VB.Net"/><title type='text'>Sorting DotNetNuke List Using Linq</title><content type='html'>&lt;b&gt;The code below will return a list of ListEntryInfo objects sorted by value in ascending order.

:)&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
Dim lc As New DotNetNuke.Common.Lists.ListController()&lt;br /&gt;
Dim entries = From e In lc.GetListEntryInfoItems(&quot;ListName&quot;) Order By e.Value Ascending Select e</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/4820398721863025286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2013/07/sorting-dotnetnuke-list-using-linq.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/4820398721863025286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/4820398721863025286'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2013/07/sorting-dotnetnuke-list-using-linq.html' title='Sorting DotNetNuke List Using Linq'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-8054275229656755789</id><published>2013-06-12T19:03:00.002-07:00</published><updated>2013-06-12T19:03:23.364-07:00</updated><title type='text'>Check if Table Exist :TSQL</title><content type='html'>IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N&#39;TABLENAME]&#39;) AND OBJECTPROPERTY(id, N&#39;IsTable&#39;) = 1)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;BEGIN&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; -- Your code here&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;END</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/8054275229656755789/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2013/06/check-if-table-exist-tsql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/8054275229656755789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/8054275229656755789'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2013/06/check-if-table-exist-tsql.html' title='Check if Table Exist :TSQL'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-579018535179856357</id><published>2013-05-24T01:03:00.003-07:00</published><updated>2013-05-24T01:06:29.199-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dotnetnuke"/><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="jQuery"/><title type='text'>Another way implementing dnnConfirm</title><content type='html'>&lt;br /&gt;
// Delete review button&lt;br /&gt;
$(&quot;.Delete-Button&quot;).dnnConfirm({&lt;br /&gt;
&amp;nbsp; &amp;nbsp; text: &quot;Confirm Message&quot;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; title: &quot;Confirm Title&quot;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; isButton: true&lt;br /&gt;
});&lt;br /&gt;
$(document).delegate(&quot;.Delete-Button&quot;, &quot;click&quot;, function (e) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (e.isTrigger) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //Your code here&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; return false;&lt;br /&gt;
});&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/579018535179856357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2013/05/another-way-implementing-dnnconfirm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/579018535179856357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/579018535179856357'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2013/05/another-way-implementing-dnnconfirm.html' title='Another way implementing dnnConfirm'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-7148571526570569242</id><published>2013-03-25T02:37:00.000-07:00</published><updated>2013-03-25T02:39:14.823-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="Dotnetnuke"/><title type='text'>Disable tokeninput inside of Compose Message Dialog</title><content type='html'>&lt;p&gt;
I implemented DotNetNuke&#39;s &lt;b&gt;dnnComposeMessage&lt;/b&gt; method/plugin in one of my module and I notice that other than the contact being pre-populated, users are also allowed to add/edit contact, this is great if you want it that way, however if you don&#39;t want users to change contacts other than what you already pre-populated, then we should disable it.  I can&#39;t find a method inside of &lt;a href=&quot;http://loopj.com/jquery-tokeninput/&quot;&gt;tokeninput&lt;/a&gt; plugin so I use CSS to hide the close icon and input control which in turn disable add or delete of contact during compose message dialog.  Below is my CSS, using facebook theme.
&lt;/p&gt;

&lt;p&gt;
.composeMessageDialog fieldset .dnnFormItem .token-input-input-token-facebook input { display: none; }
.composeMessageDialog fieldset .dnnFormItem .token-input-delete-token-facebook { display: none; }
&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/7148571526570569242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2013/03/disable-tokeninput-inside-of-compose.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/7148571526570569242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/7148571526570569242'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2013/03/disable-tokeninput-inside-of-compose.html' title='Disable tokeninput inside of Compose Message Dialog'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-7656094564102169703</id><published>2012-09-18T21:16:00.000-07:00</published><updated>2012-09-18T21:16:52.431-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dotnetnuke"/><category scheme="http://www.blogger.com/atom/ns#" term="jQuery"/><title type='text'>dnnAlert and dnnConfirm jQuery Plugin</title><content type='html'>&lt;p&gt;
I like the idea of using jQuery Plugins in DNN for interactive and consistent user interface which is why I digg into using dnnAlert and dnnConfirm plugins, however after a quick look on the documentation I notice the following.
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;For dnnAlert you can&#39;t set the title.&lt;/b&gt;
We are allowed to set the OK button text using &lt;b&gt;okText&lt;/b&gt; option but not the dialog title?
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;For dnnConfirm.&lt;/b&gt;
This is very usefull when you just want a confirmation dialog upon click on your button or link however you can&#39;t use it like javascript confirm function or at least I don&#39;t know how to use it like below:
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;if(confirm(&#39;Question?&#39;)){//some code}&lt;/b&gt;
&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/7656094564102169703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2012/09/dnnalert-and-dnnconfirm-jquery-plugin.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/7656094564102169703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/7656094564102169703'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2012/09/dnnalert-and-dnnconfirm-jquery-plugin.html' title='dnnAlert and dnnConfirm jQuery Plugin'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-6369196959497050965</id><published>2012-09-11T07:45:00.001-07:00</published><updated>2012-09-11T07:48:47.075-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="jQuery"/><title type='text'>jQuery AJAX Cache Issue with IE</title><content type='html'>If you are having issue with jquery ajax api in IE where it keeps returning the same set of results over and over again.  set cache option to false.  

So for example instead of using
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;$.ajax({ url: surl, dataType: &#39;json&#39; }).done(function (data) { });&lt;/b&gt;
&lt;br /&gt;
&lt;br /&gt;
use
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;$.ajax({ url: surl, dataType: &#39;json&#39;, cache: false }).done(function (data) { });&lt;/b&gt;
&lt;br /&gt;
&lt;br /&gt;
HTH</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/6369196959497050965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2012/09/jquery-ajax-issue-with-ie.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/6369196959497050965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/6369196959497050965'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2012/09/jquery-ajax-issue-with-ie.html' title='jQuery AJAX Cache Issue with IE'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-3521513666047608147</id><published>2012-09-10T10:02:00.002-07:00</published><updated>2012-09-11T07:49:55.998-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dotnetnuke"/><title type='text'>Hide New Message Count in DotNetNuke Profile Link</title><content type='html'>If you use a custom messaging module in dotnetnuke and don&#39;t want to see the new message count from DNN built in Messaging Module set dnnUSER skin object  &lt;b&gt;ShowUnreadMessages&lt;/b&gt; property to false.

&lt;br /&gt;
&lt;br /&gt;
Example:
&lt;br /&gt;
&amp;lt;dnn:USER runat=&amp;quot;server&amp;quot; id=&amp;quot;dnnUSER&amp;quot; CssClass=&amp;quot;register&amp;quot; ShowUnreadMessages=&amp;quot;false&amp;quot; /&amp;gt;

&lt;br /&gt;
&lt;br /&gt;
HTH</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/3521513666047608147/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2012/09/hide-new-message-count-in-dotnetnuke.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/3521513666047608147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/3521513666047608147'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2012/09/hide-new-message-count-in-dotnetnuke.html' title='Hide New Message Count in DotNetNuke Profile Link'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-3609129180009215876</id><published>2012-08-27T03:58:00.003-07:00</published><updated>2012-09-11T07:49:28.378-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dotnetnuke"/><category scheme="http://www.blogger.com/atom/ns#" term="VB.Net"/><title type='text'>Export Crystal Report to PDF using VB.Net for Download in  your DotNetNuke site</title><content type='html'>The code below will force download of PDF version of you crystal report in DotNetNuke.

This code is base on &lt;a href=&quot;http://vb.net-informations.com/crystal-report/vb.net_crystal_report_export_pdf.htm&quot;&gt;this article&lt;/a&gt;.

&lt;pre class=&quot;brush: vb.net; bloggerMode: true&quot;&gt;
&#39; Create a temporary filename
Dim strPDF As String = MapPath(&quot;Reports/TO&quot; &amp; Session.SessionID &amp; &quot;.pdf&quot;)

&#39; Create report
Dim rpt As New TravelOrderList

&#39; Set report params
&#39;rpt.SetParameterValue(&quot;ReportTitle&quot;, &quot;Report Title&quot;)
&#39;rpt.SetParameterValue(&quot;ReportSubTitle&quot;, &quot;Sub Title&quot;)

&#39; Set report datasource
rpt.SetDataSource(ds)
&lt;/pre&gt;

Dim CrExportOptions As ExportOptions
Dim CrDiskFileDestinationOptions As New DiskFileDestinationOptions()
Dim CrFormatTypeOptions As New PdfRtfWordFormatOptions()
CrDiskFileDestinationOptions.DiskFileName = strPDF
CrExportOptions = rpt.ExportOptions
With CrExportOptions
   .ExportDestinationType = ExportDestinationType.DiskFile
   .ExportFormatType = ExportFormatType.PortableDocFormat
   .DestinationOptions = CrDiskFileDestinationOptions
   .FormatOptions = CrFormatTypeOptions
End With
rpt.Export()

&#39; Force download(in DNN)
FileSystemUtils.DownloadFile(strPDF)

&#39; Delete temp file
IO.File.Delete(strPDF)
&lt;br /&gt;
&lt;br /&gt;
HTH
&lt;br /&gt;
&lt;!-- SYNTAX HIGHLIGHTER --&gt;
&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://alexgorbatchev.com/pub/sh/2.0.320/scripts/shCore.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://alexgorbatchev.com/pub/sh/2.0.320/scripts/shBrushBash.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://alexgorbatchev.com/pub/sh/2.0.320/scripts/shBrushCss.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://alexgorbatchev.com/pub/sh/2.0.320/scripts/shBrushDiff.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://alexgorbatchev.com/pub/sh/2.0.320/scripts/shBrushJScript.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://alexgorbatchev.com/pub/sh/2.0.320/scripts/shBrushSql.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://alexgorbatchev.com/pub/sh/2.0.320/scripts/shBrushVb.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://alexgorbatchev.com/pub/sh/2.0.320/scripts/shBrushXml.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;SyntaxHighlighter.config.clipboardSwf = &#39;http://alexgorbatchev.com/pub/sh/2.0.320/scripts/clipboard.swf&#39;;SyntaxHighlighter.config.bloggerMode = true;SyntaxHighlighter.all();&lt;/script&gt; &lt;br /&gt;
&lt;link type=&quot;text/css&quot; rel=&quot;stylesheet&quot; href=&quot;http://alexgorbatchev.com/pub/sh/2.0.320/styles/shCore.css&quot;/&gt;&lt;link type=&quot;text/css&quot; rel=&quot;stylesheet&quot; href=&quot;http://alexgorbatchev.com/pub/sh/2.0.320/styles/shThemeDefault.css&quot; id=&quot;shTheme&quot;/&gt;
&lt;br /&gt;
&lt;!-- END SYNTAX HIGHLIGHTER --&gt;</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/3609129180009215876/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2012/08/export-crystal-report-to-pdf-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/3609129180009215876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/3609129180009215876'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2012/08/export-crystal-report-to-pdf-using.html' title='Export Crystal Report to PDF using VB.Net for Download in  your DotNetNuke site'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-220453716412258117.post-8241334601016348779</id><published>2012-08-14T09:56:00.002-07:00</published><updated>2012-08-14T09:58:28.581-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dotnetnuke"/><category scheme="http://www.blogger.com/atom/ns#" term="VB.Net"/><title type='text'>Bind all DotNetNuke portal alias to a dropdownlist</title><content type='html'>&lt;pre class=&quot;brush: vb.net; bloggerMode: true&quot;&gt;
ddlPortalAlias.Items.Clear()
Dim objAlias As PortalAliasCollection = PortalAliasController.GetPortalAliasLookup()
For Each obj As System.Collections.DictionaryEntry In objAlias
   ddlPortalAlias.Items.Add(CType(obj.Value, PortalAliasInfo).HTTPAlias)
Next
ddlPortalAlias.SelectedValue = PortalSettings.DefaultPortalAlias
&lt;/br&gt;
&lt;/pre&gt;

HTH
&lt;br /&gt;
&lt;!-- SYNTAX HIGHLIGHTER --&gt;
&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://alexgorbatchev.com/pub/sh/2.0.320/scripts/shCore.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://alexgorbatchev.com/pub/sh/2.0.320/scripts/shBrushBash.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://alexgorbatchev.com/pub/sh/2.0.320/scripts/shBrushCss.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://alexgorbatchev.com/pub/sh/2.0.320/scripts/shBrushDiff.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://alexgorbatchev.com/pub/sh/2.0.320/scripts/shBrushJScript.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://alexgorbatchev.com/pub/sh/2.0.320/scripts/shBrushSql.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://alexgorbatchev.com/pub/sh/2.0.320/scripts/shBrushVb.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://alexgorbatchev.com/pub/sh/2.0.320/scripts/shBrushXml.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;SyntaxHighlighter.config.clipboardSwf = &#39;http://alexgorbatchev.com/pub/sh/2.0.320/scripts/clipboard.swf&#39;;SyntaxHighlighter.config.bloggerMode = true;SyntaxHighlighter.all();&lt;/script&gt; &lt;br /&gt;
&lt;link type=&quot;text/css&quot; rel=&quot;stylesheet&quot; href=&quot;http://alexgorbatchev.com/pub/sh/2.0.320/styles/shCore.css&quot;/&gt;&lt;link type=&quot;text/css&quot; rel=&quot;stylesheet&quot; href=&quot;http://alexgorbatchev.com/pub/sh/2.0.320/styles/shThemeDefault.css&quot; id=&quot;shTheme&quot;/&gt;
&lt;br /&gt;
&lt;!-- END SYNTAX HIGHLIGHTER --&gt;</content><link rel='replies' type='application/atom+xml' href='http://vreboton.blogspot.com/feeds/8241334601016348779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vreboton.blogspot.com/2012/08/bind-all-dotnetnuke-portal-alias-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/8241334601016348779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/220453716412258117/posts/default/8241334601016348779'/><link rel='alternate' type='text/html' href='http://vreboton.blogspot.com/2012/08/bind-all-dotnetnuke-portal-alias-to.html' title='Bind all DotNetNuke portal alias to a dropdownlist'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>