Anyone out there who can help me on this, I would be really thankfull…,
While trying to modify the .aspx files (NewForm, DispForm, AllItems, etc.) for the lists. I found a code snippet that says that I can add code as follows
<Script runat=”server”>
void Page_Load()
{
SPWeb web = SPControl.GetContextWeb(Context);
….
…
…
}
</Script>
But when I tried doing this, I got the following error,
"The page contains server script, which is not supported on this server."
Anyone knows how to get around this….
Do you know someone who can help? Share a link to this thread on twitter, or facebook.