'Add button' on spatial index tab is disabled - ArcCatalogue

Today Im trying to add a spatial index to an ArcSDE feature class and I realized that the 'Add button' on spatial index tab is disabled.

After some little research and common sense I realized that the same feature class is opened using an ArcMap which placed a lock on this feature class.

So next time you see your Add,delete spatial index buttons disabled please make sure that the feature class is not opened else where.

How to set focus to login button in login control .Net 2.0 - login by hitting enter ?

Place the login control inside a panel and set the default button of panel to the login button as I showed.

<asp:Panel ID ="Panel1" runat="server" DefaultButton ="Login1$LoginButton">

<asp:Login TitleText="" ID="Login1" runat="server" DisplayRememberMe="False"Height="166px">

</asp:Login>

</asp:Panel>

so if your login controls name is "samlple_control" then defaultbutton="samlple_control$LoginButton"