Maintain Scroll Position in ASP.NET

by Marie 14. September 2010 04:25

 

In order to maintain Scroll Position in ASP.NET, add MaintainScrollPostionOnPostback to the @Page Directive at the top of the page.

 

Example:

<%@ Page Title="PageTitle" MaintainScrollPositionOnPostback="true" Language="vb" AutoEventWireup="false" MasterPageFile="~/MasterPage.master" %>

Tags:

Coding

Klok – Personal Time Tracking Software

by Marie 13. September 2010 03:49

Yesterday I came across a great personal time tracking software that you can use to keep track of your time at work or on other projects.   I installed this software to keep track of what i’m working on so I don’t have to remember what I was working a week later when it comes time to do my timesheet at work.  Its really easy to use.  I just hit start when I get to work and it runs in the background and when i’m finished I hit stop.  I also have to the option to add comments or add entries of what I did if I didn’t hit start.   Its also a great tool for freelance developers because you can track to the minute the time you spend on a project, which makes making invoice a lot easier.  Export to excel and your done.  Check it out, its already proven to be a great asset to making my life easier.   Get Klok.

Read More

Tags:

Business

CSS Frameworks

by Marie 12. September 2010 01:54

Below are a list of CSS Frameworks that you can use to make your development easier.  These Frameworks provide reusable functionality to save you time and reinventing the wheel.  The great thing about these CSS Frameworks is they follow web standards so check them out and if you get time let me know which ones you are using or tried to implement in a project that your working on.

Blueprint CSS

Yahoo CSS Framework

960 Grid System

Elements CSS Frameworks

Boilerplate CSS Framework

WYMstyle: a CSS framework

YAML CSS Framework

CleverCSS

ESWAT Web Project Framework

CwS CSS Framework

Schema Web Design Framework

Tripoli Beta CSS Framework

 

 

Tags:

Coding

Using the Enter Key to Submit a Form

by Marie 7. September 2010 04:21

To submit the form when the enter key is pressed create a javascript function along these lines.


function checkSubmit(e)
{
   
if(e && e.keyCode == 13)
   
{
      document
.forms[0].submit();
   
}
}

Then add the event to whatever scope you need eg on the div tag

<div onKeyPress="return checkSubmit(event)"/>

This is also the default behaviour of internet explorer 7 anyway though (probably earlier versions as well).


 

 

Tags:

Coding