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

[Solved] Document.ready not fired in LoadContentFrom

0 Answers 21 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Marcel
Top achievements
Rank 1
Marcel asked on 26 Sep 2011, 11:18 AM
I use the splitter.LoadContentFrom method to load 3 partial views in 1 page.
In the partial views i use the document.ready to run some javascript that configures the grids that are present in the content.
But the problem is that the document.ready is not always fired after the content is loaded. Sometimes it does, sometimes it doesn't......
What is the cause of this problem?

PS: Using the document.ready of the View is also not an option, because at that time the partial views are not loaded yet.

Tags
Splitter
Asked by
Marcel
Top achievements
Rank 1
Share this question
or