Radgrid edit form : strange issue

5 posts, 0 answers
  1. Carole
    Carole avatar
    11 posts
    Member since:
    Dec 2013

    Posted 28 Mar 2014 Link to this post

    Hello,
    I'm using a ajax radgrid with an edit form (templated) into a popup (EditMode="PopUp"). Recently we updated our website from .NET 3.5 to .NET 4.0 so lots of configuration have changed (application pool, etc). My new radgrid is perfectly working on our test platform, but on another server the popup is not showing when I click on "Add new record" button.

    I tried to switch to EditMode="EditForms", to see if it changed anything on this server. When clicking on the add button, the form is displayed apparently correctly on the top of the radgrid. But I noticed that the validators controls didn't perform client side validation.

    When looking at the response of the server (with firebug) when clicking on the add button, it seems that some code is missing at the end of the response : the code that perform the client side validation. Could this explain why the popup is not showing in EditMode="PopUp" mode ? Some missing javascript code ?

    Please note that the radgrid is working correctly on another server, so I'm pretty sure this is a telerik configuration issue. But I don't know where and what to check.
    I'm available if you need another details about the problem. Thanks in advance for your help.
  2. Carole
    Carole avatar
    11 posts
    Member since:
    Dec 2013

    Posted 28 Mar 2014 in reply to Carole Link to this post

    Sorry I forgot to precise the version of Telerik UI I'm using : 2010.2.929.35
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Angel Petrov
    Admin
    Angel Petrov avatar
    1006 posts

    Posted 02 Apr 2014 Link to this post

    Hello Carole,

    I am sorry to say but the information provided is not sufficient for us to determine what is causing the described behavior. Generally the popup edit form will be prevented from showing if a JavaScript error is present on the page. Could you ensure that this is not the case? Probably some of the scripts are not loaded correctly which breaks the logic. I strongly suggest that you examine the following resources and check whether you experience an issue similar to the described ones. Additionally I recommend updating to the latest version of the controls and testing the application again.

    Regards,
    Angel Petrov
    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.

     
  5. Carole
    Carole avatar
    11 posts
    Member since:
    Dec 2013

    Posted 02 Apr 2014 in reply to Angel Petrov Link to this post

    Hello Angel,
    Thanks for your reply.

    These days I did some additionnal tests to see what happens.
    I noticed that it happens only if the radgrid is empty. When it has at least one row, the popup is showing correctly.

    I tried to resolve this but with no success, so I changed the code for the click on the add button to do a full postback. It's OK now, but I didn't understand the issue and why this happens only on this server. I suppose it's a configuration issue (RadAjaxPanel ?).

    Let me know if you need any other information about the page.
  6. Angel Petrov
    Admin
    Angel Petrov avatar
    1006 posts

    Posted 07 Apr 2014 Link to this post

    Hi Carole,

    Could you ensure that both a RadAjaxManager and a RadAjaxPanel were not used for ajaxifying the page contents? In such cases double ajaxification will occur which will break the logic thus preventing the popup from opening(more information is available here). Other than that I can not think of anything else that can cause this problem. That said I would like to ask you to share with us the contents of the page(markup and code-behind) so we could further examine the scenario.

    Regards,
    Angel Petrov
    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