Does not work on iPad/iPhone

25 posts, 0 answers
  1. Hordur Smari Johannesson
    Hordur Smari Johannesson avatar
    1 posts
    Member since:
    Sep 2009

    Posted 09 Apr 2010 Link to this post

    Hi,
    I'm using the RadEditor on our website.  When I browse to it on an iPad and I try to enter text the onscreen keyboard doesn't pop up.

    The iPad uses Safari which is listed as supported for RadEditor...

    Anyone solved this problem?
  2. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 09 Apr 2010 Link to this post

    Hi Hordur,

    The content area of RadEditor is an editable IFRAME which uses the Rich Text Editing engine of the browser to edit content. Unfortunately the Safari browser used in iPad does not offer a rich text editing engine as the Safari browser used in iPhone. Please, see this KB article for more information: Support for iPhone / iPad browser.

    You can find the iPad User Agent String in Google, check whether the iPad Safari browser is used and replace RadEditor with a standard TextBox in this browser.

    Regards,
    Rumen
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 30 May 2010 Link to this post

    I just noticed this problem as well

    Would it be doable to perhaps have the editor detect the browser\mobile version and display it for us instead of having to code that everytime we put a RadEditor on the page?  I realize it could cause some issues with trying to display bound data, but could it just be a property to enable and let us worry about that? :)...I just want it for comment boxes, etc...

    ...because it also breaks these forums as well...I had to pop back to my PC to reply to this thread.
  5. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 31 May 2010 Link to this post

    Hi Steve,

    Thank you for your feature request. I logged it for consideration in our PITS system and if more users request it we will integrate the code in the editor and provide a property.


    Best regards,
    Rumen
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  6. Dean
    Dean avatar
    17 posts
    Member since:
    Jan 2008

    Posted 08 Jun 2010 Link to this post

    The link referenced to the KB article is broken.  Can someone provide a new link?
  7. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 09 Jun 2010 Link to this post

    We fixed the link URL - it had an extra "http" in the beginning.

  8. Luis Barahona
    Luis Barahona avatar
    23 posts
    Member since:
    Feb 2005

    Posted 25 Aug 2010 Link to this post

    Hi,
    We are giving our users IPads and while testing the system (has 500 users) we have also realized that the RadEditor doens't work, we have use Rad Editor througho out all the application, I believe Telerik should take in consideration Steve's idea on having RadEditor to detect the browser and display the textbox...
    thanks, and please let me know if there is any other approach to fix this issue.

    best regards,

    Luis
  9. debett
    debett avatar
    30 posts
    Member since:
    Feb 2007

    Posted 25 Aug 2010 Link to this post

    We have the same issue. I support the aforementioned idea since going through all the applications and all pages is close to impossible.
  10. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 26 Aug 2010 Link to this post

    Hi guys,

    Could you please vote for this feature in the following PITS item: http://www.telerik.com/support/pits.aspx#/public/aspnet-ajax/2284? This will increase the priority of this task and the chance to be integrated in the RadEditor's source.

    All the best,
    Rumen
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  11. Brad Harrison
    Brad Harrison avatar
    5 posts
    Member since:
    Jul 2009

    Posted 09 Mar 2011 Link to this post


    Other than purchasing an iPad and iPhone, does anyone know of an emulator that runs on a Windows PC that will accurately simulate RadEditor operation on iPad/iPhone?

    I'm using the latest Telerik versions, but am getting iPad support calls.
  12. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 10 Mar 2011 Link to this post

    Hi,

    An iPad/iPhone simulator is only available as part of the iOS SDK for Mac OS X. There is no emulator available for Windows. As for the RadEditor support - the current (Q3 2010) version of the controls will fallback to a normal textbox on iOS devices, because there is no support for rich text editing on the iPhone/iPad browser.

    All the best,
    Lini
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  13. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 10 Mar 2011 Link to this post

    Hey Lini,
     I think there might be a bug with it on your forums here...

    I mean it works, but isn't showing any line-breaks once saved.  So if I type a few paragraphs of text and use enter to space them out, when I save and it renders on the page it's one LOOOONG string.  But if I edit again, the content still has it's breaks...perhaps whatever code the breaks are in the textbox needs to be converted to html?

    Steve
  14. Brad Harrison
    Brad Harrison avatar
    5 posts
    Member since:
    Jul 2009

    Posted 11 Mar 2011 Link to this post

    I think I have more information about what is happening.

    I went into my project and set EnableTextareaMode="true" on the RadEditor. (to simulate what happens on iPad I hope)

    My working project then fails on on the following JavaScript code:

                ...
                var editor = $find("<%=RadEditor1.ClientID%>")
                editor.set_html($get(tmpHid).value);
                ...
                editor.setFocus();

    After the first line of code, I'm getting an error that says "editor" is null.

    Would appreciate any advice on how best to resolve. Thanks!
  15. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 11 Mar 2011 Link to this post

    Hello,

    I think the problem happens because when the editor renders as a textarea there is no client object to access - no scripts or skins are loaded in the browser. You will need to add a check in your script and access the editor textarea directly in this case:

    var editor = $find("<%=RadEditor1.ClientID %>");
    if (!editor)
    {
        editor = $get("<%=RadEditor1.ClientID %>TextArea");
        editor.value = $get(tmpHid).value;
    }
    else
    {
        editor.set_html($get(tmpHid).value);
        //... editor.setFocus();
    }

    Kind regards,
    Lini
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  16. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 11 Mar 2011 Link to this post

    Hey Lini,
      Could this somehow be handled in your client scripts...I cringe at the idea of having to do this for EVERY radeditor I use (becasue you never know when someone might want to use mobile)

    Steve
  17. Brad Harrison
    Brad Harrison avatar
    5 posts
    Member since:
    Jul 2009

    Posted 11 Mar 2011 Link to this post

    I guess I will second Steve's comment. 

    It's great that RadEditor automatically detects the iPad/iPhone and adjusts but it's not really a complete solution if the API changes in the process.

    I still really appreciate the quick response. ... I will attempt the workaround for now.

    Brad

    UPDATE:  When the RadEditor is in "ipad" mode, an attached RadSpell fails as well.
     <telerik:RadSpell ID="RadSpell1" runat="server" ControlToCheck="RadEditor1"

     

      .....

    What a pain.  (And I blame the iPad / iPhone for causing the extra work)
     


  18. Dave McCall
    Dave McCall avatar
    11 posts
    Member since:
    Apr 2004

    Posted 12 Jun 2011 Link to this post

    Blackbaud labs offers an iPod/iPad simulator that runs in adobe flex. It isn't perfect, but it kind of works. I bet it won't have the problem discussed here. Btw, ironically, I went to vote for this feature just now in the pits system on my iPad, but it doesn't support the iPad either.
  19. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 12 Jun 2011 Link to this post

    Yeah, PITS is silverlight (so might as well be flash)

    HOWEVER...

    RadEditor now works on iPad partially...enough to be functional.  It'll automatically replace the RadEditor with a plan textarea...however at the moment it doesn't seem to respect or convert line-breaks.  So you see the breaks on your iPad editor, but on publish it's just one giant wall of text...go back to edit mode, and they're all there again.
  20. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 13 Jun 2011 Link to this post

    Hi Steve,

    The line-breaks in the textarea are not valid HTML tags and they are not rendered when the content is rendered outside of the textarea.  You should type manually <br /> tags if you want to render the line breaks outside of the content area.
    Another option that you can try is to replace /r/n symbols with <br /> tags when obtaining the content via the Content property.

    Best wishes,
    Rumen
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  21. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 13 Jun 2011 Link to this post

    @Rumen
      Yes I understand, you would be correct...however I believe that that should be something the editor inherently does for us as content entered by a mobile user would differ from that of a regular user...the intent is to have seamless functionality from both devices, and you guys went to all the trouble of putting this in anyway...can you go a little farther and parse the line breaks too? :)

    See here's the thing too...this editor I am typing in right now on teleriks website doesn't even do what you describe...doesn't do any replacing, just one wall of text if I post in my iPad.  So if you fix it in the Editor, then it gets fixed everywhere the editor is used automatically instead of having to find every bloody instance of the editor and check if there's any parsing going on before saving back to the DB.
  22. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 15 Jun 2011 Link to this post

    Hello Steve,

    Thank you for your feedback and future request.

    I logged it in our PITS system and if more users vote for it we will consider its implementation. Here you can find the PITS Issue: Public URL.

    Best regards,
    Rumen
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  23. Piyushkumar
    Piyushkumar avatar
    25 posts
    Member since:
    Nov 2010

    Posted 02 Aug 2013 Link to this post

    I am facing similar issue on IOS 4, IPAD Tablet.

    All text appear as HTML

    Telerik says IOS 4 does not support rich text - but JQuery works with IOS 4
         http://jqueryte.com/demos

  24. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 06 Aug 2013 Link to this post

    Hi Piyushkumar,

    I see you have a separate thread on that question and you are already communicating with my colleague Misho in it, so I suggest you questions continues there: http://www.telerik.com/community/forums/aspnet-ajax/editor/rad-editor-with-iphone-ios-version-below-5-o.aspx.


    Regards,
    Marin Bratanov
    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.
  25. Christian
    Christian avatar
    7 posts
    Member since:
    May 2013

    Posted 21 Mar 2014 in reply to Piyushkumar Link to this post

    Just as a side note, this is not an issue with the iPad as much as it is an issue with the browser.  I have tried the browser app iCabMobile with some success using the Telerik editor.  I do not have my iPad with me right now, but there were one or two other browser apps that also worked.  I was even able to get the toolbar to show up with at least one of them.

    If you are interested I can get the names of the others.
    thx,
    Christian
  26. Dimitar
    Admin
    Dimitar avatar
    281 posts

    Posted 25 Mar 2014 Link to this post

    Hi Christian,

    It would be great if you share your findings about different iOS browsers compatible with the RadEditor.

    And as long as RadEditor running on the recently mostly used iOS 6 and iOS 7 Safari is concerned, it provides smooth typing and a great variety of text editing options. You can try it yourself on the RadEditor Overview demo that provides a wide range of customization, exploring the RadEditor's features.

    Regards,
    Dimitar
    Telerik
     

    Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

     
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017