Hi, I have a RadToolBarSplitButton where I set buttons in runtime. I calcule the dropdown height from the number of button. But everyime the vertical scroll bar are visible. How do you remove this scroll bar ?int dropDownHeight = (int)(Annees.Buttons.Count * 25);if (dropDownHeight > 250){dropDownHeight = 250;//show vertical scroll bar}else{//not show vertical scroll bar}Annees.DropDownHeight = Unit.Pixel(dropDownHeight);
Hello.
In my web application, a page is displayed with the RadScheduler component, whose ColumnWidth property has been set to a certain number of pixels.
When an appointment is displayed, it does not fill the entire cell; a certain space is left on the right side, just like in the following demo: http://demos.telerik.com/aspnet-ajax/scheduler/examples/customization/defaultcs.aspx.
What should I do to set the width of the appointment equal to RadScheduler ColumnWidth?
Thank you.
Paulo
<div id="divRight1stRow" class="float_right" style="padding: 6px;">
<div class="float_right">
<telerik:RadButton Width="25px" Height="26px" ID="btnAdmin" runat="server" Text="Administration" OnClientClicked="btnAdmin_Click">
<Image ImageUrl="~/images/administration_25x26.png"/>
</telerik:RadButton><br />
</div>
<div class="float_right">
<telerik:RadButton Width="75px" Height="26px" ID="btnLogout" runat="server" Text="Logout" OnClick="btnLogout_Click" CssClass="margin_right">
<Image ImageUrl="~/images/logout_v1_75x26.png" />
</telerik:RadButton><br />
</div>
<div class="float_right">
User: <asp:Label ID="lblUserName" runat="server" Text="" CssClass="margin_right"></asp:Label>
</div>
<div class="float_right">
<asp:Label ID="LblDept" runat="server" Text="Department: " CssClass="margin_right"></asp:Label>
<telerik:RadComboBox ID="RadCbBoxDepts" runat="server" AutoPostBack="true" OnSelectedIndexChanged="RadCbBoxDepts_SelectedIndexChanged1" CssClass="margin_right">
</telerik:RadComboBox>
</div>
</div>
The problem is I do not see the buttons until i mouse over the area. Any Ideas what is going on?
| <telerik:RadToolTip ID="rttConfigPanel" runat="server" Modal="true" ShowCallout="true" |
| ShowDelay="0" HideDelay="500" HideEvent="ManualClose" Title="Widget Configuration" |
| ShowEvent="FromCode" TargetControlID="tabLayoutTabs"> |
| <iframe id="iFrameConfigPanel" src=""></iframe> |
| </telerik:RadToolTip> |
| function showToolTip(sender, args) { |
| // cause the tooltip to appear near the command icon that triggered it |
| var tooltip = $find("<%=rttConfigPanel.ClientID %>"); |
| tooltip.set_targetControl(args.Command.get_element()); |
| tooltip.show(); |
| // send a fresh querystring to the config panel so it doesn't load from cache |
| var sURL = "WidgetConfigPanel.aspx"; |
| var oDate = new Date(); |
| var iframe = document.getElementById("iFrameConfigPanel"); |
| sURL = sURL + "?id=" + args.Command.get_name(); |
| sURL = sURL + "&RandomNumber=" + oDate.getHours() + "-" + oDate.getMinutes() + "-" + oDate.getMilliseconds(); |
| iframe.src = sURL; |
| } |
| Dim cmd As New DockCommand() |
| cmd.CssClass = WidgetCommandIconCssClasses.CommandConfig |
| cmd.Name = WidgetCommands.ConfigPanel + View.LayoutDockId.ToString() |
| cmd.AutoPostBack = False ' this command is handled on the client |
| cmd.OnClientCommand = "showToolTip" |
| cmd.Text = "Configuration Panel" |
<body>
<form id="form1" runat="server">
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
<Scripts>
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
</Scripts>
</telerik:RadScriptManager><br>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"></telerik:RadAjaxManager>
<div style="height:100%">
<telerik:RadSplitter runat="server" ID="spltReviewerMain" Orientation="Vertical" ResizeWithBrowserWindow="true" LiveResize="false" PanesBorderSize="0" ResizeWithParentPane="true" SplitBarsSize="0" BorderStyle="None" BorderSize="0" Width="100%" Height="800">
<telerik:RadPane ID="pnLeft" runat="server" Height="100%">
<telerik:RadPanelBar runat="server" BorderColor="Transparent" ID="RadPanelBar2" >
<Items>
<telerik:RadPanelItem Expanded="True" BorderColor="Transparent" runat="server" ID="pnlItemTasks" Text="text" Width="100%">
<ContentTemplate>
<telerik:RadTreeView runat="Server" ID="RadTreeView1" ShowLineImages="false" EnableViewState="true">
<Nodes>
<telerik:RadTreeNode Text="test1" runat="server"></telerik:RadTreeNode>
<telerik:RadTreeNode Text="test123" runat="server"></telerik:RadTreeNode>
<telerik:RadTreeNode Text="test112345" runat="server"></telerik:RadTreeNode>
</Nodes>
</telerik:RadTreeView>
</ContentTemplate>
</telerik:RadPanelItem>
</Items>
</telerik:RadPanelBar>
</telerik:RadPane>
<telerik:RadSplitBar runat="server" ID="spltBarLeft" CollapseMode="Forward" Width="100%" />
<telerik:RadPane Locked="false" runat="Server" ID="pnRight" Width="70%" Height="100%">
<table width="99%" frame="box" border="0px" style="height: 99%">
<tr>
<td valign="top" colspan="2" align="center" class="style1">
<asp:Label ID="DocName" runat="server" Text=""></asp:Label>
</td>
</tr>
<tr>
<td colspan="2" height="94%">
<iframe runat="server" id="frShowDocs" height="100%" width="100%" borderstyle="Inset" style="position: relative;" visible="true" src="http://localhost:58070/IframeInnerPage.aspx" borderwidth="1px"></iframe>
</td>
</tr>
</table>
</telerik:RadPane>
</telerik:RadSplitter>
<span class="Apple-tab-span" style="white-space:pre"> </span>
</div></form></body>