The server tag is not well formed

Hello all,

The server tag is not well formed error occurs because you have missed to write something or written something wrong. In my case i have written one link button and it gives me the server tag is not well formed error.

My link button is as follow

" OnClick="lnkStudio_Click">

It gives me error. Actually everything is right but i have done small mistake in Text. Correct link button text is as follow

Text='<%# Eval("studio") %>'

It is working perfectly after replace double quote to single in Text. Because of Eval use we have to use single quote not double quote.

Hope it will help you too.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>