Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
110
Deserialization failure when we use load-on-demand in WebDataTree
posted

Hi

We are testing the load-on-demand  feature in WebDataTree  (v10.3 for asp.net framework 3.5).
At first we test this feature on a simple Web-form application example  (created with VS2010 - Framework 3.5) and it works well.


But, when we added the same changes to our real application ( Note . It was converted from VS2003 to VS2010) we have this problem:

 When the webDatatree is loaded , the first level is bound to the tree , but we have a javascript alert “Deserialization failure: Invalid response”  each time we try to expand  a node in the first level (I mean: try  to bind on demand the other levels)  and the message that we have defined "Loading ... Please wait! "with DataLoadingMessage attribute remains frozen.
Anyone have an idea of the source of this problem ?

 

Thanks

 

Here is the definition of our WebDataTree:

 

 <body style="margin: 0px;" oncontextmenu="return false" onresize="setTimeout('SaveCurrentFrameSizes()',100);">
    <form id="Form1" runat="server">
    <ig:WebScriptManager ID="WebScriptManager1" runat="server">
    </ig:WebScriptManager>
    <table id="Table1" cellspacing="0" cellpadding="0" width="100%" border="0">
        <tr>
            <td id="td" align="right" width="100%" style="height: 18px; background-image: url(APP_THEMES/<%=Page.Theme%>/IMAGES/searchbg.JPG);">
                <input type="image" id="Pin" onclick="CollapseShowPane('<%=Page.Theme%>');" src="APP_THEMES/<%=Page.Theme%>/Images/ig_menuBlueLeft.GIF"
                    style="vertical-align: middle;" />
            </td>
        </tr>
    </table>
        <table id="Table2" cellspacing="0" cellpadding="0" width="100%">
            <tr>
               <td valign="top" id="treetd">
                    <ig:WebDataTree ID="WebTree" runat="server" Width="100%" Height="100%"
                        DataSourceID="XmlDataSourceForTree"
                        InitialExpandDepth="1"
                        InitialDataBindDepth="1"
                        DataLoadingMessage="Loading...Please wait!"
                        onnodeclick="WebTree_NodeClick">
                        <AutoPostBackFlags NodeClick="On" />
                        <DataBindings>
                            <ig:DataTreeNodeBinding DataMember="Folder" KeyField="id" TextField="name" ValueField="FolderTypeId" />
                        </DataBindings>
                    </ig:WebDataTree>
                    <asp:XmlDataSource ID="XmlDataSourceForTree" runat="server"></asp:XmlDataSource>
                </td>
            </tr>
            <tr><td>   <asp:HiddenField id="lastSize" runat="server" /> </td></tr>
        </table>
    </form>
</body>