<
rad:RadEditor ID="ed1" ToolbarMode="ShowOnFocus" runat="server"/>
When the editor is clicked, the toolbar shows as a vertical line and none of the tools are shown. The same code works fine (toolbar shows as expected) when the editor is not inside a TabPanel.
How do I fix this issue? Thanks.
| protected void MyRadGrid_ItemInserted(object o, GridInsertedEventArgs e) |
| { |
| if (e.Exception != null) |
| { |
| e.ExceptionHandled = true; |
| //Error messsage here |
| } |
| else |
| { |
| GridEditableItem An_item = (GridEditableItem)e.Item; |
| int The_data_key = int.Parse(An_item.GetDataKeyValue("Id").ToString()); |
| } |
| } |

<script type="text/javascript" language="javascript">
var grid;
var i;
function GridCreated()
{
grid = this;
}
function HierarchyExpanding(sender, args)
{
PerformAction(grid.MasterTableView)
if (i != 1000)
{
if(!confirm("Are you sure you want to expand without update?"))
{
args.set_cancel(true);
}
else
{
$find("<%= RadGrid1.MasterTableView.ClientID %>").collapseItem(i);
}
)
}
function PerformAction(tableview)
{
i = 1000;
for (var j=0; j < tableview.Rows.length; j++)
{
if ($find("<%= RadGrid1.MasterTableView.ClientID %>").get_dataItems()[j].get_expanded())
{
i=j;
}
}
}
</script>
And this is my radgrid:
<telerik:RadGrid ID="RadGrid1" Skin="Default" runat="server" ShowStatusBar="true"
Width="95%" AutoGenerateColumns="False" PageSize="5" AllowSorting="True" AllowMultiRowSelection="True"
AllowPaging="True" GridLines="None" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True">
<PagerStyle Mode="NumericPages" />
<ClientSettings>
<Selecting AllowRowSelect="true" />
<ClientEvents OnGridCreated="GridCreated" OnHierarchyExpanding="HierarchyExpanding" />
</ClientSettings>
<MasterTableView Width="100%" HierarchyLoadMode="Client" .....
Thanks in advance.
I've also got this error when I've been dragging a row and moved the mouse over a Telerik Report Viewer control (not actually dropped it on the control, but just dragged over).
I've also seen it when I click in a Text Box that is part of a Templated Column of a Grid after I've done a drag and drop on the Grid.
-Stephen