RadUpload inside GridViewCell: Lost Edit Mode After selecting file

2 posts, 0 answers
  1. Moch Yusup
    Moch Yusup avatar
    5 posts
    Member since:
    Nov 2011

    Posted 13 Nov 2013 Link to this post

    Hi Telerik Team,

    I'm having problem with the RadUpload inside the grid view cell. I defined a RadUpload control inside the "GridViewColumn.CellEditTemplate". This column shows correspoding file for the record. When user want to change the file, he will upload new file thru that cell using RadUpload controls. And the problem is, when user select a file, the cell automatically lost its edit mode and came back to read mode. When this happens, the user doesn't know the progress of the upload and this will lead to some problems we have now which is incomplete uploaded file.

    How should I do to make the cell still in edit mode after a file is selected? so that the user can see the progress of the upload. Thank you.

    Cheers,
    Yusup
  2. Yoan
    Admin
    Yoan avatar
    1070 posts

    Posted 19 Nov 2013 Link to this post

    Hello Yusup,

    What you can do is to set the CellTemplate property of the column you wish to be in "edit mode" to a template with the RadUpload control. That way all the cells in the column will contain a RadUpload, which the user will be able to manipulate, without having to toggle the edit mode of RadGridView. Another 
    possible solution to this problem would be to set the ActionOnLostFocus property of RadGridView to None. 

    I hope this helps.

    Regards,
    Yoan
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
Back to Top