Simon Steed's Blog About Stuff!

i.e. anything interesting…

Follow me on TwitterRSS Feeds

  • Home
  • C# and ASP.Net
  • General stuff
  • IT
  • Photography
  • Uncategorized
  • Web Design

Redirect your user to their starting point when validation errors occur

Sep 1st

Posted by admin in C# and ASP.Net

No comments

Ever had a long webpage with validation that fails on postback but returns the user to the top of the page instead of where you want them?

Annoying isnt it. Well in .Net Framework 2.0 (yes it’s been there a while now), you can use the property:

Page.MaintainScrollPositionOnPostBack = true;

Well this will force the user to be returned back to the last point they clicked i.e. could be a control, button, checkbox etc

Very useful and helps with improving the user experience, something we should all be striving for!

asp.net, c#, errors, validation

Detecting the Safari Browser to load scripts

Aug 2nd

Posted by admin in IT

No comments

I needed to detect if Safari was being used as there were some issues with styling on a website I was working upon, only on Mac Safari though!!!

The following code is what I use to detect safari and load the relevant script:

<script type="text/javascript">

	if(/Safari/.test(navigator.userAgent))
	{
 		//you are using safari, or at least you CLAIM to be
		document.write('<link type="text/css" media="screen" rel="stylesheet" href="/css/safari.css" title="example" />');
	}
	</script>

Add in the tags and set the path to the correct css file you wish to load. Same concept can be used to load javascript files.

css, dynamic load, javascript, safari, script

Umbraco Redirects

Mar 23rd

Posted by admin in IT

Started to do a lot more Umbraco work recently so inevitably I will be looking for loads ot shortcuts, tips etc along the way – feel free to let me know of any I can include here.

The most recent one I came across was I needed to add external redirects in the main menu. The menu was built using XSLT for the main site pages which was fine although I needed to link to other pages off-site.

After a little searching, I found the following package that worked a treat – simply added a macor to my text page, add the redirect URL and bobs your uncle, it works great!

http://www.neehouse.com/umbraco_cms/packages/redirect.aspx

cms, design, menu, packages, runway, umbraco, webdesign, website

Daily Twitter Updates for 2010-01-20

Jan 20th

Posted by Simon Steed in General stuff

  • Ever needed to create #thumbnails of websites? #thumbalizr is the tool for you http://bit.ly/Uewkc #
  • Problem with the new logo is my good wife now thinks I look like a turtle! #
  • Updated my profile picture, 30 mins spent in photoshop was fun and worth the end result #
creative, design, IT, Photography, twitter, webdesign

Daily Twitter Updates for 2010-01-19

Jan 19th

Posted by Simon Steed in General stuff

  • I'm working from home the next few days with a sick 5 month old baby :( Question is, how much will I get done??? #
  • Working on new site content for Simon Antony Photography http://bit.ly/5IZWr5 – what would entice you to use us? #
creative, design, IT, Photography, twitter, webdesign

Daily Twitter Updates for 2010-01-18

Jan 18th

Posted by Simon Steed in General stuff

  • asks – Do you need a freelancer? Drop me a line and let me know what you need, maybe I can work for you next? #
creative, design, IT, Photography, twitter, webdesign

Weekly Twitter Updates for 2010-01-17

Jan 17th

Posted by Simon Steed in General stuff

  • Calling all #freelancers – do you have issues getting paid by your clients and what measures do you have in place to deal with it? #
  • Snowing again in Stockport! #
  • getting really frustrated trying to edit a photoshop document with my tablet when the cursor just does a random streak across the page grrrr #
  • Does anyone use the Blueprint CSS Framework – any examples of how you've used it and what your thoughts are? #
  • working from home today, lets see what I can get done with a pre 5 month old baby demanding my time :-) #
  • brrrr it's cold out there!!! #
  • It's snowing again in Manchester!!!! #
  • well the igloo is finished, not bad even if I say so myself :-) http://twitpic.com/wrqab #
  • Snowy pictures day – still snowing in Stockport!! What a day for my daughters birthday and no school http://twitpic.com/wr8i4 #
  • Another snowy picture, this time of the aerial on my roof http://twitpic.com/wr7lp #
  • Snowy scenes in Stockport http://twitpic.com/wr65r #
  • Well got 1 mile to work and had to turn back, set off at 7:40, just got home!!! #
  • wow, a good 4-6 inches of the white fluffy stuff this morning, getting to work is going to be fun :) #
  • is now available and looking for new contract roles – contact me with more details #
  • My latest work, http://www.iqdesign.co.uk – need a stylish case for your iPhone, iPod, iTouch etc, check it out #
  • Arghhhhhhhh – how am I supposed to fix code when it's been written by incompetent monkeys!!!!! #
creative, design, IT, Photography, twitter, webdesign

Daily Twitter Updates for 2010-01-15

Jan 15th

Posted by Simon Steed in General stuff

  • Calling all #freelancers – do you have issues getting paid by your clients and what measures do you have in place to deal with it? #
creative, design, IT, Photography, twitter, webdesign

Daily Twitter Updates for 2010-01-13

Jan 13th

Posted by Simon Steed in General stuff

  • Snowing again in Stockport! #
  • getting really frustrated trying to edit a photoshop document with my tablet when the cursor just does a random streak across the page grrrr #
  • Does anyone use the Blueprint CSS Framework – any examples of how you've used it and what your thoughts are? #
creative, design, IT, Photography, twitter, webdesign

Daily Twitter Updates for 2010-01-11

Jan 11th

Posted by Simon Steed in General stuff

  • working from home today, lets see what I can get done with a pre 5 month old baby demanding my time :-) #
  • brrrr it's cold out there!!! #
  • It's snowing again in Manchester!!!! #
  • well the igloo is finished, not bad even if I say so myself :-) http://twitpic.com/wrqab #
  • Snowy pictures day – still snowing in Stockport!! What a day for my daughters birthday and no school http://twitpic.com/wr8i4 #
  • Another snowy picture, this time of the aerial on my roof http://twitpic.com/wr7lp #
  • Snowy scenes in Stockport http://twitpic.com/wr65r #
  • Well got 1 mile to work and had to turn back, set off at 7:40, just got home!!! #
  • wow, a good 4-6 inches of the white fluffy stuff this morning, getting to work is going to be fun :) #
  • is now available and looking for new contract roles – contact me with more details #
  • My latest work, http://www.iqdesign.co.uk – need a stylish case for your iPhone, iPod, iTouch etc, check it out #
  • Arghhhhhhhh – how am I supposed to fix code when it's been written by incompetent monkeys!!!!! #
  • Yet another kitchen unit fitted, new top, cabinet and woodwork all oiled up and ready to go, will finish the rest over the next 12 months :) #
  • well was looking forwards to getting out in the snow to get some pictures but now it's raining #
  • Happy new year all from the Steed Family – have a great 2010 #
  • nearly finished the kitchen refit and my lovely wife wants another cabinet fitting – off to ikea we go, hi ho, hi ho #
  • Have a great merry xmas everyone #
  • Now i'm officially on my holidays, I am going to relax – yes relax, I know it's not in my vocabulary but I don't care, RELAXXXXXX #
  • Stamp prices rising yet again, just another way to rip us off in rip off britain #
  • Wish me luck, about to brave the manchester weather…. #
  • http://twitpic.com/umuyb – Bloody Twim has uploaded a black screen, muppet! #
  • http://twitpic.com/umuyb – The manchester snowline #
  • I predict chaos this afternoon in Manchester, the snow is coming down heavily – Manchester will grind to a halt as the rest of the country! #
  • Snowing in manchester and the city grinds to a halt………again! #
  • Went to Yum Yums in Manchester tonight, never again – food was so poor me and wifey are both feeling sick :( So much for our xmas do! #
  • Why do the Network Rail ticket collectors look like thugs?Dressed head to toe in black, complete with black beanies and they pounce on you! #
  • How come the Uk, particularly Manchester and Stockport are so crap at gritting pavements and roads – it's lethal out there! #
  • I'm now listed on the Local Twitter Directory for Stockport, Cheshire: http://www.loadedweb.com/twitter/ #
  • Check out my ElfYourself video: http://elfyourself.jibjab.com/view/mme2F5CdzdlorJJv #
  • Xmas decorations up, now we are nearly ready to meet Santa #
  • Hmm why do devs still use inline css then have extrnl css as well in addition to not structuring code properly so overrides dont work! #
  • Well guess what, i'm working with VB for the first time in over 10 years! #
  • Can anyone suggest a #wireless router that actually works with an #Acer #7720G – wont see Belkin nor Netgear of which I have both :( #
  • My daughter just spoke to her brother in Stacey language and he just fell about laughing – he is 4 months old Lol #
  • Now off the market until the New Year – always open to discuss opportunities, even if only short term #
  • Sorry to anyone emailing simonantony.co.uk in the last 12 hours, dns failed so we were off the web entirely – now fixed! #
  • How many sprouts can you take before you fart? http://bit.ly/8XN15i #
  • Getting ready to release iqdesign.co.uk – new iphone, iTouch, iPod, Blackberry etc designer cases – watch this space…. #
  • Getting ready for last day a Photolink, been a good experience, now onto my next role which is erm, dur, hmm ??? #
  • Ooops – SimonAntony.co.uk server just run out of disk space, silly me forgot to delete old backups!!!! #
  • After 24 hours of a severe food poisoning outbreak, I'm now starting to recover enough to get some work done! #
  • I just got Voice Candy for Mac for free from tap tap tap. They're celebrating launching Voices on the iPhone http://bit.ly/i56Un #
  • #Google Wave – seems i'm not the only one that doesnt know what to use it for – how do you use yours? Clean answers please :) #
  • is now looking for job opportunities – Available immed for interview – dotnet development, photography, photoshop, interim management etc #
  • That is i'm available from next week :-) #
  • I'll be available for any freelance dotnet, development, design, infrastructure work etc on freelance/contract basis – anyone need anything? #
  • i've got some Google Wave accounts to give out – who is interested? #
  • Yipee! Been accepted onto the beta program for Google Wave – now I just need to work out how to use it :P #
  • Why does writing valid css for IE6, 7 & 8 need to be so hard – firefox just, well works! grrrrrrrrrr #
  • Google producing Chrome OS – whatever next, missions to mars? #
  • asp.net cassini comes to the rescue – open source, dont ya love it … #
  • Anyone managed to run an asp.net website complete with dataset capabilities on a CDRom? Let me know what solution you came up with! #
  • Well another project successfully (cough) rolled out today – http://www.aidsalliance.org – my last 7 weeks of hard graft! Phase 2 now !!!! #
  • What billing and purchase tracking (ok accounting) tools do you use on your mac? Currently using iRatchet for billing but need expenditure 2 #
  • Get 6 top mac apps for free with MacHeist – http://www.macheist.com/ #
  • Just fulfilled another photo order for two clients – need to improve workflow, it's good, just not as good as it can be :) #
  • Imminent impact @MacHeist (151.7,174.4) Witness it and get DaisyDisk ($20) for FREE to reclaim GBs of space on your Mac! http://macheist.com #
  • RT @PhotoLegal: Petition against the Government's smash and grab raid on photographer's intellectual property http://bit.ly/1hZEhN #
  • chilling before a mamouth photo editing session laters :-) #
  • Right that is 80 gig of my music in one place, now I need to get iTunes running to sort them all out – ouch! #
  • See, I knew banannas were important http://bit.ly/3udwqx #
  • Berners-Lee 'sorry' for slashes in internet URL's http://bit.ly/SJZno #
  • Is Photoshop CS4 all its cracked up to be? Why should I upgrade from CS3? Questions questions!!!! #
  • Google Forces Web Standards Issue Using Sexy Buttons – http://bit.ly/p74cq #
  • #Photolinks new artwork, #banksy it's not but excellent it is anyway http://twitpic.com/kqmvs #
  • 30k email addresses compromised – was it down to keyloggers? http://bit.ly/1wFJuQ #
  • Google hit by email scam, were you affected? http://news.bbc.co.uk/1/hi/technology/8292928.stm #
  • Wondering why the planes have changed flightpath, now over my home. Turns out Man Airport are upgrading the ILS so planes using VOR instead #
  • Looking for free #email client for #e71 that supports multi pop3 boxes, nokia email not 100%. Must also leave mail on server and not remove. #
  • Happy now, managed to find a usable and free #twitter client for my #nokia #e71 – #twim #
  • been out and about tonight looking at ideas for some night photography, some interesting opportunities out there, keep your ears on the blog #
  • Just finished updating my twitter homepage with a new background – what do you all think? http://bit.ly/FHUTx #
  • Seen some awesome jQuery tricks lately, anyone point me in the direction of some good solid tutorials with real world examples I can use? ta #
  • having a coffee and wispa after a hard days slog #
  • working on the Bump, Baby & Beyond branding + packages – should be a good day! #
  • Looking for any freelance work/photography/website or graphic design etc – please get in touch and let me know what I can do for you! #
  • RT @TipSquirrel: RT @Minervity: 52 Professional Website User Interface Photoshop Tutorials – http://bit.ly/CqHah #
  • RT @chrisspooner: Create a Fun Illustrated Toy Site Design in Photoshop – http://bit.ly/q4UEo #
  • Bought a new book today, Improve your memory today – wonder if I will remember to read it? #
  • Happy birthday to me, happy birthday to me, happy birthday dear Simon, happy birthday to me :-) #
  • RT @Paul_Casey: RT @cycleman4997: "Golf Club Fail" – http://twlol.com/tw/?v7-14138 Genius! – ordered mine already :_ #
  • I'm going to adopt a snow leopard – are you? http://www.apple.com/uk/macosx/ #
  • RT @StockportMBC: Events: Merseyway’s Summer Sound 2009! See live music, dance & entertainment in the Stockport Town Centre…http://tin … #
  • 30 Top Design Blogs for Great Tutorials & Inspiration – http://is.gd/2rviF #
  • RT @BianaBabinsky: On My Blog: Simplest Way To Build Your List With Social Networking, http://bit.ly/28XR7b #
  • currently editing just over 300 pictures from a recent wedding shoot – need to crack on, client chasing me!!! #
  • Need to alter your Time Machine frequency? http://timesoftware.free.fr/timemachineeditor/ #
  • Simon is pleased to annouce the birth of his baby son on 16th August weighing in at 9lb 7oz, mother and baby both doing well :-) #
  • well as of 30 mins ago, Sharon's (wifey) waters broke – baby is on its way :-) #
  • Well the pink limo turned white but apart from that another great days shooting – now to photoshop to tweak and prep album… #
  • Off to shoot another wedding – looking forwards to this one, big pink limo involved too #
  • Currently watching georgina at swimming lesson & thinking about how to drum up more business #
  • Goosed after a garden tidy, 12 bags at the tip & it looks great. All whilst waiting for a SQL Server db to be provisioned – why so long :( #
  • Working on my new design website – wordpress, php or dotnet??? hmmmm decisions decisions……… #
  • Well baby not come so back to work I go and finish off AllEventsDirectory – Sharon now 1 day overdue!!! #
  • is now chilling out and looking hopeful that his new baby will be born this weekend – i'll try not to work this weekend love, honest :-) #
  • Question: Why does raspberry ice cream not have any raspberry in it? #
  • Can anyone recommend a good asp.net 3.5 book/resource – cookbook style is ideal as not into the theory, just how to do stuff :-) #
  • Need a helpdesk solution, ideally opensource, customisable, time tracking so clients know time left in their support contract! Ideas anyone? #
  • So funny – watching Jeremy Kyle and seeing the losers getting caught out lying. Dont want to get caught? Then dont do it in the first place! #
  • Major tip – never ever ever use <xhtmlConformance mode="Legacy"/> when writing an asp.net AJAX app – it will stop updates working #
  • Up since 4:30 this morning, working since 5:30 – extreme tiredness will hit by the end of the day lol – hope everyone in twitter land is ok! #
  • Working on All Events website, should be live in two weeks – Also baby's head now engaged, any time now, cant wait to meet him/her :-) #
  • Baby due soon (36wk + 5 now), birthing pool up in back room and i'm still working on websites!!! #
creative, design, IT, Photography, twitter, webdesign
12345»10...Last »
    • Recent comments
    • Popular posts
    • Archives
    • Tags
    • Categories
    • C# and ASP.Net (19)
    • General stuff (131)
    • IT (19)
    • Photography (6)
    • Web Design (9)
    5d 30d asp.net audio banks bbc c# Canon creative credit crunch css delegates design digital dotnet Encoding eos errors formatting framework 2.0 framework 3.5 government housing IT live menu microsoft network Photography portraits programming SocketPacket sockets SQL Server tcp tcpip tmobile twitter visual studio vodafone vs2005 vs2008 webdesign weddings windows
    • September 2010 (1)
    • August 2010 (1)
    • March 2010 (1)
    • January 2010 (8)
    • December 2009 (19)
    • November 2009 (12)
    • October 2009 (17)
    • September 2009 (6)
    • August 2009 (22)
    • July 2009 (9)
    • June 2009 (6)
    • May 2009 (5)
    • April 2009 (7)
    • March 2009 (5)
    • February 2009 (4)
    • January 2009 (7)
    • December 2008 (1)
    • November 2008 (8)
    • October 2008 (6)
    • September 2008 (12)
    • URL Rewriting in Asp.net using URLRewriter (8)
    • B&B nationalisation is confirmed (3)
    • What really gets my goat about the latest ‘credit crisis’ (3)
    • Microsoft to offer free malware and other security offerings!!! (2)
    • Need a new mobile, don’t bother with T-Mobile, they just dont’ care! (2)
    • My new toy (2)
    • Daily Twitter Updates for 2009-04-12 (2)
    • Need to left click on a NotifyIcon? (1)
    • I need help choosing a new digital camera for Wifey (1)
    • WordPress 2.7: Coming Soon (1)
    • Simon Steed: This basically means you have created an object but you are trying to use it before initializing it...
    • Simon Steed: Sorry I don't have one, you could try the authors homepage as they may have one???
    • sen: please send me asp.net 1.1 version dll for the same
    • sen: i am gettin this error. Please help me. Object reference not set to an instance of an object....
    • admin: Hi, Sorry but I don't have any Visual Studio compilers that build to 1.1 anymore - if you find...
    • sen: Hi, If you could post sample project for URL Rewrite for Asp.net 1.1, it is appriciatable.
    • Twitted by xploiter: [...] This post was Twitted by xploiter - Real-url.org [...]
    • Tektel: According to me with IE 8 and Windows 7, Microsoft will absolutely rule the web browser market.
  • My latest tweets

    Loading tweets...
    Follow me on Twitter!
  • Blogroll

    • Documentation
    • Greater Manchester Wedding and Portrait Photographers
    • Simon Antony Blog
    • Web Designer
Mystique theme by digitalnature | Powered by WordPress
RSS Feeds XHTML 1.1 Top