Often I’ve had to build a page that didn’t allow the datagrid or listview built in sort options so I came up with this function so that you can keep filters and change the sorting and direction of the page.
Author: David Kittell
Alter Table
With this statement you would need to make sure that the column you wish to change does not currently have NULL values before running it otherwise you will likely have errors. With this statement you need to make sure that the column you wish to change only has unique values
Network Connection Configurations
If you are on Windows Vista/7/8 you will need to create the batch file and then run it as administrator. In the examples below you will need to first know what the connection name is for your network connection(s) When you click on the start menu or Windows key on…
Remove Empty Directories
Remove Empty Directories by Jonas John Features: Shows empty directories before deleting them Supports multiple delete modes (including Delete to recycle bin) (Version 2.2) Allows white and black listing of directories by using filter lists Can detect directories with empty files as empty Download: Remove Empty Directories – Latest Versions…
Open/Close Elements
Sometimes you need to be able to hide elements on a page, the following functions will help with the task of hiding/showing those elements.
CopyText Via ID
This function is to copy text or other HTML elements from one ID to another ID
Hide/Unhide Element Via ID
In this code it is important to have visibility = ‘hidden’ and display = ‘none’ to hide without leaving white space In this code it is important to have visibility = ” and display = ” to show