Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > content is not allowed between the opening and closing tags

Reply
Thread Tools

content is not allowed between the opening and closing tags

 
 
steve@thepinksofa.com
Guest
Posts: n/a
 
      04-14-2007
I get "content is not allowed between the opening and closing tags" in
the visual studio 2005 IDE in relation to a Telerik RadTabstrip
control, when I switch from design to source view. I cant switch back
to design view from source view - I get the error "Cannot switch to
Design View because of errors on the page.

I seem to recall something about XHTM settings here? Has anyone
experienced this error & solved it?

 
Reply With Quote
 
 
 
 
Hans Olav Stjernholm
Guest
Posts: n/a
 
      04-14-2007
That error is usually shown when you insert text or markup inside asp or
html elements that doesn't allow content.

for example the asp:label control: <asp:label ID="label1" runat="server"
Text="Hi"></asp:label>.
If you try to put the "Hi" text whitin the <asp:label> tag, you'll get that
error.

'Hans Olav.

<> wrote in message
news: ups.com...
>I get "content is not allowed between the opening and closing tags" in
> the visual studio 2005 IDE in relation to a Telerik RadTabstrip
> control, when I switch from design to source view. I cant switch back
> to design view from source view - I get the error "Cannot switch to
> Design View because of errors on the page.
>
> I seem to recall something about XHTM settings here? Has anyone
> experienced this error & solved it?
>



 
Reply With Quote
 
 
 
 
steve@thepinksofa.com
Guest
Posts: n/a
 
      04-15-2007
On Apr 15, 5:59 am, "Hans Olav Stjernholm" <n...@email.here> wrote:
> That error is usually shown when you insert text or markup inside asp or
> html elements that doesn't allow content.
>
> for example the asp:label control: <asp:label ID="label1" runat="server"
> Text="Hi"></asp:label>.
> If you try to put the "Hi" text whitin the <asp:label> tag, you'll get that
> error.
>
> 'Hans Olav.
>
> <s...@thepinksofa.com> wrote in message
>
> news: ups.com...
>
>
>
> >I get "content is not allowed between the opening and closing tags" in
> > the visual studio 2005 IDE in relation to a Telerik RadTabstrip
> > control, when I switch from design to source view. I cant switch back
> > to design view from source view - I get the error "Cannot switch to
> > Design View because of errors on the page.

>
> > I seem to recall something about XHTM settings here? Has anyone
> > experienced this error & solved it?- Hide quoted text -

>
> - Show quoted text -


No that is not the problem. Iwish it were that simple. This is a
standard placement of the Telerik RadTabscrip control onto a asp.net
user control.

S


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error: Only Content controls are allowed directly in a content page that contains Content controls. hazz ASP .Net 6 06-09-2010 01:54 PM
"Text is not allowed between the opening and closing tag"? Dave ASP .Net Building Controls 1 09-08-2006 07:01 PM
Error: Content is not allowed between the opening and closing tags for element Allan Ebdrup ASP .Net 0 01-26-2006 08:45 AM
Error: Content is not allowed between the opening and closing tags for element Allan Ebdrup ASP .Net Web Controls 0 01-20-2006 09:01 AM
html tags within meta tags allowed? Donald Firesmith XML 5 01-08-2005 11:29 PM



Advertisments