This will be a bit of a headache, but since the wrappers generate a jQuery script, you cannot generate the wrapper in a partial view, take the resulting script and paste it into the script tag at the bottom of the page? Of course, this would mean either duplicated code, or enough code to generate a workaround in reusable mode, so the scripts end at the bottom of the page, and not in the middle.
I assume this will help with performance (is it best to use CSS at the top and script below)?
Elsimer
source share