cyber_bafu
New member
hi guys.,.,
I would like to add <div></div> tags in my asp.net page using javascript,.,.
I tried the Page.ClientScript.RegisterClientScriptBlock and Page.ClientScript.RegisterStartupScript but it doesnt seem to work.,.
I always get this error:
"Only Content controls are allowed directly in a content page that contains Content controls."
I entered the above code inside a <script runat="server"> tag and it is called
in an <asp:Content> </asp:Content> tag.,.,
Please help me, i beg you guys..,
Thanks!!
I would like to add <div></div> tags in my asp.net page using javascript,.,.
I tried the Page.ClientScript.RegisterClientScriptBlock and Page.ClientScript.RegisterStartupScript but it doesnt seem to work.,.
I always get this error:
"Only Content controls are allowed directly in a content page that contains Content controls."
I entered the above code inside a <script runat="server"> tag and it is called
in an <asp:Content> </asp:Content> tag.,.,
Please help me, i beg you guys..,
Thanks!!