I'm not sure if you guys could give me a hand, but if you can, I like you to 
please post a little help...

thanks in advance!!

----- Original Message ----- 
From: "Alexandro Velarde" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, June 20, 2006 1:06 PM
Subject: Problems with Ajax Pro.. Please help!!!!


> I'm a new with ajax pro, so please understand my unacurate form of 
> programming!!!
>
> Please help me out with this issue, I have a function on my server site 
> code, named LoadData, which received one parameter
> with in order to execute a store procedure and return a lot of data.  When 
> I do this, my browser hangs and I can't do anything,
> Please let me know how to make this code better.
>
> I have read on this page that I need to pass another argument, but I don't 
> really understand this.
> http://www.ajaxpro.info/Examples/Classes/default.aspx
>
>
> here is my client side code:
>
> function LoadGrid()
>    {
>     var est=ListValues( document.getElementById('lstEstudioDestiny'));
>     var res;
>     res=Evolucion.LoadData(est).value;
>     document.getElementById('spMensaje').innerHTML=res[0];
>     document.getElementById('spCampana').innerHTML=res[1];
> }
>
>
> here is my server side code:
>
> <Ajax.AjaxMethod()> Public Function LoadData(ByVal idEstudio As String) As 
> ArrayList
>
>        Dim result As New ArrayList
>
>        Try
>            'Tipo de Mensaje
>            Dim tMensaje As New OBLTMensaje
>            Dim lstTmensaje As New ListBox
>            lstTmensaje.ID = "lstTMensaje"
>            lstTmensaje.Attributes.Add("ondblclick", "MoverUno(lstTMensaje, 
> Sel14)")
>
>            result.Add( _
>            MapeaLista(lstTmensaje, tMensaje.ListarTMensaje(idEstudio), _
>            "DESCRIPCION", "CODIGO"))
>
>            'CAMPAÑA
>
>            Dim lstCampana As New ListBox
>            Dim campana As New OBLCampana
>            lstCampana.ID = "lstCampana"
>            lstCampana.Attributes.Add("ondblclick", "MoverUno(lstCampana, 
> Sel13)")
>            result.Add( _
>            MapeaLista(lstCampana, campana.ListarCampana(idEstudio), 
> "DESCRIPCION", "CODIGO"))
>
>            'AVENIDAS
>
>            Dim lstAvenida As New ListBox
>            Dim avenida As New OBLAvenidas
>            lstAvenida.ID = "lstAvenida"
>            lstAvenida.Attributes.Add("ondblclick", "MoverUno(lstAvenida, 
> Sel43)")
>            result.Add( _
>            MapeaLista(lstAvenida, avenida.ListarAvenidas(idEstudio), 
> "DESCRIPCION", "CODIGO"))
>
>        Catch ex As Exception
>            result.Add(ex.Message)
>        End Try
>
>        Return result
>
>    End Function
>
> I'll wait for your response..
> Thanks a lot
>
> Alexandro
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---

Reply via email to