I have a strange behaviour of a splitter with two panes. The structure of my master page is:
<div class="size-wide main-container"> <telerik:RadSplitter ID="RadSplitterMain" runat="server" Orientation="Vertical" Width="100%" Height="100%" LiveResize="false" ResizeMode="Proportional">
<telerik:RadPane ID="RadPaneMenu" runat="server" MinWidth="0" MaxWidth="250" Width="250" Scrolling="X">
<div class="menu-left">
<wpc:wpcMenu ID="Menu" runat="server" />
</div>
</telerik:RadPane>
<telerik:RadSplitBar ID="RadSplitBarMain" runat="server" CollapseMode="Forward">
</telerik:RadSplitBar>
<telerik:RadPane ID="RadPaneContent" runat="server" ShowContentDuringLoad="false" Width="100%" Height="100%">
<div>
<asp:ContentPlaceHolder ID="MainContent" runat="server">
</asp:ContentPlaceHolder>
</div>
</telerik:RadPane>
</telerik:RadSplitter>
</div>
When the page load, I have the right part of the splitter, the RadPaneContent for main content, that is visualized for an instant very little, with the scroll bar visible and the page sizes that is not maximized, but it's very little both in width and heigth.
After one second the size of the pane is rendering good, but for an instant I saw the pane that is not opened and it's very small, with the scroll bars visibile, close to the splitt bar.
Is this behaviour due to the risizemode or some other attribute that I have to set on the splitter / Pane controls ?
In the Master page I have also an header over and a Footer under the main div.
Please let me Know it is possibile to fix this problem. I'm not able to fix this problem of rendering. This happens in all browser.
Kind Regards.
Vittorio Morellini
We have a button on our toolbar that should simply surround selected content with a <div> tag.
Telerik.Web.UI.Editor.CommandList["Test"] = function (commandName, editor, args) {
if (editor.getSelectionHtml() !== "") {
var content = editor.getSelectionHtml();
editor.pasteHtml("<
div
>" + content + "</
div
>");
args.set_cancel(true);
}
else {
alert("Please, select some text!");
args.set_cancel(true);
}
};
But when this is applied to anything that starts with an HTML tag, specifically <em>, <strong>, or <sup>, then it applies the <div> tag, but then surrounds the entire div with whatever the starting HTML tag is.
For Example,
<em>gnomes</em>: imaginary creatures
should become:
<div><em>gnomes</em>: imaginary creatures</div>
but instead becomes:
<em>
<div><em>gnomes</em>: imaginary creatures
</div>
</em>
We really don't want the entire phrase in italics. This is especially annoying with superscripts since it places everything in a superscript.
We are using the latest version of the tools. This happens consistently across Firefox, Chrome, and Opera.
How can we just surround the selected text with a <div> without surrounding the entire thing with additional HTML tags?
Hi,
Does anyone know how to set the tab direction to down? For example after edit the user will press Enter Key. I need the next cell selected to be down instead of right.
Thanks,
Jerry
I have a Scheduler control that implements a custom appointment BackColor for each specific user. The color works fine when in Day view or Week view, but when I switch to Agenda view the color doesn't show up. I'm using the Metro skin. I can't seem to find anything in the .rsAgendaView style that seems to be preventing the BackColor from working. When I test with ForeColor it works fine.
Protected
Sub
rsMeetings_AppointmentDataBound(
ByVal
sender
As
Object
,
ByVal
e
As
Telerik.Web.UI.SchedulerEventArgs)
Handles
rsMeetings.AppointmentDataBound
Dim
dc
As
String
If
e.Appointment.Attributes.Item(
"StaffEmployeeID"
).ToString <>
Nothing
Then
dc = GetAppointmentColor(e.Appointment.Attributes.Item(
"StaffEmployeeID"
).ToString)
e.Appointment.BackColor = System.Drawing.Color.FromName(dc)
'e.Appointment.ForeColor = System.Drawing.Color.FromName(dc)
End
If
End
Sub
Hi,
I have a simple form as
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<div>
<asp:PlaceHolder runat="server" ID="tbl_holder" />
</div>
</form>
and code behind as
tbl_holder.Controls.Clear();
Table tbl = new Table();
tbl.Width = Unit.Percentage(98);
tbl.ID = "tbl_ID";
TableHeaderRow tr = new TableHeaderRow();
tr.VerticalAlign = VerticalAlign.Top;
TableHeaderCell tc = new TableHeaderCell();
Label lbl_test = new Label();
lbl_test.ID = "lbl_1" ;
lbl_test.Width = Unit.Pixel(50);
lbl_test.Text = "task 1";
RadToolTip test_tooltip = new RadToolTip();
test_tooltip.ID = "test_tip_1" ;
test_tooltip.TargetControlID = "lbl_1";
test_tooltip.IsClientID = true;
test_tooltip.Text = "test 1 tooltip";
test_tooltip.Position = ToolTipPosition.TopRight;
test_tooltip.Width = Unit.Pixel(300);
test_tooltip.Height = Unit.Pixel(40);
test_tooltip.RenderInPageRoot = true;
test_tooltip.Skin = "WebBlue";
tc.Controls.Add(test_tooltip);
tc.Controls.Add(lbl_test);
tr.Cells.Add(tc);
tbl.Rows.Add(tr);
tbl_holder.Controls.Add(tbl);
The tooltip appears in 100% zoom mode, but If I increase zoom to 125%, tooltip does not appear. I tested in IE11.
Thanks for your help.
Hi,
I have a grid with editmode set to Batch. I save grid changes in the UpdateCommand event. This event doesn't fire if no changes have been made, but there is still a postback. How do I force this event to always fire when the "Save Changes" button is selected? I need to update some related values outside the grid.
Thanks In Advance!
Jerry
I have a radgrid which is programmatically binding inside needDataSource event. Additionaly I set two parameters for columns inside columnCreated event:
boundColumnFilter.AutoPostBackOnFilter = true;
boundColumnFilter.CurrentFilterFunction = GridKnownFunction.Contains;
Filters are enabled of course. I would like filtering data after press enter key but it doesn't work (nothing happen after press enter).
If I configure radgrid manually in aspx with parameters like above everything works well. Do you have any sugestion?