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

TabString LoadContentFrom Ajax call Firing after jQuery document ready

1 Answer 94 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Temesgen Meheret
Top achievements
Rank 1
Temesgen Meheret asked on 06 Aug 2010, 10:08 PM
We want to dynamically add tab items to the tab strip with each one of them loading their content dynamically using LoadContentFrom.
Everything works fine but the issue is:

- Any client behavior that was added on document ready happens before the load content from Ajax call happens.
 Thus by the time the content is loaded the controls will not have that behavior.
  Is there a way to bind events to the controls after they are loaded through the Ajax call.

Also when you say the scripts need to be manually registered, do we need to manually register all scripts on master page and telerik scripts again on the ascx file returned as partial view?

1 Answer, 1 is accepted

Sort by
0
Temesgen Meheret
Top achievements
Rank 1
answered on 19 Aug 2010, 03:49 PM
Only solution was to have the event binding inside the partials.
Tags
TabStrip
Asked by
Temesgen Meheret
Top achievements
Rank 1
Answers by
Temesgen Meheret
Top achievements
Rank 1
Share this question
or