I have RadDocks with some custom dock commands. On some skins these commands is not displayed properly.
This samle code works well with skins like Hay and Sunset, but displays only 4 commands with skins like Gray and Telerik.
I've tried the latest version of the Telerik.UI. (both SP1 and SP2). Tried in both IE6 and FF2 with the same behaviour.
Default.aspx.cs
Default.aspx
This samle code works well with skins like Hay and Sunset, but displays only 4 commands with skins like Gray and Telerik.
I've tried the latest version of the Telerik.UI. (both SP1 and SP2). Tried in both IE6 and FF2 with the same behaviour.
Default.aspx.cs
using System; |
using System.Collections; |
using System.Configuration; |
using System.Data; |
using System.Linq; |
using System.Web; |
using System.Web.Security; |
using System.Web.UI; |
using System.Web.UI.HtmlControls; |
using System.Web.UI.WebControls; |
using System.Web.UI.WebControls.WebParts; |
using System.Xml.Linq; |
namespace TestDock |
{ |
public partial class _Default : System.Web.UI.Page |
{ |
protected void Page_Load(object sender, EventArgs e) |
{ |
RadDock1.Commands.Add(new Telerik.Web.UI.DockCommand()); |
RadDock1.Commands.Add(new Telerik.Web.UI.DockCommand()); |
RadDock1.Commands.Add(new Telerik.Web.UI.DockCommand()); |
RadDock1.Commands.Add(new Telerik.Web.UI.DockCommand()); |
RadDock1.Commands.Add(new Telerik.Web.UI.DockCommand()); |
RadDock1.Commands.Add(new Telerik.Web.UI.DockCommand()); |
} |
} |
} |
Default.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="TestDock._Default" %> |
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
<!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>Untitled Page</title> |
</head> |
<body> |
<form id="form1" runat="server"> |
<telerik:RadScriptManager runat="server"> |
</telerik:RadScriptManager> |
<div> |
<telerik:RadDockLayout ID="RadDockLayout1" runat="server" Skin="Telerik" StoreLayoutInViewState="True"> |
<telerik:RadDockZone ID="RadDockZone1" Runat="server" Height="300px" Width="95%" Skin="Telerik"> |
<telerik:RadDock ID="RadDock1" Runat="server" DefaultCommands="None" Skin="Telerik" Width="100%"> |
</telerik:RadDock> |
</telerik:RadDockZone> |
</telerik:RadDockLayout> |
</div> |
</form> |
</body> |
</html> |