Blog Home  Home Feed your aggregator (RSS 2.0)  
.Net Jonesie - Failed Experiment
A simple programmers blog
 
# Wednesday, August 23, 2006

Ok, so the trick to having a new battery is that you still have to charge it occasionally.  But thankfully my notebook (paper one) and pencil still worked so I managed to pickup lots of nice tips from Scott Guthrie, all of which I'm sure you can find on his blog already.

However, my favorites were:

MaintainScrollPostition.  Add this to your Page tag to have the browser restore the scroll position after a postback.

DefaultButton. You can set the default button for a Form or a Panel.  Useful for a search panel at the top of the page.

OnClientClick. My JScript skills are more rusty than my ASP skills so I was very pleased to see that I can use this to do simple confirmation/cancellation dialogs.  Eg:  OnClientClick="return confirm('Are you sure you want to bomb Beirut?');"

Cross Page Postbacks. I knew about this but sort of forgot it.  Could be most useful for a search page.  Not sure if you can specify a target though.

RSS Toolkit.  I already have a job to add some content to a community sight from an RSS feed.  The RSS Toolkit will make this pathetically simple.

And lots more.  I can't wait to get back to work and implement a few of these on my current project.

I asked Scott at the end of the session if it would be ok to re-present his slides at a user group event and he was very agreeable to that so I think it's about time we had another meeting!

Wednesday, August 23, 2006 10:56:08 AM (New Zealand Standard Time, UTC+12:00)  #    Comments [0]    | 
Comments are closed.
Copyright © 2012 Peter G Jones. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: