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

Custom Command at runtime problem

2 Answers 83 Views
Dock
This is a migrated thread and some comments may be shown as answers.
dotnetuncle
Top achievements
Rank 1
dotnetuncle asked on 16 Aug 2007, 12:01 PM
Hi

I am using a DockObject (promatheus) and trying to create a RadDock at runtime (dynamically) on Button click. When I am trying to create custom command, the custom command DOES NOT FIRE on button click.

We have seen a few examples which show the same functionality in Page_Load. However, this is not working in case of Button_Click & other events too. Is there any such restriction of adding CustomCommands.

dock.Command += new DockCommandEventHandler
(dock_Command);

Thanks

Vishal Khanna
http://www.dotnetuncle.com

2 Answers, 1 is accepted

Sort by
0
dotnetuncle
Top achievements
Rank 1
answered on 16 Aug 2007, 12:08 PM
You may find the source (zipped) at this location...

http://aspnetinfo.googlepages.com/customcommand.zip

Cheers

VK
0
Petya
Telerik team
answered on 17 Aug 2007, 07:10 AM
Hi dotnetuncle,

I believe this issue is discussed in the following thread. In case I am wrong, please write us again.

Best wishes,
Petya
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Dock
Asked by
dotnetuncle
Top achievements
Rank 1
Answers by
dotnetuncle
Top achievements
Rank 1
Petya
Telerik team
Share this question
or