Set Ajax Toolkit Accordion Selected AccordionPane by ID

0
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...

How to create a 301 Redirect in c# and vb.net

0
If you need to redirect a page to another page or site, it's best to use a 301 redirect to help retain some of your SEO work. It's believed that a...

Enable Browsers to see XML/RSS feeds

0
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...

How to copy files to client machines via a logon script

0
This can be very handy when you have set a group policy to display a certain background image/file. Lefts say your group policy is configured to set everyones background to a image...

C# Detect HTTPS in a load balanced environment

0
Detecting HTTPS in your asp.net c# web app is fairly straight forward in a normal environment with a single server solution, as you can see from the below example: The problem comes...

How to set the PowerShell Window Title

0
When running multiple scripts, either at the same time, or sequentially, it's nice to know which script is running.  An easy way to do this, it to set the title of...

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

0
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...

Stop the compatibility button being show on your website in IE8

0
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>...

Manage DHCP Filters via PowerShell Script

0
If you operate a list of allowed mac addresses on your DHCP server to prevent unauthorised users/devices from obtaining an IP address, it can be a pain to have to constantly...

Bullet point spacing with css

0
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...

Map a network printer in a logon script

0
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

0
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...

Set Ajax Toolkit Accordion Panes all closed on load

0
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...