Click here to Skip to main content
15,849,785 members

Comments by Reelix (Top 7 by date)

Reelix 12-Jan-15 2:01am View    
Reason for my vote of 4 \n Whilst a fantastic article for the most part, I must disagree with 7.a.

If you had one large image, none of the images on the site would load until the entire map has loaded, which would lead to a rather jarring user experience. With multiple smaller images, each can be loaded independently, and it has frequently been proven that this results in an overall faster speed (See multi-section download managers for example)
Reelix 23-Dec-14 5:29am View    
Reason for my vote of 5 \n Simple, effective, and hacky as as all hells - I love it :D
Reelix 15-Aug-12 8:25am View    

if (listView1.SelectedItems[0].Tag != null)

Should compensate for this.

I have altered the solution with the above recommendation included.
Reelix 15-Aug-12 7:25am View    
Do you mean that the Radio Button List is added through code, instead of using a control?

If so, may you please update your question with code showing how the controls are added.
Reelix 15-Aug-12 7:20am View    
This will happen if you deselect every item - No items are selected, and as such, index 0 is invalid.

Simply add a:

if (listView1.SelectedItems.Count > 0)

clause to make sure at least 1 item is selected.