This sounds simple enough but for the life of me I can't seem to get this wired correctly. I am creating RadDock's dynamically and I want to add Custom DockCommands to the RadDock that will call one of two server side functions. I can never seem to get the server side function to fire, what am I missing?
Here is an example of how I am creating the RadDock and the subsequent DockCommand.
RadDock rd = new RadDock();
rd.ID = usage + "_" + "FORM_" + loadedForm.getID() + "_" + ff.getFormFieldID() + "_" + ffs.getFormFieldSettingsID();
rd.DockMode = DockMode.Docked;
rd.DefaultCommands = Telerik.Web.UI.Dock.DefaultCommands.None;
rd.Width = 300;
rd.Height = 80;
DockCommand command = new DockCommand();
command.AutoPostBack = true;
command.Name = "Command1";
rd.Commands.Add(command);
However, I never get anything in Command1_Command, Command1_Click etc. What piece is missing to cause the Server Side function to fire when a custom command is clicked on the RadDock?
Thank you,
Derek
Here is an example of how I am creating the RadDock and the subsequent DockCommand.
RadDock rd = new RadDock();
rd.ID = usage + "_" + "FORM_" + loadedForm.getID() + "_" + ff.getFormFieldID() + "_" + ffs.getFormFieldSettingsID();
rd.DockMode = DockMode.Docked;
rd.DefaultCommands = Telerik.Web.UI.Dock.DefaultCommands.None;
rd.Width = 300;
rd.Height = 80;
DockCommand command = new DockCommand();
command.AutoPostBack = true;
command.Name = "Command1";
rd.Commands.Add(command);
However, I never get anything in Command1_Command, Command1_Click etc. What piece is missing to cause the Server Side function to fire when a custom command is clicked on the RadDock?
Thank you,
Derek