This is a migrated thread and some comments may be shown as answers.

IE8 issue when inserting flash and media

9 Answers 29 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Anil
Top achievements
Rank 1
Anil asked on 30 Oct 2013, 07:33 PM
When inserting flash or media in IE8, its adding two attributes (i.e. originalAttribute and originalPath) twice into the embed element, which is creating problem in rending the content. This error will occur when disabling EditorFilters.ConvertToXhtml filter. Is there any workaround for this problem?

FYI here is the generated markup:

<OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 width=150 height=150>

<param name="Movie" value="/admin/static/qa3/usermedia/FrogLifeCycle.swf"/>
<param name="play" value="true"/>
<param name="quality" value="high"/>
<param name="wmode" value="transparent"/>
<param name="loop" value="false"/>
<param name="menu" value="false"/><embed src="/usermedia/FrogLifeCycle.swf" originalAttribute="src" originalPath="/usermedia/FrogLifeCycle.swf" originalAttribute="src" originalPath="/usermedia/FrogLifeCycle.swf" width="150" height="150" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" wmode="transparent" loop="false" menu="false"></embed></OBJECT>


Thanks

9 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 31 Oct 2013, 12:13 PM
Hello Anil,

I tried to reproduce the problem, but to no avail. Could you please try to use this online demo and see if the same issue is occurred. 

If it happens that you are unable to reproduce it, I would suggest upgrading to the latest available version of RadControls.

Regards,
Ianko
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Anil
Top achievements
Rank 1
answered on 31 Oct 2013, 04:17 PM
Lanko,

I tested with Q3 2013 but I'm still able to reproduce it. Not sure why its not reproducible in your demo site (http://demos.telerik.com/aspnet-ajax/editor/examples/builtincontentfilters/defaultcs.aspx).

FYI I simply add this in aspx file:

<telerik:RadEditor ID="RadEditor1" Runat="server">
 </telerik:RadEditor>

And here are the lines in code behind:

const string radEditorFilePath = @"~/UserMedia/";

RadEditor1.SetPaths(new[] { radEditorFilePath }, EditorFileTypes.Documents, EditorFileOptions.All);
RadEditor1.SetPaths(new[] { radEditorFilePath }, EditorFileTypes.Flash, EditorFileOptions.All);
RadEditor1.SetPaths(new[] { radEditorFilePath }, EditorFileTypes.Images, EditorFileOptions.All);
RadEditor1.SetPaths(new[] { radEditorFilePath }, EditorFileTypes.Media, EditorFileOptions.All);
RadEditor1.SetPaths(new[] { radEditorFilePath }, EditorFileTypes.Template, EditorFileOptions.All);

RadEditor1.DisableFilter(EditorFilters.ConvertToXhtml);

Do you have any thought why I'm having this problem.

Thanks,
Anil
0
Ianko
Telerik team
answered on 01 Nov 2013, 10:54 AM
Hello Anil,

I am attaching the sample project, which is implemented correspondingly to the provided code. With it I am still unable to reproduce the problem. Please review this screencast and the project, and let me know if I am missing something of importance.

Regards,
Ianko
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Anil
Top achievements
Rank 1
answered on 01 Nov 2013, 04:11 PM
Lanko, looks like you're using Chrome (as per the screencast) but the problem is in IE8. Chrome and other browsers are working correctly. Please check this in IE8. I think you should be able to reproduce this.

Thanks,
Anil
0
Ianko
Telerik team
answered on 04 Nov 2013, 01:32 PM
Hello Anil,

Please accept my apologize for not sending you the screencast under IE8. Please follow this link for it.

Regards,
Ianko
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Anil
Top achievements
Rank 1
answered on 04 Nov 2013, 05:16 PM
Lanko, you are only displaying design and preview in your screencast, which is working for me too. Can you check the html view. I'm having problem with the HTML as mentioned in my previous post. So, when I save that HTML and later reload into different page, it's not working.

Thanks,
Anil
0
Ianko
Telerik team
answered on 05 Nov 2013, 04:08 PM
Hi Anil,

It would be helpful if you could try reproducing the problem with the project, that I have provided in my first message, so that you could investigate if there is something wrong with it and get back to me with the detail steps leading to it.

If the problem is not reproducible, please modify the project to the point that the problem occurs and get back to me with it, so that I could find why the mentioned problem occurs. 

Regards,
Ianko
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Anil
Top achievements
Rank 1
answered on 05 Nov 2013, 07:14 PM
Lanko,

I can now reproduce this in your online demo (http://demos.telerik.com/aspnet-ajax/editor/examples/builtincontentfilters/defaultcs.aspx) as well. Please check this screencast: 

http://screencast.com/t/taIY4LyNSOm

Let me know if you need more info.

FYI in my previous test I only uncheck ConvertToXhtml but didn't click on "Set Build-In Filters" button due to which its working correctly.

Thanks,
Anil
0
Ianko
Telerik team
answered on 06 Nov 2013, 12:21 PM
Hello Anil,

Thank you for getting back to me.

I logged the described issue as a bug report. You can follow this feedback portal item to track its status, vote or comment.

As appreciation for this feedback I am updating your Telerik points.

Currently I can suggest enabling the ConvertToXhtml filter as a workaround

Regards,
Ianko
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Editor
Asked by
Anil
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Anil
Top achievements
Rank 1
Share this question
or