Archive for the ‘ASP.NET’ Category
Maintaining Scrolled Position on an ASP.NET Table
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?
Visual Studio 2008 .NET 3.5 Training Kit
Just download from Microsoft
Web Configuration Editor
A surprisingly good and free web configuration editor. ASPhere
Velocity – In Memory Distributed Cache
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…..?