IE8 issue when inserting flash and media

10 posts, 0 answers
  1. Anil
    Anil avatar
    7 posts
    Member since:
    Sep 2008

    Posted 30 Oct 2013 Link to this post

    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
  2. Ianko
    Admin
    Ianko avatar
    1940 posts

    Posted 31 Oct 2013 Link to this post

    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.
  3. Anil
    Anil avatar
    7 posts
    Member since:
    Sep 2008

    Posted 31 Oct 2013 Link to this post

    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
  4. Ianko
    Admin
    Ianko avatar
    1940 posts

    Posted 01 Nov 2013 Link to this post

    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.
  5. Anil
    Anil avatar
    7 posts
    Member since:
    Sep 2008

    Posted 01 Nov 2013 Link to this post

    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
  6. Ianko
    Admin
    Ianko avatar
    1940 posts

    Posted 04 Nov 2013 Link to this post

    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.
  7. Anil
    Anil avatar
    7 posts
    Member since:
    Sep 2008

    Posted 04 Nov 2013 Link to this post

    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
  8. Ianko
    Admin
    Ianko avatar
    1940 posts

    Posted 05 Nov 2013 Link to this post

    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.
  9. Anil
    Anil avatar
    7 posts
    Member since:
    Sep 2008

    Posted 05 Nov 2013 Link to this post

    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
  10. Ianko
    Admin
    Ianko avatar
    1940 posts

    Posted 06 Nov 2013 Link to this post

    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.
Back to Top