Mike Sweet
Top achievements
Rank 1
Mike Sweet
asked on 08 Feb 2008, 11:52 PM
Hello,
I was hoping you could provide some guidance on how to integrate either the RadUpload or ASP.net Upload Control into a Rad Grid that has been "Ajaxified" through the Asp.net UpdatePanel. I saw your example of how to do this with the previous version of rad grid --http://www.telerik.com/demos/aspnet/Controls/Examples/Integration/UploadInAjaxifiedRadGrid/DefaultCS.aspx?product=upload-- but will not work in this case as far as I can tell in part because the Prometheus RadGrid does not support the onrequeststart client event. In either case, any guidance would be appreciated. Thanks so much for your help.
PS. I would be happy to post my code if that is helpful, but it is really just a generic radgrid with an ASP file upload control surrounded by a generic updatepanel.
I was hoping you could provide some guidance on how to integrate either the RadUpload or ASP.net Upload Control into a Rad Grid that has been "Ajaxified" through the Asp.net UpdatePanel. I saw your example of how to do this with the previous version of rad grid --http://www.telerik.com/demos/aspnet/Controls/Examples/Integration/UploadInAjaxifiedRadGrid/DefaultCS.aspx?product=upload-- but will not work in this case as far as I can tell in part because the Prometheus RadGrid does not support the onrequeststart client event. In either case, any guidance would be appreciated. Thanks so much for your help.
PS. I would be happy to post my code if that is helpful, but it is really just a generic radgrid with an ASP file upload control surrounded by a generic updatepanel.
7 Answers, 1 is accepted
0
Mike Sweet
Top achievements
Rank 1
answered on 11 Feb 2008, 02:24 PM
I was hoping to get some sort of reply to my question. Would it be better to open a support ticket? Thanks.
PS. I also have difficulty logging into your site using IE7. I enter my username and password and it just keeps posting back to the login page. I thought you'd like to know.
PS. I also have difficulty logging into your site using IE7. I enter my username and password and it just keeps posting back to the login page. I thought you'd like to know.
0
Accepted
Hello Mike,
You may consider ajaxifying your grid via RadAjaxManager or RadAjaxPanel Prometheus and cancel the async request hooking the OnRequestStart event of the manager/panel. This example on our site can get you started:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Ajax/Examples/Common/FileUpload/DefaultCS.aspx
We will research the issue with the site log in and will address the problem as soon as possible if confirmed.
Best regards,
Stephen
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You may consider ajaxifying your grid via RadAjaxManager or RadAjaxPanel Prometheus and cancel the async request hooking the OnRequestStart event of the manager/panel. This example on our site can get you started:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Ajax/Examples/Common/FileUpload/DefaultCS.aspx
We will research the issue with the site log in and will address the problem as soon as possible if confirmed.
Best regards,
Stephen
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Mike Sweet
Top achievements
Rank 1
answered on 11 Feb 2008, 04:01 PM
Thanks, that did the trick.
0
Steve
Top achievements
Rank 2
answered on 07 Mar 2008, 11:36 PM
I'm sorry but I don't follow. I also have a RadUpload control in a Prometheus RadGrid, using it in a GridTemplateColumn and EditMode=EditForms. Everything looks great but the UploadedFiles.Count always equals zero. It would not be easy/impossible to know what the ID of the RadUpload control would be to reference it like your example did in OnRequestStart. Is there a clear and concise way to integrate a RadUpload control with a Prometheus RadGrid?
0
Hello Steve,
UploadedFiles.Count will be always zero if the grid ajax is turned on - uploading files trough ajax technology is not possible in general. You can register a JavaScript variable in your edit form (where the upload control is located) and check this variable in OnRequestStart.
Regards,
Vlad
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
UploadedFiles.Count will be always zero if the grid ajax is turned on - uploading files trough ajax technology is not possible in general. You can register a JavaScript variable in your edit form (where the upload control is located) and check this variable in OnRequestStart.
Regards,
Vlad
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Steve
Top achievements
Rank 2
answered on 14 Mar 2008, 07:33 PM
Unless I'm missing something, the Prometheus RadGrid does not have an "OnRequestStart" event.
0
Hi Steve,
Indeed RadGrid Prometheus does not have OnRequestStart event because the built-in ajax has been removed from it:
http://www.telerik.com/help/radcontrols/prometheus/?grdMigrationToPrometheus.html
You can intercept the OnRequestStart event of RadAjaxManager/RadAjaxPanel Prometheus which ajaxify your grid instance. See the online demo linked in my previous post for more details.
Best regards,
Stephen
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Indeed RadGrid Prometheus does not have OnRequestStart event because the built-in ajax has been removed from it:
http://www.telerik.com/help/radcontrols/prometheus/?grdMigrationToPrometheus.html
You can intercept the OnRequestStart event of RadAjaxManager/RadAjaxPanel Prometheus which ajaxify your grid instance. See the online demo linked in my previous post for more details.
Best regards,
Stephen
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
