Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...