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

RadAjaxManager Update Fails first time

3 Answers 43 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 23 May 2011, 07:07 PM
I have a RadAjaxManager in my Master Page, as well as some controls for a 'shopping basket'
On my content page I have a number of user controls, with each one having an 'Add' button. These are added to the page dynamically.
The Ajax settings for the Add buttons are created in code in the Page_Load function.

When one of the add buttons are clicked, it should write a database entry, and then update the shopping basket to show the number of items currently in it.

This works fine, except for the first time a button is clicked.
The first time one of the 'Add' buttons are clicked, the database entry is created as expected, but the shopping basket does not get updated. The second button clicked updates everything as expected and the basket will show 2 items. Buttons then work as expected, with the basket showing correctly.

Putting a breakpoint in the code, all the expected events seem to fire, but the basket is not updated.

I am using Q1 2011, in VS2010 and .NET 4.0

Am I missing something?

Thankyou.

Paul

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 24 May 2011, 08:49 AM
Hello Paul,

The provided information is not enough to determine the cause of the problem you are facing is. Please open a formal support ticket and send us sample runnable application which replicates the issue. We will test it locally and advise you further.

Regards,
Pavlina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
GlenB
Top achievements
Rank 1
answered on 01 Sep 2011, 05:16 AM
I am having the exact same issue - did you find the solution?
0
Pavlina
Telerik team
answered on 01 Sep 2011, 12:38 PM
Hi Glenb,

Please isolate the problem in a runnable sample project and submit it via our support ticket system.
In that way we can reproduce and pinpoint the problems you're facing on our side, understand the logic of your application and provide a solution.
Other than this, there is not much we can do to determine the cause of the problem

Best wishes,
Pavlina
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Ajax
Asked by
Paul
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
GlenB
Top achievements
Rank 1
Share this question
or