Strange behavior with RadAjaxManager. Event fired with no user edition

2 Answers 48 Views
Ajax
Vincent
Top achievements
Rank 1
Iron
Iron
Vincent asked on 08 Aug 2024, 02:35 PM

Hi !

I've got strange behavior with RadAjaxManager.
no problem without radAjaxManager

Normally I have a panel and editing in that panel should update its contents. but strange behaviors appear.

To test, I just added 2 edit boxes only for updating.

Example project and example video to explain.

1) Set "cumul" => calculate and update the content deductionRG (AjaxSetting)
2) Set "Pénalités" => Calculate and update Total Deductions content (AjaxSetting)

But Event is launched on Montant RG???
Radnumeric is disabled and I don't want the event to be fired if there was no user input.

3) Set "Autre" => Event launched but content received: 0
4) Define "Autre" again (other value: 80) => Value of the content received by the event: 80

This is a simple example, because this edition panel modifies for the user according to conditional parameters on the screen during the instance of the calculation class.

2 Answers, 1 is accepted

Sort by
0
Vasko
Telerik team
answered on 13 Aug 2024, 11:12 AM

Hi Vincent,

I hope you're doing well!

When trying to extract the zip file I got an error that prevented me from doing so, therefore I wasn't able to review the code: 

Can you try uploading the file again or even share the aspx page and the code-behind file, where the problematic behavior occurs? This will help me further investigate the isse.

I look forward to your reply.

Regards,
Vasko
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources
0
Vincent
Top achievements
Rank 1
Iron
Iron
answered on 13 Aug 2024, 12:22 PM | edited on 13 Aug 2024, 12:23 PM

Hi Vasco !

 

I've download file from 1st message forum, extract with 7zip (21.01 alpha) no problem.

i can't send you my original zip again because i've made some change in projet to test, before modification in my production project (local).

i can share from the zip 1st message (joined files) only "my code" files without others and you can insert in new project.

for your information, i'm in vacation friday 6pm (France)

 

 

 

 

Vasko
Telerik team
commented on 16 Aug 2024, 08:17 AM

Hi Vincent,

I managed to run the application and test it out, however, what is the issue exactly? Can you explain the exact problem and the steps to reproduce it?

Additionally, you can find an updated file and a video demonstrating the test I took based on your video.

Regards,
Author nickname
Progress Telerik

Vincent
Top achievements
Rank 1
Iron
Iron
commented on 16 Aug 2024, 01:17 PM

Thanks Vasko !

I've get your project.

same test as you, same result. remove events in aspx to remove 2 postbacks. search differences.

1) You modify Textbox 5 => Event textbox 5 : Ok
2) Change textbox1 by calcul (no event : Ok)
3) You modify Texbox 3 => Event textbox 3 : Ok)
4) Calcul...
5) Event in texbox 6 : you not change by interface

the original version of my form before my tests is that the refresh panel when the modification was in a component field  :


 <telerik:AjaxSetting AjaxControlID="pRepartitionMontants">
     <UpdatedControls>
         <telerik:AjaxUpdatedControl ControlID="pRepartitionMontants" LoadingPanelID="LP1" />
     </UpdatedControls>
 </telerik:AjaxSetting>
Vasko
Telerik team
commented on 21 Aug 2024, 12:08 PM

Hello Vincent,

Thank you for the additional information. A possible reason for this may be in the custom class/logic implementation. Please check on standalone numeric textboxes without any additional custom code if the issue will persist.

Regards,
Author nickname
Progress Telerik

Tags
Ajax
Asked by
Vincent
Top achievements
Rank 1
Iron
Iron
Answers by
Vasko
Telerik team
Vincent
Top achievements
Rank 1
Iron
Iron
Share this question
or