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

How to use ScriptManager.RegisterStartupScript with Telerik Rad Grid's GridExporting event?

6 Answers 92 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Anvesh
Top achievements
Rank 1
Anvesh asked on 10 Nov 2012, 05:13 AM
Hello,
I am developing one application in which I want to fire some client side script after Telerik grid completes execution of export event. I am storing exported file on "GridExporting" event. It saves exported file on server successfully but fails to execute "ScriptManager.RegisterStartupScript", I am working with Ajax environment. So now I want to know that is it possible to execute some client side script after export completes successfully?

Please help.


Thanks,
Anvesh

6 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 10 Nov 2012, 02:02 PM
Hello,

We are not able to execute any/this code after download/export file. This is the limitation/functionality of .Net.

Thanks,
Jayesh Goyani
0
Anvesh
Top achievements
Rank 1
answered on 10 Nov 2012, 02:09 PM
Hello Jayesh,
Thanks for the reply. But what is the alternative then. I want to do this thing and it's my client's requirement. So please tell me what are the alternative ways to achieve this?


Thanks,
Anvesh
0
Jayesh Goyani
Top achievements
Rank 2
answered on 10 Nov 2012, 02:16 PM
Hello,

I am not sure its working or not but can you please try with Jquery/JS (may be it will help you).

Thanks,
Jayesh Goyani
0
Anvesh
Top achievements
Rank 1
answered on 10 Nov 2012, 02:19 PM
Yes but how could I know that Export event is completed? After all I have to execute code to open popup after export completes.


Thanks
0
Jayesh Goyani
Top achievements
Rank 2
answered on 10 Nov 2012, 02:24 PM
Hello,

Sorry but i have also not idea about this.

As per my knowledge it is not possible in .Net that's why i say try with Jquery/JS (might be it will help).



Thanks,
Jayesh Goyani
0
Anvesh
Top achievements
Rank 1
answered on 10 Nov 2012, 02:25 PM
Hello,
Ok no problem thanks for your time.


Anvesh
Tags
Ajax
Asked by
Anvesh
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Anvesh
Top achievements
Rank 1
Share this question
or