By tag: GeekZilla
0
kicks
Getting the Virtual Path of a Request in c#
This simple bit of code will get you the Virtual Path of your current request.
0
kicks
Fixing Form Action on UrlRewrite
IF you're rewriting URL's, you've probably come across the same problem I had.
0
kicks
Triple DES encryption wrapper
Here is a handy wrapper for Triple DES encryption. Uses MemoryStream, not FileStream like most other examples
0
kicks
Code snippet for 'protected void MethodName(object sender, EventArgs e
When adding a method to handle server events (such as OnClick) I often found myself copying the Page_Load method and changing the name. I looked for a snippet which would create this method for me but had no luck, so I wrote one.
0
kicks
Creating your first ASP.NET AJAX 1.0 Application
Over the last year or so, AJAX has taken the web development world by storm. AJAX is short for Asynchronous JavaScript and XML and is an approach to building dynamic web applications that behave less like the static web pages we're used to and more like desktop applications.
0
kicks
Fixing Actionscript XML newline problem
I was having a nightmare with a newline \n coming through from an XML document literally as \n when I passed the text into a DynamicText object in ActionScript 2, Flash CS3.
Mark Page found this solution...
0
kicks
What Screen size should we be building sites for?
Monitors are getting cheaper and cheaper, is 800 x 600 a thing of the past???
0
kicks
IsGuid() method (Regular Expression Based Guid Validation)
Here is a function I try to keep handy which tests a string for a Guid and returns True or False.
0
kicks
Calling a static "page method" from Javascript using MS AJAX
Atlas gave us the ability to easily call Web Services from JavaScript. MS AJAX has gone one step further! We can now call methods in the codebehine of the current page from Javascript. Here's how:
0
kicks
Launching an Ajax ModalPopupExtender from JavaScript
This article is based on the popular "Launching a ModalPopupExtender from JavaScript" article. The original was written for Atlas, this is the updated version for Ajax.
0
kicks
Centering a DIV using the negative margin method
An oldie but a goodie.. This method is very clean and works in all browsers.
0
kicks
Terrible Spelling in VS2005 becomes a thing of the past
If you haven't found this excellent spell check plugin already, the geekzilla team are on standby to help.
Also, I hear they are recruiting for authors. Register for your account today.
0
kicks
Programmatically resolving ~ URL's to the Virtual Root
The base WebControl class exposes a method named ResolveURL(). This method accepts a url such as "~/Customers/Profile.aspx" and returns the real url, starting from your site's virtual root.
0
kicks
Highlighting keywords in text using Regex.Replace (Perfect for SEO)
I needed to take some text and bold certain keywords before returning the data to the web browser (this was to enhance Search Engine Optimization). The following example shows how I achieved it.
0
kicks
class.Serialize()
Handly little function which I include in most classes. This function returns the object serialized as XML, perfect for logging etc.