This is a migrated thread and some comments may be shown as answers.

RadWindow and RadAsyncUpload

4 Answers 122 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
SKande
Top achievements
Rank 2
SKande asked on 04 Sep 2013, 08:00 PM
  Can any one upload a sample example where we can upload files in a radwindow and update file details in the radgrid which is present on the main page and radwindow opens on click of a link. and i need to create this as a aseparate user control.

4 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 09 Sep 2013, 08:24 AM
Hello JJ,

I suggest that you examine this onine demo: http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=window.

It shows how a button (or a link, it does not matter to what element the onclick function is attached in the code-behind) can be used to open a RadWindow and pass to it the information about the chosen row. Then, when the popup is closed the grid is refreshed.

In the popup itself you can have whatever controls you need on the page, if you already have your upload module ready in a user control, simply loading it in the dialog pages should let it function.


Regards,
Marin Bratanov
Telerik
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.
0
SKande
Top achievements
Rank 2
answered on 09 Sep 2013, 01:54 PM

Hello Marin,

   Thank you for the quick response. I am now able to have the functionality  of uploading files and refresh grid but i have four different user controls each user control need to communicate and any if a user uploads file all the other three controls need to be updated with related file data can you suggest me a mechanism to accomplish this functionality. I tried with radajaxmanager proxy and rad ajax panel but could not show changes on the other user control.

0
SKande
Top achievements
Rank 2
answered on 09 Sep 2013, 01:58 PM

The steps are like this

1. User Control One With a hyper link and it pops up a rad window where user uploads files

2. I need to update the number of files and file details in another user control on the same page

3. User control 3 and 4 should e updated accordingly.

 

 

0
Slav
Telerik team
answered on 12 Sep 2013, 10:23 AM
Hi,

Most probably you are missing RadAjaxManager UpdatedControls settings for the user controls that are not updated accordingly in your scenario. Please check the help article RadAjax and WebUserControls for more information about using the Ajax manager with web user controls.

Regards,
Slav
Telerik
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.
Tags
Ajax
Asked by
SKande
Top achievements
Rank 2
Answers by
Marin Bratanov
Telerik team
SKande
Top achievements
Rank 2
Slav
Telerik team
Share this question
or