Re: Problem with Focus method with iehp.exe on thin client

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi Ben,

The "defaultfocus" is an ASP.NET server-side control attribute, the ASP.NET
runtime will render out clientscript (to set focus) according to this
attribute value. However, the rendering will vary according to the client
browser. I think ASP.NET possibly detect the iehp.exe as a non-javascript
enabled browser and doesn't correctly output script to set focus.

<form id="form1" runat="server" defaultfocus="txtCardID">

You can try checking the source of the output html at client-side to see
whether the ASP.NET has render the same script code as your own custom
script.


Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.

.