We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Issue with adding Treeview within GroupBar

Thread ID:

Created:

Updated:

Platform:

Replies:

74262 Jun 4,2008 11:49 AM Jun 6,2008 05:42 AM ASP.NET Web Forms (Classic) 1
loading
Tags: Tools
Administrator [Syncfusion]
Asked On June 4, 2008 11:49 AM

Hi

My Company is currently trying out the evaluation version of Syncfusion. We are using GroupBar and within a GroupBarItem we need to have a Treeview.

We tried using an xml file to load the Treeview and this works fine.

However we need to load the treeview dynamically.

I tried looking at some of the sample codes, but cant find any way to include a Treeview Dynamically within the GroupBarItem.

Please Help.

-Jeena


Melba Winshia [Syncfusion]
Replied On June 6, 2008 05:42 AM

Hi Jeena,

Thank you for evaluating Syncfusion Products.

You can add TreeView within GroupBar dynamically by using the below code:


'Add treeview to GroupBarTemplateControl
Dim template As GroupBarTemplateControl = New GroupBarTemplateControl()
template.ID = "templateId"
template.Controls.Add(treeview)
Me.Groupbar2.Templates.Add(template)

'Add GroupBarTemplateControl to GroupBarItem
Dim networkPlace As GroupBarItem = New GroupBarItem()
networkPlace.TemplateID = "templateId"
networkTasks.Items.Add(networkPlace)
Me.Groupbar2.Items.Add(networkTasks)


Please refer the sample in the below link which illustrates the above:

http://websamples.syncfusion.com/samples/Tools.Web/6.2.0.40/Tools_Asp_GroupbarItem_46877/main.htm

Please try this and let me know if this helps.

Thanks,
Melba



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;