I am trying to maintain the scroll position of DIV tag and getting this error at runtime. Here is the code from my project. Do any body has any idea why I am getting this error : "The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)."
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Template.master.cs" Inherits="UserTemplate" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns=" Go to the complete details ...