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

[Solved] How to use RadUpload in User control with ajax, when using update/insert in grid with usercontrol.

1 Answer 106 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mohammad Zeeshan Anwar
Top achievements
Rank 1
Mohammad Zeeshan Anwar asked on 08 Mar 2010, 06:05 AM
hi

i am using a grid and perfom grid update/insert operations with User Controls,In my user Control i am using a rad upload but when i add ajax manager for grid then radupload in user control doesn't work please help me to perform update and insert with RadUpload in user control that is called by the grid for update or insert.

pleas reply me as soon as possible

Best Regards
Xshan

1 Answer, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 10 Mar 2010, 01:12 PM
Hello Mohammad,

File uploads do not work with AJAX. Whenever you are uploading a file, you will have to disable the AJAX manager to perform a full postback.

You can refer to the following help article and online demo on this topic:

Help: Uploading files with AJAX

Demo: Using upload in an AJAX-ified grid

Basically, you need to check if UpdateButton or InsertButton have been clicked and disable AJAX from RadAjaxManager's OnRequestStart client event.

Regards,
Veli
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Mohammad Zeeshan Anwar
Top achievements
Rank 1
Answers by
Veli
Telerik team
Share this question
or