General information
Category:
The Mere Mortals .NET Framework
Environment versions
Network:
Windows 2003 Server
You could try putting it in the OnInit event. I still have some old code that is doing that.
override protected void OnInit(EventArgs e)
{
// Set the control to receive initial focus
this.FocusedControl = this.lstMessages;
base.OnInit(e);
}
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only