Here's a sample demonstrating the use of .Focus() with the optional delay parameter.
Example
<%@ Page Language="C#" %>
<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
if (!Ext.IsAjaxRequest)
{
this.TextField1.Focus(false, 100);
}
}
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Coolite Toolkit</title>
</head>
<body>
<form id="form1" runat="server">
<ext:ScriptManager ID="ScriptManager1" runat="server" />
<ext:Window
ID="Window1"
runat="server"
Title="Window"
Height="185"
Width="300"
BodyStyle="padding:6px;">
<Body>
<ext:FormLayout runat="server">
<Anchors>
<ext:Anchor Horizontal="100%">
<ext:TextField ID="TextField1" runat="server" FieldLabel="Username" />
</ext:Anchor>
<ext:Anchor Horizontal="100%">
<ext:TextField ID="TextField2" runat="server" FieldLabel="Password" InputType="Password" />
</ext:Anchor>
</Anchors>
</ext:FormLayout>
</Body>
<Buttons>
<ext:Button runat="server" Text="Login" />
</Buttons>
</ext:Window>
</form>
</body>
</html>
Hope this helps.