My problem is that I have a form in ASP.NET in VB and I have events declared in that program, now I need to know how to execute those events from javascript. Visual Event
Protected Sub Cargar()
PanelSearch.Visible = False
End Sub
JavaSCript:
Function CargarDatos(){
document.getElementById("Button1").click();
};
The javascript code works for me but only when the "button1 is visible and as you can see I need to hide it, and when I hide it it does not work anymore. And it has to be that way because I need it to work with javascript. Thanks for your time.