This is a migrated thread and some comments may be shown as answers.

RadDock migration

1 Answer 37 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Preetam Ray
Top achievements
Rank 1
Preetam Ray asked on 20 Aug 2008, 11:31 AM

Property  RadDockableObjectCommand is not present in Q2 2008. Is there any equivalent for the same.
To add more details I have the following line of code

RadDockableObjectCommand dockCommand = new RadDockableObjectCommand("Delete", "Delete", "DeleteBtn.gif", true);

1 Answer, 1 is accepted

Sort by
0
Obi-Wan Kenobi
Top achievements
Rank 1
answered on 20 Aug 2008, 12:05 PM
You should use something like this:

DockCommand

mycommand = new DockCommand();
mycommand.OnClientCommand =
"handler";
.....

RadDock1.Commands.Add(mycommand);


A simple example which illustrates how to add custom commands is available here:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Dock/Examples/Commands/DefaultCS.aspx

Tags
Ajax
Asked by
Preetam Ray
Top achievements
Rank 1
Answers by
Obi-Wan Kenobi
Top achievements
Rank 1
Share this question
or