asp.net

  • URL Rewriting/Mapping using Global.asax

    Ultimately I wound up using a different method, specified in my other blog post on URL Rewriting on GoDaddy and Shared hosting. However, the method below is actually very useful if you are trying to do certain validation which cannot… Continue reading

  • URL Rewriting on GoDaddy and Shared hosting

    After doing a lot of searching through google queries, forums and archives, I was finally able to solve the conundrum of using URL rewriting on GoDaddy. The site in question is also a subdomain in a sub folder off the… Continue reading

  • Logon failure: unknown username or bad password

    The following error occurred on an application deployed to a Server 2008 machine which was not part of the domain, but on the same network. The application needed to query to domain controller for permissions related to the users browsing… Continue reading

  • Check If Active Directory User is in Group C# ASP .Net

    When searching initially for the above (title of my blog ^), I initially found no good apparent solutions. It was off to the drawing board! LDAP – lightweight directory access protocol. Defines a syntax and tools for querying and enumerating… Continue reading

  • Get Current URL in Javascript

    JS (JQuery): JS (standard): Continue reading

  • JQuery Grid Themes

    Useful links to JQuery grids utilizing (mostly) standard UI themes and/or very little code. Google! http://jquery-ui.googlecode.com/svn/branches/labs/grid/tests/static/grid/default.html Datatables.Net: http://www.datatables.net/styling/themes/smoothness Ke-Cai: http://www.ke-cai.net/2010/01/theme-your-table-with-jquery-ui.html Trirand: http://www.trirand.com/blog/jqgrid/jqgrid.html Stackoverflow: http://stackoverflow.com/questions/2613632/jquery-ui-themes-and-html-tables Continue reading

  • JQuery and Partial Postbacks

    I recently came across an issue where JQuery bindings no longer functioned after a partial postback and stumbled upon some code that was helpful in most cases. Javascript (JQuery): And alternatively.. This code will not always work however, as was… Continue reading

  • Get Current Page Name in ASP .NET

    The code snippet below is a quick, easy to use function which allows you to get the current active page in an asp .net website/application. There are similar functions for getting header information about a page, however, after some research… Continue reading

  • Programmatically fire an event handler in ASP .NET

    I recently came across a situation which any web application developer may face where an assembly reference containing the code-behind for each ASPX page was deprecated and the original source code was no longer available. Since this code also includes… Continue reading