The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
ADAdministrator Syncfusion Team August 15, 2006 11:41 PM UTC
We ship a sample that shows a dropdown usercontrol in a cell. You could put a Treeview in a usercontrol and then drop it as in this sample. Here is that sample modified to show a GridDataBoundGrid with a column of Dropdowms that have a TreeView in them.
... thank you very much for your efforts. This is exactly what I was searching for.
Karsten
KBKarsten BrocksieperAugust 17, 2006 08:40 AM UTC
Hi Clay,
... with the help of your sample I have done it so far.
Please, one more question.
I show the treeview in the following way:
'' Show Folder in Treeview of DropDown Me.grddbKSTZuordnung.Model.CellModels.Add("DropDownUserControl", New DropDownUserCellModel(Me.grddbKSTZuordnung.Model, New DropDownUser())) Me.grddbKSTZuordnung.Binder.InternalColumns("Outlook_Ordner").StyleInfo.CellType = "DropDownUserControl"
Everything works fine until I have to reload my data in the grid because I have made changes in the underlying dataset.
Can you tell how I can determine if I have already add the "DropDownUserControl" to the grid because if I run the above mentioned code twice I will get an error.
Thanks again for your help.
Karsten
ADAdministrator Syncfusion Team August 17, 2006 11:10 AM UTC
Hi Karsten,
Please try this code
If Me.grddbKSTZuordnung.Model.CellModels.ContainsKey("DropDownUserControl") Then Console.WriteLine("DropDownUserControl model presents in a grid") Else Console.WriteLine("DropDownUserControl does not present in a grid") EndIf