Reset Persisted Document Server-Side

2 posts, 0 answers
  1. Kevin Neumann
    Kevin Neumann avatar
    29 posts
    Member since:
    Feb 2006

    Posted 13 Jun 2013 Link to this post

    We have a page with a grid-details format. Grid at the top, each row with a Select button and a detail form below the grid. When you select a row, the details are loaded below.  The page also has a btnSave and btnAddNew. Each record has some detail fields as well as a document field.  In the details area, there is a dropdown list that causes a postback, so we set the PostbackTrigger of the document control is currently set to "btnSave" so that if the user selects a document and then toggles the dropdown, the uploaded document won't be lost. However, the problem is that if a user uploads a document and then realizes they are in the wrong record, if the select a new record from the grid, the document field still maintains the previously uploaded document.  

    What we need is a way to force a reset of the dropdown control on the server-side? Is that possible?
  2. Plamen
    Plamen avatar
    3080 posts

    Posted 18 Jun 2013 Link to this post

    Hello Kevin,

    The scenario described is quire complicated and quite clear so would you please let us know if it can be reproduced somehow on this on-line demo or what code should be added so we could reproduce it locally. 

    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 the blog feed now.
Back to Top