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

User Control +javascript

1 Answer 56 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Bruce Hochstetler
Top achievements
Rank 2
Bruce Hochstetler asked on 02 Jul 2008, 06:59 PM
Hi,

I have a tabstrip/multipage with 4 tabs. Each tab is a user control that has their own javascript block. The main page has a script that calls one of the user control's javascript. After ajaxifying the main page, the scripts on pages 2 thru 4 are no longer found. I've tried placing the the javascript in RadCodeBlocks with no success. What's the trick to getting this to work?

Thanks,
Bruce

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 03 Jul 2008, 08:01 AM
Hello Bruce,

You can place these scripts in RadScriptBlock similar to this example:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/Programming/DragAndDrop/DefaultCS.aspx

Greetings,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Ajax
Asked by
Bruce Hochstetler
Top achievements
Rank 2
Answers by
Vlad
Telerik team
Share this question
or