I am having a problem with some of the built in skins and the RadDock.
It appears that when I update certain controls with RadAjax, specifically content in RadDocks the background color is not correct for some skins. I have uploaded a sample so you can see what I am talking about: YouTube link
You will first see the page as it is when loaded, then the OnClick event of the RadTreeView on the left changes the text within the RadDock. The RadDOck is as follows:
and the OnClick():
And just to ensure I give you all of the details I am using the following RadAjaxManagerProxy and RadAjaxLoadingPanel:
This issue occurs anytime I update any controls with Ajax that are inside a RadDock and the Skin is set to a skin that has a different background than what the Dock has for that skin. (Examples: Black, Hay)
I have tried to simply update the entire RadDock with the AjaxManager, but that throws and error:
Your help is appreciated.
It appears that when I update certain controls with RadAjax, specifically content in RadDocks the background color is not correct for some skins. I have uploaded a sample so you can see what I am talking about: YouTube link
You will first see the page as it is when loaded, then the OnClick event of the RadTreeView on the left changes the text within the RadDock. The RadDOck is as follows:
<telerik:RadDock ID="dockHelp" runat="server" Title="Help" EnableRoundedCorners="true"> |
<ContentTemplate> |
<h2><asp:Literal ID="helpTitle" runat="server" /></h2> |
<p><asp:Literal ID="helpContent" runat="server" /></p> |
</ContentTemplate> |
</telerik:RadDock> |
and the OnClick():
protected void treeAdmin_NodeClick(object sender, RadTreeNodeEventArgs e) |
{ |
UpdateHelp(); |
} |
protected void UpdateHelp() |
{ |
if (treeAdmin.SelectedNode != null) |
{ |
switch (treeAdmin.SelectedNode.Text) |
{ |
case "System Utilities": |
helpTitle.Text = treeAdmin.SelectedNode.Text; |
helpContent.Text = help_systemutilities; |
break; |
case "Locked Documents": |
helpTitle.Text = treeAdmin.SelectedNode.Text; |
break; |
case "Users and Groups": |
helpTitle.Text = treeAdmin.SelectedNode.Text; |
break; |
case "Groups": |
helpTitle.Text = treeAdmin.SelectedNode.Text; |
break; |
case "Users": |
helpTitle.Text = treeAdmin.SelectedNode.Text; |
break; |
case "Filing System": |
helpTitle.Text = treeAdmin.SelectedNode.Text; |
break; |
case "Deparments": |
helpTitle.Text = treeAdmin.SelectedNode.Text; |
break; |
case "Workflows": |
helpTitle.Text = treeAdmin.SelectedNode.Text; |
break; |
case "User Defined Lists": |
helpTitle.Text = treeAdmin.SelectedNode.Text; |
break; |
default: |
helpTitle.Text = "Managing Your System"; |
helpContent.Text = help_general; |
break; |
} |
} |
else |
{ |
helpTitle.Text = "Managing Your System"; |
helpContent.Text = help_general; |
} |
} |
And just to ensure I give you all of the details I am using the following RadAjaxManagerProxy and RadAjaxLoadingPanel:
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server"> |
<AjaxSettings> |
<telerik:AjaxSetting AjaxControlID="treeAdmin"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="helpTitle" LoadingPanelID="RadAjaxLoadingPanel1" /> |
<telerik:AjaxUpdatedControl ControlID="helpContent" LoadingPanelID="RadAjaxLoadingPanel1" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
</AjaxSettings> |
</telerik:RadAjaxManagerProxy> |
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"> |
</telerik:RadAjaxLoadingPanel> |
This issue occurs anytime I update any controls with Ajax that are inside a RadDock and the Skin is set to a skin that has a different background than what the Dock has for that skin. (Examples: Black, Hay)
I have tried to simply update the entire RadDock with the AjaxManager, but that throws and error:
Telerik.Web.UI.RadDockZone can contain only controls of type Telerik.Web.UI.RadDock
Your help is appreciated.