not being able to execute code directly in aspx pages is a limitation that we encounter developing web application with SharePoint.For obvious reasons of security and stability of the application, the site pages are rendered in "safe mode" that not allows the presence of inline code within the page itself. The programming is then sent back to building custom web parts.In some cases however you may need to manage the various events of
the page to manage the rendering, such as change dynamically
Leggi tutto il post...