HI
I dont know if have a bug on radcontrol or on my code, but, i add a custom command to raddock and i can see the icon only after move this dock.
Can you help-me please ?
I dont know if have a bug on radcontrol or on my code, but, i add a custom command to raddock and i can see the icon only after move this dock.
Can you help-me please ?
| Private Function CreateRadDockFromState(ByVal state As DockState) As RadDock |
| Dim dock As New RadDock() |
| dock.DockMode = DockMode.Docked |
| dock.ID = String.Format("RadDock{0}", state.UniqueName) |
| dock.ApplyState(state) |
| Dim botaoEditar As DockCommand = New DockCommand |
| botaoEditar.Name = "EDITAR" |
| botaoEditar.Text = "editar" |
| botaoEditar.AutoPostBack = True |
| AddHandler dock.Command, AddressOf dock_Command |
| dock.Commands.Add(botaoEditar) |
| dock.Commands.Add(New DockCloseCommand()) |
| dock.Commands.Add(New DockExpandCollapseCommand()) |
| Return dock |
| End Function |