code & chips

general programming stuff…

Archive for the ‘ASP.NET’ Category

Maintaining Scrolled Position on an ASP.NET Table

leave a comment »

It used to be a case of setting Page.SmartNavigation and then the EditItemIndex property of the table.  But this has been (long) deprecated.

You now have to set Page.MaintainScrollPositionOnPostBack.

Who’d have thunk it?

Written by Kam

October 14, 2008 at 8:47 am

Posted in ASP.NET

Visual Studio 2008 .NET 3.5 Training Kit

leave a comment »

Just download from Microsoft

Written by Kam

July 11, 2008 at 9:57 am

Posted in ASP.NET, C#

Web Configuration Editor

with one comment

A surprisingly good and free web configuration editor. ASPhere

Written by Kam

June 7, 2008 at 1:00 pm

Posted in ASP.NET, C#

Velocity – In Memory Distributed Cache

leave a comment »

This should mean that we can write syntax similar to :

   1:  public string ExampleProperty
   2:          {
   3:              get { return Session["someName"].ToString() ?? string.Empty;}
   4:          }   

.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, “Courier New”, courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }

And be able to load balance it at anytime. 

Velocity should look after the internals.  But as with most things Microsoft: how bloated will this be and at what cost…..?

Written by Kam

June 5, 2008 at 1:18 pm

Posted in ASP.NET, C#

Follow

Get every new post delivered to your Inbox.