Hi Guys,
I have a problem because my app initially hides all the controls on the page with Visible="False" and only makes them visible on a partial postback. This is fine for normal controls but Prometheus controls don't seem to load properly when visible is set to "True" on the containing panel.
I have made this demo as simple as possible.....
The slider doesn't show up properly when you hit the button. However, if you change the placeholder tag as follows....
<asp:PlaceHolder ID="PlaceHolder1" Visible="True" runat="server">
..so that it shows when the page loads then it works fine.
I hope there is a way round this as the same problem happens with tooltips, if the tooltipmanager isn't visible when the page first loads then it doesn't load properly on a callback.
Jon
I have a problem because my app initially hides all the controls on the page with Visible="False" and only makes them visible on a partial postback. This is fine for normal controls but Prometheus controls don't seem to load properly when visible is set to "True" on the containing panel.
I have made this demo as simple as possible.....
<%@ Page Language="VB" %> |
<%@ 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"> |
<script runat="server"> |
Sub ButtonClick() |
PlaceHolder1.Visible = True |
End Sub |
</script> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head runat="server"> |
<title>Slider Test</title> |
</head> |
<body> |
<form id="form1" runat="server"> |
<asp:ScriptManager ID="ScriptManager1" runat="server"> |
</asp:ScriptManager> |
<div> |
<asp:UpdatePanel ID="UpdatePanel1" runat="server"> |
<ContentTemplate> |
<asp:Button ID="Button1" runat="server" OnClick="ButtonClick" Text="Make Slider Visible" /> |
<asp:PlaceHolder ID="PlaceHolder1" Visible="False" runat="server"> |
<telerik:RadSlider |
ID="RadSlider1" |
runat="server" |
Skin="Web20" |
/> |
Testing to see if slider shows up. |
</asp:PlaceHolder> |
</ContentTemplate> |
</asp:UpdatePanel> |
</div> |
</form> |
</body> |
</html> |
The slider doesn't show up properly when you hit the button. However, if you change the placeholder tag as follows....
<asp:PlaceHolder ID="PlaceHolder1" Visible="True" runat="server">
..so that it shows when the page loads then it works fine.
I hope there is a way round this as the same problem happens with tooltips, if the tooltipmanager isn't visible when the page first loads then it doesn't load properly on a callback.
Jon