BUG: Onchange Unavailable in VBScript with OptionGroup DTCID: Q193229
|
When an OptionGroup Design-time control (DTC) is used on an HTML or Active Server Pages (ASP) page, the onchange event associated with the DTC is not available when the Scripting Platform is set to "Client (IE 4.0 DHTML)" and the scripting language is set to VBScript. As a result, any code in the OptionGroup1_onchange() event does not get executed.
Use JavaScript instead of VBScript.
Client (IE 4.0 DHTML)
Sub OptionGroup1_onchange
MsgBox "VBScript"
End Sub
Additional query words:
Keywords : kbCtrl kbScript kbVisID600bug kbGrpASP
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: May 27, 1999