Ciao
mi manca un pezzo:
Questo è il codice della MasterPage:
Partial Class MasterPage
Inherits System.Web.UI.MasterPage
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
End Sub
Public Sub AddAttributeMap()
body.Attributes.Add("onload", "GetMap();AddPushpin();")
End Sub
End Class
Poi nella mia pagina devo richiamare la sub, giusto?
Partial Class map
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
AddAttributeMap()
End Sub
End Class
Solo che mi dà errore, non mi riconosce la Sub
alexmed