Hi,
We are trying to create a solution with a large number of categorized RadDocks. For example it might comprise of 10 categories, each with 10-20 Docks
We currently have the following setup:
A RadDockLayout with Two RadDockZones
<RadDockLayout>
<RadDockZone1>
<DropDownList>Category List</DropDownList>
A number of RadDocks to select from
</RadDockZone1>
<RadDockZone2>
The RadDocks a user would like to have saved in their profile
</RadDockZone2>
</RadDockLayout>
The top RadDock Zone is populated on Page Load with a number of minimized RadDocks from the first category, the Raddocks can be dragged to the second RadDockZone.
This works perfectly, the layout is saved on postback, and we can save the Layout of RadDockZone2 to the database.
The problem is that when we select a new Category from the list, we would like all of the Docks in RadDockZone1 to be removed, and show only the Docks from the newly selected category. (While maintaining the selection in RadDockZone2)
This seems to be causing a conflict somewhere, I have tried the following:
- Removing the unnecessary RadDocks from the CurrentDockStates collection (in RadComboBox1_SelectedIndexChanged)
- Clearing the DockZOne with RadDockZone1.Docks.Clear (in RadComboBox1_SelectedIndexChanged)
Could you point me in the right direction to achieve something like this?
We are trying to create a solution with a large number of categorized RadDocks. For example it might comprise of 10 categories, each with 10-20 Docks
We currently have the following setup:
A RadDockLayout with Two RadDockZones
<RadDockLayout>
<RadDockZone1>
<DropDownList>Category List</DropDownList>
A number of RadDocks to select from
</RadDockZone1>
<RadDockZone2>
The RadDocks a user would like to have saved in their profile
</RadDockZone2>
</RadDockLayout>
The top RadDock Zone is populated on Page Load with a number of minimized RadDocks from the first category, the Raddocks can be dragged to the second RadDockZone.
This works perfectly, the layout is saved on postback, and we can save the Layout of RadDockZone2 to the database.
The problem is that when we select a new Category from the list, we would like all of the Docks in RadDockZone1 to be removed, and show only the Docks from the newly selected category. (While maintaining the selection in RadDockZone2)
This seems to be causing a conflict somewhere, I have tried the following:
- Removing the unnecessary RadDocks from the CurrentDockStates collection (in RadComboBox1_SelectedIndexChanged)
- Clearing the DockZOne with RadDockZone1.Docks.Clear (in RadComboBox1_SelectedIndexChanged)
Could you point me in the right direction to achieve something like this?