Archives / 2009 / November

  • jqGrid missing search codes

    Wednesday, November 18, 2009

    One thing in particular I found missing, was that when you are implementing searching you have to be able to translate the search operator codes sent by the grid to the server into something you can use on the server side. One mildly frustrating problem was that the documentation only lists 9 of the 14 total search operator codes that you have to translate.

    I'll list the rest of the codes here:
    bn - not begins with ( !(LIKE val%) )
    in - is in ( checks if the searchField is in the searchString )
    ni - is not in (checks if the searchField is not in the searchString )
    en - does not end with (!(LIKE %val) )
    nc - does not contain (!(LIKE %val%))
  • Random Name Generator .Net Library

    Thursday, November 05, 2009

    While I was working on my current project, I found I needed the ability to generate a name randomly. Pretty simple task, but I have been unable to google a free .net random name generating library that I could use. After reading this question, I came to the conclusion that no such library exists. So I decided to make one myself, and give it out for free in the hopes that it might generate a few hits.

    You can try it out right here:

    : Click To Generate
    : Click To Generate