Hi,
I am pasting a sample html using editor.Pastehtml method in sitecore 8.1 Rich text editor and it removes iframe tags after pasting. It works in few scenarios like
1. when the editor is empty.
2. When we paste at the end of the entire html.
3. It works when there is one frame tag, but when there are two it removes both and pastes the left out.
Below is the sample html that i am trying to paste to the editor.
"<div class="root"><p class="article-exhibit__header iframe-header_57aa38e436cf474fa4eaeaa77c7fb05d">header</p> <p class="article-exhibit__title iframe-title_57aa38e436cf474fa4eaeaa77c7fb05d">title</p> <div class="iframe-component"> <div class="iframe-component__desktop ewf-desktop-iframe_57aa38e436cf474fa4eaeaa77c7fb05d" data-mediaid="57aa38e436cf474fa4eaeaa77c7fb05d" data-embed-link="enabled"> <iframe width="560" height="315" src="https://www.youtube.com/embed/x56ipAMMmLA" frameborder="0" class="ewf-desktop-iframe_57aa38e436cf474fa4eaeaa77c7fb05d"></iframe> </div> <div class="iframe-component__mobile ewf-mobile-iframe_57aa38e436cf474fa4eaeaa77c7fb05d" data-embed-link="enabled"> <iframe width="560" height="315" src="https://www.youtube.com/embed/x56ipAMMmLA" frameborder="0" class="ewf-mobile-iframe_57aa38e436cf474fa4eaeaa77c7fb05d"></iframe> </div> </div> <p class="article-exhibit__caption iframe-caption_57aa38e436cf474fa4eaeaa77c7fb05d">caption</p> <p class="article-exhibit__source iframe-source_57aa38e436cf474fa4eaeaa77c7fb05d">source</p> </div>"
Can anyone help me with this? Please let me know if you need any other information.
Hi,
I want to keep Tasks reordering (up/down), which is a great feature. But I don't want tasks to be added as a child tasks during this order.
Is it possible to keep the task reorder, but to disable "Drop over certain task and make it a child task." ?
We are using the RadScheduler to view and manipulate the doctors appointment list.
In day view we want to show the patient name and also som detailed information - neatly organised as in multiple columns.
We have tried using formating options for the Appointment.Description like "{0}\t{1}\t" and "{0,30} {1,10}" which doesn't seem to help.
Our goal is to see appointment organised like this:
09:20 JACK NICHOLSON 22.04.1937 GPO YYN
09:40 LINDA BLAIR 22.01.1959 KL YN
What we get is this:
09:20 JACK NICHOLSON 22.04.1937 GPO YYN
09:40 LINDA BLAIR 22.01.1959 KL YN
Is there a way to make the string formatting work as expected (simplest) or to add string objects with predefined width to the appointments (more complex).
Best regards,
Gunnar
Hello,
I am wondering how to use a RadListBox control with the Filter Template in a RadGrid? I looked at the demos for filtering but did not see any for how to handle the multiple selections of a RadListBox control. Would anyone be able to point me in the right direction as far as documentation?
Thanks!

Hello,
I have a RadGrid that is using the Header Context filtering and I am trying to bind the list boxes, but I received this kind of error:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compilation Error Message: BC30456: 'radGrid1_FilterCheckListItemsRequested" is not a member of 'ASP.cad_cadlog_aspx'.
I'm following everything that the Telerik demo for Excel-filtering says to include, but I receive the above error regardless. I've copy/pasted what the event name is and everything. Still no luck. Here is my RadGrid code:
<Telerik:RadGrid ID="radGrid1" runat="server" ShowFooter="true" Width="100%" Height="650px" Visible="true" DataSourceID="dsCADLog" AllowFilteringByColumn="true" FilterType="HeaderContext" EnableHeaderContextMenu="true" EnableHeaderContextFilterMenu="true" OnFilterCheckListItemsRequested="radGrid1_FilterCheckListItemsRequested">I have manually created RadGrids based on data. The grids create just fine but I don't know how to add the sorting and pagination to a DYNAMICALLY created RadGrid.
Here is my RadGrid creation code:
Private Function CreateGrid(ByVal strLine As String) As RadGrid
Dim rg As New RadGrid
rg.ID = strLine rg.Width = Unit.Percentage(280) rg.PageSize = 40 rg.AllowPaging = True rg.PagerStyle.Mode = GridPagerMode.NextPrevAndNumeric rg.PagerStyle.AlwaysVisible = True rg.MasterTableView.PagerStyle.AlwaysVisible = True rg.AutoGenerateColumns = False rg.ExportSettings.FileName = strLine Dim boundColumn As GridBoundColumn boundColumn = New GridBoundColumn rg.MasterTableView.Columns.Add(boundColumn) boundColumn.DataField = "Process" boundColumn.HeaderText = "Process" boundColumn.UniqueName = "Process" boundColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Center boundColumn = New GridBoundColumn rg.MasterTableView.Columns.Add(boundColumn) boundColumn.DataField = "Product" boundColumn.HeaderText = "Product" boundColumn.UniqueName = "Product" boundColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Center boundColumn = New GridBoundColumn rg.MasterTableView.Columns.Add(boundColumn) boundColumn.DataField = "Tested" boundColumn.HeaderText = "Tested" boundColumn.UniqueName = "Tested" boundColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Right boundColumn = New GridBoundColumn rg.MasterTableView.Columns.Add(boundColumn) boundColumn.DataField = "Passed" boundColumn.HeaderText = "Passed" boundColumn.UniqueName = "Passed" boundColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Right boundColumn = New GridBoundColumn rg.MasterTableView.Columns.Add(boundColumn) boundColumn.DataField = "Failed" boundColumn.HeaderText = "Failed" boundColumn.UniqueName = "Failed" boundColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Right boundColumn = New GridBoundColumn rg.MasterTableView.Columns.Add(boundColumn) boundColumn.DataField = "Yield" boundColumn.HeaderText = "Yield" boundColumn.UniqueName = "Yield" boundColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Right boundColumn = New GridBoundColumn rg.MasterTableView.Columns.Add(boundColumn) boundColumn.DataField = "Top5" boundColumn.HeaderText = "Top 5 Rejects" boundColumn.UniqueName = "Top5" boundColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Left boundColumn = New GridBoundColumn rg.MasterTableView.Columns.Add(boundColumn) boundColumn.DataField = "TrueFailure" boundColumn.HeaderText = "True Failure?" boundColumn.UniqueName = "TrueFailure" boundColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Center Return rg
End Function
The way I have done it on a project that was NOT dynamically created:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not Page.IsPostBack Then
Session("Report") = CreateTable()
End If
End Sub
Protected Sub rdgAgeReport_PageIndexChanged(sender As Object, e As Telerik.Web.UI.GridPageChangedEventArgs) Handles rdgAgeReport.PageIndexChanged
rdgAgeReport.DataSource = CType(Session("Report"), DataTable)
rdgAgeReport.DataBind()
End Sub Protected Sub rdgAgeReport_PageSizeChanged(sender As Object, e As Telerik.Web.UI.GridPageSizeChangedEventArgs) Handles rdgAgeReport.PageSizeChanged
rdgAgeReport.DataSource = CType(Session("Report"), DataTable)
rdgAgeReport.DataBind()
End Sub