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

calling a js function after upload complete

3 Answers 39 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Matthew Bishop
Top achievements
Rank 1
Matthew Bishop asked on 10 Sep 2008, 05:24 AM
Ok, im trying to call a js function after I finish uploading a file.
I tried doing the normal RadAjaxManager1.ResponseScripts.Add("blah();");
but of course, I don't seem to be able to do that (I take it thats it's because of the upload). So how do I do it?

3 Answers, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 10 Sep 2008, 09:42 AM
Hi Matthew Bishop,

You can instead use ScriptManager.RegisterStartupScript() to execute a client call.

I hope this helps.

Kind regards,
Erjan Gavalji
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Matthew Bishop
Top achievements
Rank 1
answered on 10 Sep 2008, 10:13 AM

Removed since no longer valid.

0
Matthew Bishop
Top achievements
Rank 1
answered on 10 Sep 2008, 02:24 PM

ok, after hours of searching I have finally found what I needed in one of the posts here, however, I ended up using google to find it, not the telerik search function...

What is either really missing, or impossible to find is this line here:

"RadScriptManager inherits from ScriptManager and simply adds script combining features to it."

found here:
http://www.telerik.com/community/forums/thread/b311D-bdbggt.aspx

What is really needed is a quick one liner in the documentation, under its own heading since RadScriptManager is a component, least I think so...

Tags
Upload (Obsolete)
Asked by
Matthew Bishop
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
Matthew Bishop
Top achievements
Rank 1
Share this question
or