Update Processing Stops On Update Command Issued From Edit Template

3 posts, 0 answers
  1. Jason
    Jason avatar
    3 posts
    Member since:
    Jul 2012

    Posted 09 Nov 2012 Link to this post

    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. Radoslav
    Admin
    Radoslav avatar
    1564 posts

    Posted 15 Nov 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jason
    Jason avatar
    3 posts
    Member since:
    Jul 2012

    Posted 15 Nov 2012 Link to this post

    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.
Back to Top