smart rendering asp

I am just loading data from an asp web server but setXMLAutoLoading seems to be a big problem to me. The grid doesn’t load anything.

My feed.asp code is:



<%@ LANGUAGE=“VBScript” %>

<%



    Response.Buffer = true

    Response.ContentType = “text/xml”    

    

    Response.Write("<?xml version='1.0' encoding='iso-8859-1'?>" & vbCrLF)        

    Response.Write("" & vbCrLf)

        

    Dim i        

    For i=1 to 25

        Response.Write(vbTab & “<row id=”"" & i & “”" >" & vbCrLf)

        Response.Write(vbTab & “” & i & “” & vbCrLF)            

        Response.Write(vbTab & “” & i & “” & vbCrLF)            

        Response.Write("")            

    Next



    Response.Write("")

%>



I am calling this page using this code:







        

    



        

<div id=“gridbox” width=“100%”         height=“500px” style=“background-color:lightgrey”>    

    





So, what’s the problem with me?

The setXMLAutoLoading and loadXML are different commands

setXMLAutoLoading - set url which will be used for fetching additional data , but not call it immideatly
loadXML call url to fetch data


You can use next syntax
    mygrid.setXMLAutoLoading(“feed.asp”);
    mygrid.loadXML(“feed.asp”);


or to remove url duplication

    mygrid.setXMLAutoLoading();
    mygrid.loadXML(“feed.asp”);