4 Answers, 1 is accepted
0
Accepted
Hello Dan,
Atanas Korchev
the Telerik team
This should be possible. Try to add a <script> element in your partial view which contains the required code.
All the best,Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Dan
Top achievements
Rank 1
answered on 09 Aug 2011, 09:48 AM
Actually, my problem is not adding JS to a partial view, but having a certain JS function called when the view is loaded. It could be something similar to Telerik().ScriptRegistrar().OnDocumentReady(), but specific for the partial view being loaded by the PanelBar.
Thanks!
Dan
Thanks!
Dan
0
Hello Dan,
Atanas Korchev
the Telerik team
Have you tried my suggestion? The script block will be executed once the partial view is loaded.
Regards,Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Dan
Top achievements
Rank 1
answered on 09 Aug 2011, 05:59 PM
You're absolutely right!
It works :)
Thanks!
It works :)
Thanks!