Problem Tree View - on click

4 posts, 0 answers
  1. Luis
    Luis  avatar
    2 posts
    Member since:
    Nov 2008

    Posted 26 Feb 2009 Link to this post

    When I Clik the node (in leve 3), the treeview show the next Message:
    Sys.WebForms.PageRequestManagerParserErrorException: Then Message received from the server could not be parser.
    Common causes for this error are when the response is modified by calls to response.Write(), respose filter, HttpModules,
    or server trace is enabled.
    Details: Error Parsing near 'ddeen"/>
    </div
    |<html>
    <head>
    '
    '
    In this page I have tabstrip, multipage and gridas...
    Please Help me, about this error, I tried some things but error is the same.....!!!
    Thanks......

    Is there any telerik  forum in spanish ?
  2. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 27 Feb 2009 Link to this post

    Hello Luis ,

    What do you do in the NodeClick event of the treeview? 

    Can you try to isolate the problem in a small running project and send it to us in a separate support ticket?

    P.S. The forums are in English language only.

    Best wishes,
    Veselin Vasilev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Luis
    Luis  avatar
    2 posts
    Member since:
    Nov 2008

    Posted 27 Feb 2009 Link to this post

    When I Click on treeview (Level 3) , the event is:
    Protected Sub rtvEmpresas_NodeClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadTreeNodeEventArgs) Handles rtvEmpresas.NodeClick
          
    Try
                Dim Tipo As String = Mid(e.Node.Value, 1, 1)
                Dim Valor As String = Mid(e.Node.Value, 2)

     Select Case Tipo


     Case "I" 'Cuando Valor es I entonces mostrar los Items del Proyecto Relacionado
                        lblMensaje.Visible = True
                        lblMensaje.Text = "ITEMS DEL COMPONENTE <br>" & e.Node.Text
       End Select

            Catch ex As Exception

            End Try


                        ' Se muestran los Objetos Necesario para los Items del proyectos
                        gridItems.Visible = True
                        rtsItems.Visible = True
                        rmpItems.Visible = True
                        rtsItems.Tabs(0).Visible = True
                        rmpItems.PageViews(0).Selected = True

                        'Se Ocultan aquellos objetos       
                        rtsRubros.Visible = False
                        rmpRubros.Visible = False
                        rtsItems.Tabs(1).Visible = False
                        gridProyectos.Visible = False
                        gridComponentes.Visible = False
                        gridEntregables.Visible = False

                        ' Se separan los parametros que viene de la BD
                        Dim Parametros As Array = Split(Valor, "@")
                        Session("gProyecto_ID") = Parametros(1)
                        Session("gComponente_ID") = CType(Parametros(0), Integer)
                        Dim pro As String = Parametros(1)
                        Dim com As Integer = CType(Parametros(0), Integer)


                        ' Se valida que el proyecto tenga asignados Rubros
                        Dim Parametro As Object() = {Session("gProyecto_ID")}
                        Dim Contador As Integer = SICOP.BLL.Catalogos.ObtenerUno("sp_ObtenerUno_tbl_Proyecto_Rubros", Parametro).Tables(0).Rows.Count
                        If Contador < 1 Then
                            lblMensaje.Text = "Para poder agregar un Item, antes debe asignarle rubros al Proyecto...!"
                            gridItems.Visible = False
                        Else
                            odsItems.FilterExpression = "Proyecto_ID='" & pro & "'" & " And Componente_ID=" & com
                            gridItems.Rebind()

                        End If


       End Select

            Catch ex As Exception

    End Try


    The message error is the same...
    Forms.PageRequestManagerParserErrorException: Then Message received from the server could not be parser.
    Common causes for this error are when the response is modified by calls to response.Write(), respose filter, HttpModules,
    or server trace is enabled.
    Details: Error Parsing near 'ddeen"/>

    But the message is displayed only once, because is save in cookies.
    If you want to see this message again, you need delete cookies....
    Please help me.....!
  4. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 02 Mar 2009 Link to this post

    Hi Luis ,

    Have you ajaxified the treeview? If yes, please try to disable Ajax and test again. If the error does not occur this would mean that your ajax settings are not set correct.

    If it does not help - please send us a running project where we can see the problem.

    Best wishes,
    Veselin Vasilev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top