calling a js function after upload complete

Thread is closed for posting
4 posts, 0 answers
  1. Matthew Bishop
    Matthew Bishop avatar
    58 posts
    Member since:
    Apr 2007

    Posted 10 Sep 2008 Link to this post

    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?
  2. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 10 Sep 2008 Link to this post

    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.
  3. Matthew Bishop
    Matthew Bishop avatar
    58 posts
    Member since:
    Apr 2007

    Posted 10 Sep 2008 Link to this post

    Removed since no longer valid.

  4. Matthew Bishop
    Matthew Bishop avatar
    58 posts
    Member since:
    Apr 2007

    Posted 10 Sep 2008 Link to this post

    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...

Back to Top