Sample for WebGrid tree view wanted

4 replies. Last post: February 21, 2012 9:00 PM by Yudi
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Eric Member

Hi,

I need a sample for a simple tree-view using WebGrid version 6.0.7200.218.

It should use the event InitializeSelfReferenceDataSource to load the next node level data. And InitializeDataSource should load the root node data. And the columns are created in the code, not hardcoded in aspx page.

I think I have everything correct (too big to post here), but I just don't get the "plus" image to expand a node. How does WebGrid know if it needs to draw this plus image? What might be missing?

In any case such a sample would be great. I found the samples that use EnableLoadOnDemand (not supported in mentioned version) and the found samples mostly use data connectors in the aspx file, instead of creating the data in InitializeDataSource.

Thanks

All times are GMT -5. The time now is 1:09 PM.
Previous Next