Hi
I'm trying to add Dock's to a DockZone dynamically. No problem with that. Docks get added to DockZone, but I want to insert a doc to a particular position (between 2 docks); which Im having problems with.
This is what Im trying to do:
a. RadDockZone CurrDocZone = (RadDockZone)FindControl(DocZoneToAdd);
CurrDocZone.Controls.Add(dock);
Always adds to the start of the doczone.
b. Tried,
RadDockZone CurrDocZone = (RadDockZone)FindControl(DocZoneToAdd);
CurrDocZone.Docks.Insert(Position, dock);
or
CurrDocZone.Controls.AddAt(Position, dock);
But it throws exception that, A control with ID '<some unique Dock ID>' could not be found for the trigger in UpdatePanel 'UpdatePanel2'.
Can you pls. let me know what could be wrong in there... Pls. let me know if you need more info.
Thanks
I'm trying to add Dock's to a DockZone dynamically. No problem with that. Docks get added to DockZone, but I want to insert a doc to a particular position (between 2 docks); which Im having problems with.
This is what Im trying to do:
a. RadDockZone CurrDocZone = (RadDockZone)FindControl(DocZoneToAdd);
CurrDocZone.Controls.Add(dock);
Always adds to the start of the doczone.
b. Tried,
RadDockZone CurrDocZone = (RadDockZone)FindControl(DocZoneToAdd);
CurrDocZone.Docks.Insert(Position, dock);
or
CurrDocZone.Controls.AddAt(Position, dock);
But it throws exception that, A control with ID '<some unique Dock ID>' could not be found for the trigger in UpdatePanel 'UpdatePanel2'.
Can you pls. let me know what could be wrong in there... Pls. let me know if you need more info.
Thanks