The ID property of a control can only be set using the ID attribute in the tag and a simple value. Example:

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: The ID property of a control can only be set using the ID attribute in the tag and a simple value. Example: <asp:Button runat=”server” id=”Button1″ />

You might get above error incase you try to generate a control id at run time dynamically.

Look at the code line giving error

Line 33: <div id='<%# String.Format(“{0}_{1}” , “divEnglish_”, Container.DataItemIndex) %>’ class=”translate_form” runat=”server”>

It is very easy to fix it, just remove runat=”server” from you code. you are done.

Tarun Juneja

Atticmedia Pvt. Ltd.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s