RadEditor in RadGrid inside user control

4 posts, 1 answers
  1. Şener
    Şener avatar
    2 posts
    Member since:
    Feb 2013

    Posted 17 Jul 2013 Link to this post

    There is a RadEditor in RadGrid inside user control. When using ajaxmanager in page and ajaxify grid, radeditor content not updating with new value in ie 9.0.8 (in firefox there is no problem). İf I use radgrid in page there is no problem everything is ok in ie.
  2. Answer
    Niko
    Admin
    Niko avatar
    404 posts

    Posted 18 Jul 2013 Link to this post

    Hello,

    It is very likely that the issue that you are experiencing is the one described by the following blog post - http://www.telerik.com/support/kb/aspnet-ajax/editor/radeditor-content-not-saved-after-ajax-update-in-ie9-firefox-google-chrome-and-safari.aspx. Please, not the specific section on Editor within a RadGrid at the end of the same blog post.
    If that does not improve the behavior, then I would advise you to open a support ticket and send a simple runnable project showing only the problem that you are experiencing with minimum external dependencies. That way we can check it in more details and figure out what is causing the issue.

    Hope this helps.

    Regards,
    Niko
    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. Paul
    Paul avatar
    17 posts
    Member since:
    May 2011

    Posted 22 Jul 2013 Link to this post

    This is also happening to me.

    We are using a RadGrid inside a user control that is dynamically loaded.

    The RadGrid uses EditMode=Popup which also uses a user control.

    The save button inside the popup usercontrol is an imagebutton.

    I tried adding the following as suggested in the link.

    OnClientClick="javascript:__doPostBack(this.id,'');return false;"

    When it posts the content is empty. Other controls, like RadTextBox and RadComboBoxes are working just fine.

    Is this a bug in the latest build as it never used to happen?

    Regards, Paul.
  4. Slav
    Admin
    Slav avatar
    1359 posts

    Posted 25 Jul 2013 Link to this post

    Hi Paul,

    If the user control with the RadGrid is inserted on the page from the code-behind, please ensure that it is done on Page_Init. Using a page life cycle event that is fired later for this purpose could result in the grid and its content not being initialized properly.

    I have attached a sample page that has a setup similar to the one you described. Please check it and use it to configure the RadGrid and the RadEditior on your end. If there are differences in the setup, compared to your actual project, I would suggest modifying it in order to reproduce the problem and send it back for further inspection.

    Regards,
    Slav
    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