cyber_bafu Posted May 15, 2009 Posted May 15, 2009 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 doesn't 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!!:confused: :confused: :confused: Quote
Administrators PlausiblyDamp Posted May 15, 2009 Administrators Posted May 15, 2009 Could you post the actual code / html please? It's a lot easier for people to offer help when there is something to look at. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.