Editor loses its value on postback

48 posts, 1 answers
  1. Igor
    Igor avatar
    24 posts
    Member since:
    May 2013

    Posted 19 Jul 2013 Link to this post

    GOTCHA!
    Thanks to your sample I found the real cause of the grid bug. Now it's your turn to solve it :D

    • I don't think the cause is the medium trust level, in fact if I set medium trust level on my PC, it works.
    • Using GridEditableItem.ExtractValues has no effect, the bug persists    
    • Your sample on my ISP server works

    So I started commenting the tags of my page until it starts working and… the responsible are the validators.

    Take your sample and simply change your ID column to

     

    <telerik:GridBoundColumn DataField="ID" HeaderText="ID">
        <ColumnValidationSettings EnableRequiredFieldValidation="True">
            <RequiredFieldValidator ErrorMessage="*" Display="Dynamic"></RequiredFieldValidator>
        </ColumnValidationSettings>
    </telerik:GridBoundColumn>

     

    It won’t work anymore on my ISP server.
    You can see it yourself, I put your sample (with the validator) on the following link
    http://www.tav-engineering.com/test/WebForm1.aspx
    Remember that now the ID is mandatory

    With Firefox and other browsers it works
    With IE the Label1 is always empty.

    For a double check, here's your sample WITHOUT the validator
    http://www.tav-engineering.com/test/WebForm2.aspx
    This one works with every browser

  2. Radoslav
    Admin
    Radoslav avatar
    1564 posts

    Posted 23 Jul 2013 Link to this post

    Hello Igor,

    Indeed I verified that the described issue exists into the current version of our controls. However it is logged into our bug tracking system and our developers will start working on its resolution. Please excuse us for the temporary inconvenience. Additionally as a small token of gratitude for your involvement I have updated your Telerik points.

    If you need further assistance, do not hesitate to contact us again.

    Regards,
    Radoslav
    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. UI for ASP.NET Ajax is Ready for VS 2017
  4. Igor
    Igor avatar
    24 posts
    Member since:
    May 2013

    Posted 23 Jul 2013 Link to this post

    Thanks
    Igor
  5. Christian Weber
    Christian Weber avatar
    6 posts
    Member since:
    Sep 2012

    Posted 17 Sep 2013 Link to this post

    Hello

    It does not work in Version 2013.2.611.40.
    If my Button is on the same UserControl, i get the content of the RadEditor but the SaveButton is on a masterpage and it calls through an interface the Update Method, all the control values are set except the RadEditor Value (Content Property). It works in FireFox and Chrome but not with IE9 (9.0.8112.16421).

    Best Regards

    Christian
  6. Radoslav
    Admin
    Radoslav avatar
    1564 posts

    Posted 20 Sep 2013 Link to this post

    Hello Christian,

    The described issue is logged into our bug tracking system and I will increase its priority. However we cannot commit to an exact time frame in which this issue will be fixed. Please excuse us for the temporary inconvenience.

    Regards,
    Radoslav
    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. Christian Weber
    Christian Weber avatar
    6 posts
    Member since:
    Sep 2012

    Posted 26 Nov 2013 Link to this post

    Hello

    It is still not fixed, do you have any idea about when it can be fixed? I thought it comes with the Q3 Release but that was not the case.

    Best Regards

    Christian
  8. Daniel
    Daniel avatar
    175 posts
    Member since:
    Feb 2009

    Posted 27 Nov 2013 Link to this post

    Hi guys, this problem definitely exist and only in IE under certain conditions. My scenario is with RadAjxManagerProxy. If I remove the AjaxSetting for the RadButton and RadEditor the issue goes away but of course I loose parts of the page on postback. The weird thing is that I have similar pages without issue but those pages only have one or two AjaxSettings whereas this one have five. It would be nice to fix this but I guess I can rollback to Q2 2013 as it seems to have started when I upgraded to Q3 2013. Thanks. Daniel.
  9. Daniel
    Daniel avatar
    175 posts
    Member since:
    Feb 2009

    Posted 27 Nov 2013 Link to this post

    Update - I just downgraded to 2013_2_717 and the issue has gone. Daniel.
  10. Christian Weber
    Christian Weber avatar
    6 posts
    Member since:
    Sep 2012

    Posted 28 Nov 2013 Link to this post

    Hi Daniel

    Are you sure its working in Version 2013.2.717.40?

    I came with the previous Version of yours 2013.2.611.40 as I wrote in the post. After the Q3 Release I went to the newest Version 2013.3.1114.40 so I skipped the Version of 2013.2.717.40. As I saw your post I decided to go back to 2013.2.717.40 but as I expected, it did not work at all.

    It is kinda frustrating to carry on a bug for 6 months...

    Best Regards
    Chris
  11. Joana
    Admin
    Joana avatar
    70 posts

    Posted 28 Nov 2013 Link to this post

    Hello,

    Could you please have a look at the following KB article -  RadEditor Content Not Saved After Ajax Update in IE9, Firefox, Google Chrome and Safari? Have you tried the solution provided there and could you confirm that it's not working in your scenario? Another solution you may try is to fire the editor.saveContent() client-side method:

    var radEditor = $find("<%=RadEditor1.ClientID%>");
    radEditor.saveContent();
    radEditor.set_html(radEditor.get_html(true));

    If none of the suggested solutions work for your case I suggest that both of you open a support ticket and send us the code of your implementation so we can test and debug it locally. Once we have your sample projects we will do our best to send you a solution as soon as possible.

    Thank you for your patience and I am looking forward to receiving your reply.

    Regards,
    Joana
    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.
  12. Daniel
    Daniel avatar
    175 posts
    Member since:
    Feb 2009

    Posted 28 Nov 2013 Link to this post

    Sorry Chris, I did not see all of your posts and it looks like a slightly different scenario to what we're experiencing. Yes, the version is definitely 2013.2.717.40 and working. I have not tried Joana's work around but will give it a go. Good luck. Daniel.
  13. Igor
    Igor avatar
    24 posts
    Member since:
    May 2013

    Posted 25 Mar 2014 Link to this post

    Sorry to say that problem still persists on the latest 2014 issue of the controls.
    The problem is easily reproducible as mentioned above in my previous posts
    The only solution for me now is to invite my customers to use every browser except IE... not a good solution, but I'm still waiting for a fix.
  14. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 27 Mar 2014 Link to this post

    Hi Igor,

    If the problem is related to saving content of teh RadEditor withing AJAX enabled controls, I would suggest following the KB article provided by Joana. You can find there more information about this matter. If this is the case, I can assure you that this behavior is due to incompatibility issue of the AJAX requests under IE and unfortunately this comes from the browser. In such cases we are unable to resolve such matter, because we cannot change behavior that is provided by the browser.

    Regards,
    Ianko
    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.

     
  15. Igor
    Igor avatar
    24 posts
    Member since:
    May 2013

    Posted 27 Mar 2014 in reply to Ianko Link to this post

    Sorry, it does not seem my case.
    The problem regards only IE used with a RequiredFieldValidator.
    I provided an example to reproduce the bug in May 2013 and Radoslav (look some posts above) answered me that it will be solved.
  16. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 28 Mar 2014 Link to this post

    Hello Rikard,

    I reached my college Radoslav. The mentioned bug has been planed to be resolved for the upcoming release of the Telerik UI for ASP.NET AJAX (2014 Q1 SP1) which will be available after the 2nd of April. I recommend trying the same scenario the after upgrading with the mentioned version.

    Regards,
    Ianko
    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.

     
  17. Samantha
    Samantha avatar
    2 posts
    Member since:
    Jun 2014

    Posted 09 Jun 2014 in reply to Rumen Link to this post

    Hi Rumen,
    I am having the same issue.  We are using Visual Studio 2008 c# and Telerik 2010.  I downloaded the ddl you posted and tried it in our program.  We receive the following error when running the application with the AjaxControlToolKit.dll i downloaded.

    Could not load file or assemolToolkit' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. 
  18. Samantha
    Samantha avatar
    2 posts
    Member since:
    Jun 2014

    Posted 09 Jun 2014 in reply to Rumen Link to this post

    Hi Rumen,

    We are having the same issue.  We are using Viual Stdio 2008 with c#.  We are running Telerik 2010.  I tried adding the AjaxControlToolkit.dll but we get this error when using the toolkit.

    Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

    All help extremely appreciated.
  19. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 10 Jun 2014 Link to this post

    Hi Rikard,

    From the described behavior is more likely this problem to be related to the AjaxControlToolkit suite used and not the Telerik one.

    If this is so, note that Telerik controls are built within the Telerik.Web.UI library. About matters related to the AjaxControlToolkit library it is suggested to ask in forums related to AjaxControlToolkit.

    Nevertheless, the problem could be due to incorrect references in the VS project. You can try removing them and add them again via the VS context menu of the project.

    Regards,
    Ianko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

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