简体   繁体   中英

ASP.NET WebApp don't work with Custom Template (from store)

I have jQuery based template from themeforest and i building on this ASP.NET Web Application.

But i have a problem, when my javascripts files from template are included, my asp.net things don't work how should, eg. dropdownlist events not rising... When i comment javascript templates file then everything works fine.

Someone can help me solve this?

Thanks,

Many jQuery UI elements (dialog, for example) are rendered at the end of the BODY tag. This means their contents are moved outside the FORM tag, and are thus ignored by ViewState. This will prevent their associated events from being triggered (and will prevent their updated data from making it back to the code-behind at all).

If you use firebug to examine the rendered HTML, you should be able to confirm whether this is the root cause of your problem.

If so, see this SO discussion for a resolution / workaround. HTH

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM