This is a migrated thread and some comments may be shown as answers.
Grid and RadUpload
2 Answers 36 Views
This is a migrated thread and some comments may be shown as answers.
staron
Top achievements
Rank 1
staron asked on 01 Jul 2009, 01:55 PM
we are having some trouble getting the main gridd to refresh after uploading a file using the rad upload from a ascx popup window.
 First we did as recommended here:
http://www.telerik.com/help/aspnet-ajax/upload_uploadingajax.html
We want our main grid to refresh on the parent window after the user the file has been uploaded. We tried several methods and none seem to work, and the main page is stuck in edit mode(modal),

Tried function CancelEditMode()

{

var masterTable = $find("<%= RadGrid1.ClientID %>").get_masterTableView();

masterTable.cancelAll();

}

and that removed the modalbackground, but it got added again after callback.

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 1
answered on 02 Jul 2009, 06:25 AM
Hi,

Could you try setting the  Uplaod button  CommandName  to "Update" in the ascx . This will automatically close the edit fom if you are using the edit mode popup and will fire the Update Command event of the RadGrid. You can manipulate the event to refresh the grid  with the changes.

Upload / Using RadUpload in an Ajaxified Grid

Thanks,
Princy.
0
Sulay Shah
Top achievements
Rank 1
answered on 03 Jul 2009, 11:19 AM
This did not work, and the example is not relevant to what we are using, we are using a pop window that is a separate ascx page that is called from the main aspx page.  Please let me know what else I can try to get this to work.
Tags
Grid
Asked by
staron
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
Sulay Shah
Top achievements
Rank 1
Share this question
or