Set Ajax Toolkit Accordion Selected AccordionPane by ID

If you want to choose which AccodionPane is selected, you generally use the SelectedIndex command. However, if you want to select which AccordionPane is active by its ID and when you...

Set Ajax Toolkit Accordion Panes all closed on load

As you know when you use the accordion element of the Ajax Toolkit, one of the panes is automatically open on load. Well there is a way around this, simply add...

Remove border lines around links in firefox

Have you noticed those nasty dotted lines around links when you click on them in Firefox? Well here's how to get rid of them, and it's quite simple really just add...

Enable Browsers to see XML/RSS feeds

If you want internet browsers to recognise your XML/RSS feeds as soon as a visitor reaches your website, then this article is for you. Browsers such as Internet Explorer 7 have...

DropDownList SelectedItem.Value or SelectedValue not working when TabPanel is removed

If you're using the TabContainer, which is part of the Ajax Control Toolkit and have noticed that when you remove a tab you have issues accessing the values from a DropDownList...

Force the compatibility mode in IE8

If your website doesn't display properly in IE8, then it's recommended that you amend your code, but in the meantime you could force Internet Explorer 8 to run in the compatibility mode. Simply add the...

How to put an asp.net website in maintenance mode

If you need to take your website offline, for any reason (eg. database maintenance, site move etc), you can do so very easily by just creating one .htm file and dropping...

Enable use of # and % characters in OneDrive Business

If you're seeing errors syncing files and/or folders containing special characters such as a # and %, then it's likely because you haven't allowed syncing of these. For some reason Microsoft...

Stop the compatibility button being show on your website in IE8

If your website shows the compatibility button when you browse it in IE8 (Internet Explorer 8) then this is how to remove the button. Simply add the below line to the <head></head>...

How to delete files by age with PowerShell

You can easily use PowerShell to delete files that are older than x minutes/hours/days.  This is useful if you have a temporary folder which you would like to regularly clear down. ...

Map a network printer in a logon script

As long as your printer is networked, connected to a print server and shared, then mapping the printer via a logon script is fairly easy. Firstly consider adding an echo line of...

How to automatically redirect all HTTP traffic to HTTPS on Exchange

Users often don't remember to use https:// when access Outlook Web Access, they simply just use https://. So to automatically redirect them to the same address but with https:// simply follow...

Bullet point spacing with css

To increase the spacing between bullet points with CSS simple add the below code to your .css file: Obviously you can change the values to reach your desired spacing, but the above...