Pagem

Stories kicked by Pagem

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

submitted by phaymanphayman(3550) 4 years, 9 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

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

submitted by phaymanphayman(3550) 4 years, 10 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: 488

tags: another

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

submitted by phaymanphayman(3550) 4 years, 10 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: 284

tags: another

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

submitted by phaymanphayman(3550) 4 years, 11 months ago

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

1 comment |category: |Views: 12

tags: another

Fixing broken users after Database Restore(geekzilla.co.uk)

submitted by phaymanphayman(3550) 4 years, 11 months ago

Ever restored a Database which was created on a different server then not been able to use the same logon you had previously set up? read more...

add a comment |category: |Views: 6

tags: another

DTS, Excel and mixed format columns(geekzilla.co.uk)

submitted by phaymanphayman(3550) 4 years, 11 months ago

I recently had a problem DTS importing an Excel spreadsheet which contained columns with mixed text and data values. After a bit of hunting around, I found an extended property IMEX=1. The IMEX=1 property forces everything to text when reading from a source. read more...

add a comment |category: |Views: 2

tags: another

Web 2 Ajax Style Animated Gif's and Generator MORE NEEDED!!(geekzilla.co.uk)

submitted by phaymanphayman(3550) 4 years, 11 months ago

When searching high and low for a ajax style wait icon I came across the following handy sites. Please send me links to more. read more...

add a comment |category: |Views: 62

tags: another

Sorting an XML document in C# using XSL(geekzilla.co.uk)

submitted by phaymanphayman(3550) 4 years, 11 months ago

I needed to sort some XML in C# before itterating through the document. In the end I used the XslCompiledTransform to apply an XSL stylesheet to the XML document. Works very quickly. For reference, this is how I did it. read more...

add a comment |category: |Views: 382

tags: another

Credit Card Validation with Regex(geekzilla.co.uk)

submitted by PagemPagem(360) 4 years, 11 months ago

First stage of Visa and Mastercard validation with regex. read more...

add a comment |category: |Views: 100

tags: another

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

submitted by phaymanphayman(3550) 4 years, 11 months ago

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

add a comment |category: |Views: 60

tags: another

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

submitted by phaymanphayman(3550) 4 years, 11 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: 12

tags: another

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

submitted by phaymanphayman(3550) 4 years, 11 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: 38

tags: another

Select a row in an asp:GridView without using a Select Command (geekzilla.co.uk)

submitted by phaymanphayman(3550) 4 years, 11 months ago

This article has caused a lot of discussion. Does what it says on the tin. read more...

add a comment |category: |Views: 398

tags: another

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

submitted by phaymanphayman(3550) 4 years, 11 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: 5

tags: another

Null Coalescing (Or how to make Default values sound frightening)(kushalm.com)

submitted by kushalkushal(90) 4 years, 11 months ago

C# 2.0 introduced a little known, and somewhat useful new operator called the Null Coalescing Operator. read more...

add a comment |category: |Views: 2

tags: another

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

submitted by marshp3marshp3(965) 4 years, 11 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: 3

tags: another