VB.NET dropdown or listbox, remove all items
[code]
ddlMyDropdownList.Items.Clear()
[/code]
[code]
ddlMyDropdownList.Items.Clear()
[/code]
So I posted some code earlier today and didn’t like how it looked. Logic kicked in and I searched for a wordpress plugin to render code better. I found WordPress Syntax Highlighter. It works well, but as you can see (If I haven’t corrected it yet) from my previous post, it’s not perfect. My class…
I had an interesting challenge of dealing with magento quantities in decimals. The site needed to be able to allow for quantities of a min of .5 in increments of .25. At first glance, it looked like allow decimals in admin combined with qty increments would work. Well, the words made me think it would…
If you accidentally add files to a commit, it’s easy to remove them through the cli. To remove one file: git reset imageidontwant.jpg To reset all added files. (You’ll have to re-add the files you actually want to add to the commit.) Simply type git reset That will unstage any files. It will…
http://wordpress.org/extend/plugins/configure-smtp/installation/ It works.
I spend a lot of time in magento development now a days, and because of that, I am constantly finding new extensions to help with my clients needs. I cam across something recently that was very cool to me. It’s an extension that allows a magento site to let people design and sell their own…
Sometimes you need/want a better dropdown for magento sorting. Here’s an example of how to make one. Try using this code for template/catalog/product/list/toolbar.phtml [code language=”php”] <fieldset class="sort-by"> <label><?php echo $this->__(‘Sort by’) ?></label> <select onchange="setLocation(this.value)"> <option value="<?php echo $this->getOrderUrl(‘position’, ‘asc’) ?>"<?php if($this->isOrderCurrent(‘position’) && $this->getCurrentDirection() == ‘asc’): ?> selected="selected"<?php endif; ?>> Featured </option> <option value="<?php echo $this->getOrderUrl(‘price’,…