Welcome Guest Search | Active Topics | Sign In | Register

Bind Tree View to Dataset? Options
qureshi
Posted: Thursday, April 10, 2008 10:22:48 AM
Rank: Newbie
Groups: Member

Joined: 12/5/2007
Posts: 4
Can one bind your tree view to a dataset from asp.net ?

does our tree view has the click event on the base/main node...

The reason is this.............

In my tree view there will be employee names...........say, name1,name2,name3,name4 etc etc

when the user clicks on one of the names then the grid on the right side of the page will show their records...

I will have a asp.net user control which will have on the left side of the page tree view control and on the right side grid control....


eo_support
Posted: Thursday, April 10, 2008 10:30:23 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,093
Hi,

Yes. You can. Please go to EO.Web TreeView -> EO.Web TreeView -> Data Binding in the documentation. Everything is explained there in great detail.

What you will be doing would be:

1. Bind the TreeView from DataSet as described in the document;
2. Set the TreeView's RaisesServerEvent to true (You can do it without RaisesServerEvent, but that would require JavaScript programming);
3. In the TreeViews' ItemClick event handler, populate the Grid (You can find how to do that in the documentation as well);

Hope this helps.

Thanks
qureshi
Posted: Thursday, April 10, 2008 10:34:09 AM
Rank: Newbie
Groups: Member

Joined: 12/5/2007
Posts: 4
Thanks for the reply. I really like your service and products, I will be buying the same by the end of this month. I think we get the source code with this. Is that correct ?
eo_support
Posted: Thursday, April 10, 2008 10:38:17 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,093
No. You will not. We do not sell source code for our controls. Only the source code for the samples are provided. Sorry about it!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.