Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IE and focus causes interface problem
Message
From
28/12/2016 14:44:02
 
 
To
28/12/2016 14:30:45
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows Server 2012
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01646168
Message ID:
01646169
Views:
46
The workaround for this issue can be done by using javascript directly:
' If we have to set the focus on a control
If cFocus.Length > 0 Then
   'loTextbox = oProcess.oPage.FindControl(cFocus)

   ' If we have found the control
   If Not loTextbox Is Nothing Then
      'loTextbox.Focus()
      oProcess.cScript = oProcess.cScript + oApp.cCR
      oProcess.cScript = oProcess.cScript + "loTextbox=document.getElementById(""" + cFocus + """)" + oApp.cCR
      oProcess.cScript = oProcess.cScript + "loTextbox.focus()" + oApp.cCR
   End If

End If
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform