Stories recently tagged with 'GeekZilla' Subscribe to this feed

Getting the Virtual Path of a Request in c# (www.geekzilla.co.uk)

published 2 years, 3 months ago, submitted by phaymanphayman(3540) 2 years, 3 months ago

This simple bit of code will get you the Virtual Path of your current request. read more...

add a comment | category: | Views: 31

tags: another

Fixing Form Action on UrlRewrite (www.geekzilla.co.uk)

submitted by phaymanphayman(3540) 2 years, 3 months ago

IF you're rewriting URL's, you've probably come across the same problem I had. read more...

add a comment | category: | Views: 8

tags: another

Triple DES encryption wrapper (www.geekzilla.co.uk)

submitted by phaymanphayman(3540) 2 years, 3 months ago

Here is a handy wrapper for Triple DES encryption. Uses MemoryStream, not FileStream like most other examples read more...

add a comment | category: | Views: 16

tags: another

Code snippet for 'protected void MethodName(object sender, EventArgs e (www.geekzilla.co.uk)

submitted by phaymanphayman(3540) 2 years, 3 months ago

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. read more...

add a comment | category: | Views: 3

tags: another

Creating your first ASP.NET AJAX 1.0 Application (www.geekzilla.co.uk)

published 2 years, 4 months ago, submitted by phaymanphayman(3540) 2 years, 5 months ago

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. read more...

add a comment | category: | Views: 1

tags: another

Fixing Actionscript XML newline problem (www.geekzilla.co.uk)

submitted by phaymanphayman(3540) 2 years, 6 months ago

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... read more...

add a comment | category: | Views: 23

tags: another

What Screen size should we be building sites for? (www.geekzilla.co.uk)

published 2 years, 6 months ago, submitted by marshp3marshp3(965) 2 years, 6 months ago

Monitors are getting cheaper and cheaper, is 800 x 600 a thing of the past??? read more...

3 comments | category: | Views: 2

tags: another

IsGuid() method (Regular Expression Based Guid Validation) (www.geekzilla.co.uk)

published 2 years, 6 months ago, submitted by phaymanphayman(3540) 2 years, 6 months ago

Here is a function I try to keep handy which tests a string for a Guid and returns True or False. read more...

add a comment | category: | Views: 298

tags: another

Calling a static "page method" from Javascript using MS AJAX (www.geekzilla.co.uk)

submitted by phaymanphayman(3540) 2 years, 6 months ago

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: read more...

add a comment | category: | Views: 111

tags: another

Launching an Ajax ModalPopupExtender from JavaScript (www.geekzilla.co.uk)

published 2 years, 6 months ago, submitted by phaymanphayman(3540) 2 years, 6 months ago

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. read more...

add a comment | category: | Views: 209

tags: another

Centering a DIV using the negative margin method (www.geekzilla.co.uk)

published 2 years, 7 months ago, submitted by phaymanphayman(3540) 2 years, 7 months ago

An oldie but a goodie.. This method is very clean and works in all browsers. read more...

1 comment | category: | Views: 5

tags: another

DateTime.ToString() Patterns (www.geekzilla.co.uk)

published 2 years, 7 months ago, submitted by phaymanphayman(3540) 2 years, 7 months ago

Handy list of DateTime.ToString() patterns. Bookmark it ;-) read more...

add a comment | category: | Views: 37

tags: another

class.Serialize() (www.geekzilla.co.uk)

published 2 years, 7 months ago, submitted by phaymanphayman(3540) 2 years, 7 months ago

Handly little function which I include in most classes. This function returns the object serialized as XML, perfect for logging etc. read more...

1 comment | category: | Views: 5

tags: another

Highlighting keywords in text using Regex.Replace (Perfect for SEO) (www.geekzilla.co.uk)

published 2 years, 7 months ago, submitted by phaymanphayman(3540) 2 years, 7 months ago

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. read more...

add a comment | category: | Views: 25

tags: another

Programmatically resolving ~ URL's to the Virtual Root (www.geekzilla.co.uk)

published 2 years, 7 months ago, submitted by phaymanphayman(3540) 2 years, 7 months ago

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. read more...

add a comment | category: | Views: 3

tags: another

Terrible Spelling in VS2005 becomes a thing of the past (www.geekzilla.co.uk)

published 2 years, 7 months ago, submitted by marshp3marshp3(965) 2 years, 7 months ago

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. read more...

add a comment | category: | Views: 1

tags: another