Tree View Control problem with render Control function

Posted by vikas on Stack Overflow See other posts from Stack Overflow or by vikas
Published on 2010-05-27T06:36:14Z Indexed on 2010/05/27 6:41 UTC
Read the original article Hit count: 323

Filed under:

I am using TreeView Control in Asp.net. I have placed this control inside a panel. The tree control is completely binded (we don’t want populate on demand) with an Xmldatasource during a callback and then I call Panel.renderControl to return the response (HTML) to the client side callback handler.

Problem: 1. The tree expand/collapse (on click of plus sign) is causing postback whereas when I normally bind a tree with xml during postback and without using renderControl of container control, the expand/collapse (on click of plus sign) is being handled at client side.

© Stack Overflow or respective owner

Related posts about ASP.NET