Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > ToolTip > Call javascript function in ascx

Not answered Call javascript function in ascx

Feed from this thread
  • Johnny Intermediate avatar

    Posted on Jan 30, 2012 (permalink)

    hi  i am using RadToolTipManager to show Thumbunail of file when user mouseover the file link on grid
    in the ascx prerender event
    i download the swf file from the databse store in application path
    i need to chage the value property of <param> and src property of <embed>

    <object id="file"  width="240" height="200"
     classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
     pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
     <param id="ParamC"  name="SRC" value="Paper.swf">
     <embed id="embedC"  src="Paper.swf" width="240" height="200"></embed>
     </object>

    how to achive this?

    Reply

  • Marin Bratanov Marin Bratanov admin's avatar

    Posted on Jan 31, 2012 (permalink)

    Hi Johnny,

    You can the approach from this thread to set the parameter from the code-behind (via a dedicated method or a property for example).

    Another option is to inject the call to your JavaScript function that will make the needed modifications from the code-behind (again from the PreRender) event. How to do this is explained in this help article.


    All the best,
    Marin
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > ToolTip > Call javascript function in ascx
Related resources for "Call javascript function in ascx"

ASP.NET ToolTip Features   |  Documentation  |  DemosTelerik TV   |  Self-Paced Trainer  |  Step-by-step Tutorial  ]