All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
head
runat
"server"
title
></
</
body
form
id
"form1"
asp:ScriptManager
ID
"RadScriptManager1"
script
type
"text/javascript"
function CreateClick()
{
var dock = $find("RadDock1");
var li = document.createElement("li");
var anchor = document.createElement("a");
anchor.setAttribute("title", "Command Text");
var span = document.createElement("span");
anchor.appendChild(span);
li.appendChild(anchor);
dock.get_commandsContainer().appendChild(li);
Sys.UI.DomElement.addCssClass(span, "rdCustom");
var command = $create(Telerik.Web.UI.DockCommand, null, null, null, anchor);
command.set_radDock(dock);
command.radDock = dock;
dock.get_commands()["CommandName"] = command;
dock.repaint();
}
div
input
"button"
onclick
"CreateClick();"
value
"Add Command"
/>
telerik:RadDockLayout
"RadDockLayout1"
telerik:RadDockZone
"RadDockZone1"
MinHeight
"300px"
Width
telerik:RadDock
"RadDock1"
Title
"RadDock-Title"
Height
Commands
telerik:DockCloseCommand
ContentTemplate