Hello Everyone,
I am getting this error "Only Content controls are allowed directly in a content page that contains Content controls". I am using a single aspx page and not a separate cs file. Now, to write code inside aspx page, I am using <script> tag. Now, my problem is inside one of the method I have to use <script> tag. Now, when i use that this error comes. Eg
<script runat="server">
........inside it coding done
// Method inside which I have to use this tag again
public void abc()
{
........initially some code.........
Response.Write("<script>document.getElementById('PaylForm').submit();</script></body></html>"); //This gives error
}
</script>
Thanks in Advance.
...
Go to the complete details ...