we are updating one of our legacy features which involves 2 user controls and one 'client page' as follows:
User control 1 is a RadGrid containing items that are uploaded into the application and stored within the database.
User control 2 is a RadAsyncUpload control which is used to upload files into the database
The 'client page' holds both of these controls (along with all the navigation, bells and whistles, etc)
Currently, when an end-user uploads a file, a postback occurs and the new row appears on the grid.
We then added a RadAjaxManager to the client page and then referenced the user control's through the code-behind (AddAjaxSettings)
so that the upload to grid update process takes place on-the-fly without any disruption.
The technique used to do this is below:
attachmentsGrid as AttachmentsGrid =
uploadControl as UploadControl =
RadAjaxManager1.AjaxSettings.AddAjaxSetting(attachmentsGrid, attachmentsGrid, LoadingPanel)
, uploadControl, LoadingPanel)
RadAjaxManager1.AjaxSettings.AddAjaxSetting(uploadControl.FindControl("uploadButton"), attachmentsGrid, LoadingPanel)
The above technique worked great, but we noticed that the LoadPanel was not appearing on any of the controls.
We then attempted to place a loading panel in each of the user controls and then referenced those controls (as our designated LoadingPanels) in the above AddAjaxSetting function but this also did not work.
Hope someone can assist!