sporleg

Stories kicked by sporleg

Preventing Caching of an ASP.net page in c# (geekzilla.co.uk)

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

The following code prevents a page being cached. read more...

add a comment |category: |Views: 7

tags: another

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

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

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

add a comment |category: |Views: 58

tags: another

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

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

tags: another

Custom Validators using Client Side JavaScript(geekzilla.co.uk)

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

If you're doing a bit of AJAX code and you need to validate on the client, this handy guide will help you on your way. read more...

add a comment |category: |Views: 14

tags: another

Triple DES encryption wrapper (geekzilla.co.uk)

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

tags: another

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

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

tags: another

How to get more than 3GB in Windows Vista 32-bit (geekzilla.co.uk)

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

Out if the box, Vista (32-bit) only detects a maximum of 3GB of RAM. You're probably gutted if you just bought a 4GB PC. All is not lost... read more...

1 comment |category: |Views: 6

tags: another

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

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

tags: another

Error connecting to undo manager of source file (geekzilla.co.uk)

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

The Problem If you are using the Web Application Project Template (with as the Add On or as part of SP1) you can get this error. read more...

add a comment |category: |Views: 22

tags: another

CreateUserWizard Error Messages using a ContentTempate(geekzilla.co.uk)

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

See how to use a ContentTemplate and still display the error messages from the control. Another one that drove me nuts until I saw the solution. read more...

add a comment |category: |Views: 14

tags: another

Adding a Strong Name to an existing DLL that you have no source to(geekzilla.co.uk)

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

There are times when you need a DLL to have a strong name; putting it in the GAC for example. With 3rd party DLL's this could be a pain. This is how you do it: read more...

add a comment |category: |Views: 82

tags: another

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

Custom JS attributes work differently in IE compared to Firefox(geekzilla.co.uk)

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

Adding custom attributes to HTML tags is a really valuable programming method. It's something I do quite often. read more...

add a comment |category: |Views: 0

tags: another

Parameter Order Wrong With ObejctDataSource (geekzilla.co.uk)

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

This one came up today and I felt in a sharing mood. I had a GridView using and ObjectDataSource (ODS) and this was used for automatic updates via Inplace editing. When updating the GridView this would then call the UpdateMethod of the ObjectDataSource, but it would fail with the above error. read more...

add a comment |category: |Views: 0

tags: another

Returning a value from a PageMethod using MS AJAX(geekzilla.co.uk)

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

If you've ever returned data from a web service using MS AJAX this technique will look familar. read more...

add a comment |category: |Views: 6

tags: another

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

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