TreeList does not respond to client click until after postback

2 posts, 0 answers
  1. Peter
    Peter avatar
    12 posts
    Member since:
    Jul 2012

    Posted 11 Mar 2013 Link to this post

    I'm using a RadTreeList using a series of bound columns to display a self-referential DataSet. The binding appears to work fine, and the data shows up correctly, but on the client side after the page has rendered I cannot click on anything in the RadTreeList. However, if I use another control on the page to cause a postback, immediately thereafter the RadTreeList is fully functional. I can see in the console that some Java errors are being thrown on the initial page load and not thereafter - complaining that the helpfully-named variables 'a' and 'b' are not initialized. The postback does not even need to cause a rebind; it appears that any sort of postback will make the RadTreeList functional.

    Has anyone else seen this behavior, or have any ideas on how to fix it? The RadTreeList is currently inside an ASP UpdatePanel, but I have already tried removing all of the UpdatePanels from the page and I still get the same behavior. I have also tried removing every bit of custom CSS from the project and had no change in behavior there either.
  2. Peter
    Peter avatar
    12 posts
    Member since:
    Jul 2012

    Posted 12 Mar 2013 Link to this post

    Well, I found the answer. Originally I had the RadTreeList inside an HTML-defined tree structure (<table><tr><td> etc). This was causing a Javascript error on page load, trying to get_element for some objects. Once I changed all of the table references to ASP table objects, everything worked fine again.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top