Tag Archive

Link checker – Bad neighborhood

Published on December 26, 2009 By admin

I often get requests for me to add links to my sites. Usually it is just someone looking for something simple that will deliver them some relevant traffic. What I have found though is that one should ALWAYS verify that the link destination is okay. It should not be in a bad neighborhood. In addition, [...]

A comma seperated list as parameter to mysql stored procedure

Published on December 28, 2008 By admin

In MySQL there appears to not be support for passing a variable to a stored procedure and using that variable in an IN CLAUSE. Here’e the body of an extremely simple stored procedure that I will use to illustrate the problem. CREATE DEFINER=`root`@`localhost` PROCEDURE `spMySampleStoredProc`(idlist varchar(1000)) select * from tblSampleTable where theid in (idlist); END$$ [...]

Fix AJAX Error – PageRequestManagerParserErrorException: The message received from the server could not be parsed

Published on November 19, 2008 By admin

===== Update: Clarified need for global.asax file and contents ===== A fantasy sports (fantasy basketball / fantasy football) website I do some work for had some Ajax related issues some time ago. I recently came across the problem somewhere else and figured it might make sense to write it up. There were error messages that were not consistent. [...]

HOWTO create a Pop-up menu (context menu) for single cell of a datagrid

Published on November 11, 2008 By admin

Recently I needed fo find a way for a user to be presented with a list of possible values, but to also be able to ignore that list and enter their own value into a datagrid cell. I figured I could just use a combo box column (dropdownlist) and it would behave the same way as a combobox does [...]