Jul 25, 2013 10:35 AM|net4u|LINK
I adapted the code to my needs, and if it is inserted in a regular .cshtml page it works well. But my web-app is implemented using _Sitelayout.cshtml and page.cshtml pairs.
In this context, I moved the <script></script> from page to just before the </body> of _Sitelayout.cshtml, the refs to jquery.min and jquery-ui.min.js in the <head> section of _Sitelayout.cshtml (btw I also have refs to jquery.js) and all the rest is in
the code of the page.
In this scenario, it simply don't work.