Hi, having some issues with ABMRadioGroup clicked event
RadioGroup clicked event doesn't execute in server. Why?
B4X:
Sub BuildGroupRadio As ABMRadioGroup
Dim rg As ABMRadioGroup
rg.Initialize(page, "myradiogroup", "")
Dim l As List
l.Initialize
Log ( File.DirApp & "/www/" & ABMShared.AppName & "/PDF/" )
l = File.ListFiles( File.DirApp & "/www/" & ABMShared.AppName & "/PDF/")
If l.Size > 0 Then
For Each fileString As String In l
rg.AddRadioButtonNoLineBreak(File.GetName( fileString), True)
rg.Tag = "../PDF/" & File.GetName( fileString)
Next
End If
rg.Title = "PDFS"
Return rg
End Sub
Sub myradiogroup_Clicked(Target As String) ' <- THIS EVENT FIRES IN RELEASE AND DEBUG IN MY LOCALHOST BUT NOT IN MY VPS ( SERVER)
Log ("clicked radion button")
Dim tmr As ABMRadioGroup = page.Component("myradiogroup")
Dim pdfurl As String = tmr.Tag
Dim pdfv As ABMPDFViewer = page.Component("pdf")
Log ( " pdf: "& pdfurl )
pdfv.SetDocument( pdfurl )
pdfv.Refresh
End Sub
RadioGroup clicked event doesn't execute in server. Why?