Is it possible to bind/rebind a RadListView’s datasource using Ajax? What I’m trying to do is create a type of forum. One ListView is nested in another listview. The outer listview will load on page load and display all of the subject headers, and the innerlist view will not be bound until the header is clicked. Then I’ll use jQuery to open the details under the header and load THAT ListView using ajax. is this possible and how? or is there another way I should into achieving this effect? Thanks.
Is it possible to bind/rebind a RadListView’s datasource using Ajax? What I’m trying to
Share
You could wrap the outer list in an
UpdatePaneland assign anOnClickhandler to the subject line. When the subject line is clicked, an async postback will occur and you can bind the inner list in the click event handler.One way or another you need to get to the code-behind. If you want to use jQuery, you can attach click events to the header and call __doPostBack in the handler, like this:
If you go with this approach, you’ll just need to override the
RaisePostBackEventin the code-behind, and use a little logic to drill down to the inner list.