The Blue Screen Of Death looks better: it’s updated to the Internet era. It’s a developer preview so it can be forgiven. But it’s a good way to turn customers off.
Just a quick snap comparison: Firefox has 13 tabs open, Chrome has 3 plus the “about:memory”. Firefox has 36 add-ons of which 1 is disabled, Chrome has 14, of which 6 are disabled.
Having this structure: <tr class=”current”> <td class=”project-number”> </td> <td> </td> </tr> .current {background-color: #dcdcdc !important; background: url(../images/current-item.png) no-repeat 0 0;} Class “current” would display a “>” arrow to highlight the selected row, however IE7 displays the arrow on each table cell. The solution is to include a css just for IE7: <!–[if lte IE 8]><link [...]
I needed a dropdown list that allows multi select, a sort of checkbox list paired with a dropdown. For example is very useful when working with months. MS Reporting Services has one. After googling for a while, I couldn’t find one to satisfy me and I started to play with a dropdown. A click on [...]
I want to give more information to the confirm dialog when the user deletes a record. I’m using an asp:LinkButton that can execute some javascript when the user clicks it, in the “OnClientClick” property. <ItemTemplate> <asp:LinkButton ID=”lnkClose” runat=”server” CausesValidation=”False” data-number=’<%# Eval(“Number”) %>’ CommandArgument=’<%# Eval(“Id”) %>’ CommandName=”close” CssClass=”selected_item close-project”>Close </asp:LinkButton> </ItemTemplate> Unfortunately, I [...]
If you’re using an ASP.NET GridView with a custom DAL you might get this error when trying to sort the grid by clicking the column headers: The data source does not support sorting with IEnumerable data. Automatic sorting is only supported with DataView, DataTable, and DataSet. The web has some solutions to this problem, however [...]
This is a good reason not to install Windows Home Server. The setup will format ALL disks attached to the computer. Next, I’ll try FreeNAS, powered by FreeBSD.
Just a note to myself, when using jQuery Validation for a select, make sure the first value, "Please select an option" has an empty value. Like this: <select id="regions" class="required" name="regions"> <option value="">Please select an option</option> <option value="1">Region 1</option> <option value="2">Region 2</option> </select> Here’s the original text: http://docs.jquery.com/Plugins/Validation/Methods/required
I have a grid with users, where for each user several reports can be generated. The reports must have a start and end date and because some technical constraints and because I wanted to let users re-use an url, I decided to send the values by query string. Then, I had to add some validation, [...]