This is a migrated thread and some comments may be shown as answers.

Radgrid edit form : strange issue

4 Answers 37 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Carole
Top achievements
Rank 1
Carole asked on 28 Mar 2014, 02:14 PM
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.

4 Answers, 1 is accepted

Sort by
0
Carole
Top achievements
Rank 1
answered on 28 Mar 2014, 02:17 PM
Sorry I forgot to precise the version of Telerik UI I'm using : 2010.2.929.35
0
Angel Petrov
Telerik team
answered on 02 Apr 2014, 08:51 AM
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.

 
0
Carole
Top achievements
Rank 1
answered on 02 Apr 2014, 09:06 AM
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.
0
Angel Petrov
Telerik team
answered on 07 Apr 2014, 06:03 AM
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.

 
Tags
Ajax
Asked by
Carole
Top achievements
Rank 1
Answers by
Carole
Top achievements
Rank 1
Angel Petrov
Telerik team
Share this question
or