web application
-
URL Encode in .Net
C#: (ASP .Net) C#: (Client/Server Environment) References MSDN, WebUtility Classhttp://msdn.microsoft.com/en-us/library/system.net.webutility.aspx MSDN, Uri Classhttp://msdn.microsoft.com/en-us/library/system.uri.escapeuristring.aspx MSDN blogs, http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx 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 IP Address of Originating Website From a Webservice
The following code was used in a .Net 3.5 web service to retrieve the IP Address of the website consuming it. This solution may initially escape you since it might seem like the web service should run within an HTTP… 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