andyc

Stories kicked by andyc

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

Activating flash automatically with javascript (geekzilla.co.uk)

submitted by andycandyc(125) 4 years, 10 months ago

Automatically enable flash on a website without clicking on it to activate it first. read more...

add a comment |category: |Views: 13

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

Flash player drove me crazy(geekzilla.co.uk)

submitted by marshp3marshp3(965) 4 years, 10 months ago

No Flash in your Flash player, fix it... This is a common problem, trust the geekzilla team to find a no nonsense solution and get the Flash back in IE read more...

add a comment |category: |Views: 2

tags: another

Using Regular Expressions to validate a filename in a FileUpload contr(geekzilla.co.uk)

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

Here's a little code snippet I use to ensure that the file that has been uploaded is of type JPG, JPEG, PNG or GIF read more...

add a comment |category: |Views: 191

tags: another

Image reflection(geekzilla.co.uk)

submitted by andycandyc(125) 4 years, 11 months ago

Glass like image reflection on the fly with javascript read more...

add a comment |category: |Views: 41

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

LoginStatus not logging users out?(geekzilla.co.uk)

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

Have you noticed your LoginStatus control doesn't log the user out when you click Logout? Well, to fix this all you need to do is add an id attribute. read more...

1 comment |category: |Views: 3

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