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

Update Processing Stops On Update Command Issued From Edit Template

2 Answers 45 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 09 Nov 2012, 09:58 PM
I have a list view control within a user control that is exhibiting unexpected behavior.  The list view is within a panel that is itself within a RadAjaxLoadingPanel.  The panel is registered with a RadAjaxManager.  The list view is populated from an object data source.  There is an edit template defined with an update button inside it to issue the update command.  The user clicks a button to issue the edit command and the edit template is displayed.  When the update button is pressed, the ajax loading screen covers the panel.  When the ajax call is complete, the edit template has not gone away.  The item command event of the list view is triggered, but not the updating event of the object data source.  I ran this test in debug mode and did not receive any client or server error feedback.  It also seems to work when connected to a local database, but not our main testing one.  This suggests it has something to do with timing.  I cannot think of any further testing to conduct because the remaining processing of the update happens within the Telerik list view code.  Are there any ideas from the community on how to further debug this issue?

2 Answers, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 15 Nov 2012, 07:19 AM
Hi Jason,

Based on the provided information is hard to say what is causing the described issue. Could you please post your aspx markup code with the related code behind file? Thus we will be able to get more information about your scenario and provide you more to the point answer. At a meantime could you please try removing any ajax from the page and let me know if the issue still persists or any error is occurs.

Looking forward for your reply.

Greetings,
Radoslav
the Telerik team
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 their blog feed now.
0
Jason
Top achievements
Rank 1
answered on 15 Nov 2012, 05:45 PM
Thanks for the tip.  Once I removed the ajax, I realized that unwanted validation was occuring.  This RadListView is inside a user control with validation intended to be in another validation group, but since the button that updates the item is in the RadListView edit template and sends the update command to the RadListView, the RadListView needed to have its validation group set to that used in the user control as well.
Tags
ListView
Asked by
Jason
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Jason
Top achievements
Rank 1
Share this question
or