Hello,
I am getting http exception in of the method of class file (search.aspx.vb) like "The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)", I have googled a lot including in this site and Mudassar Khan’s article in asp snippets. I have tried placing Java script function in the body of Master page from header, whereas I just removed the Java script tag and its contents in search.aspx( as of its not required now). Still getting exception. I also know that if we have something like this <%= in Java script function we need to replace with <%#. But I don’t have this kind of code in any function. Please help.