Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IE and focus causes interface problem
Message
De
28/12/2016 14:44:02
 
 
À
28/12/2016 14:30:45
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows Server 2012
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01646168
Message ID:
01646169
Vues:
47
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform