473,396 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

The server tag is not well formed.

Hi friends i am getting the error into my applictaion The server tag is not well formed.i am trying to get the eomid here is my code please help me friends.
Expand|Select|Wrap|Line Numbers
  1. Page language="c#" Codebehind="Accomplishment.aspx.cs" AutoEventWireup="false" Inherits="Accomplishments.Accomplishment" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4.     <HEAD>
  5.         <title>Accomplishment</title>
  6.         <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
  7.         <meta content="C#" name="CODE_LANGUAGE">
  8.         <meta content="JavaScript" name="vs_defaultClientScript">
  9.         <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  10.     </HEAD>
  11.     <body>
  12.         <form id="Form1" method="post" runat="server">
  13.             <table height="100%" cellSpacing="0" width="700" align="center" border="1">
  14.                 <tr>
  15.                     <td height="50"><IMG src="header.jpg" width="700"></td>
  16.                 </tr>
  17.                 <tr>
  18.                     <td vAlign="top">
  19.                         <table cellPadding="5" width="700">
  20.                             <tr>
  21.                                 <td><asp:label id="lblmsg" Font-Bold="True" ForeColor="#990000" Runat="server"></asp:label></td>
  22.                             </tr>
  23.                             <tr>
  24.                                 <td>FirstName:
  25.                                     <asp:textbox id="txtFirstName" Runat="server" ReadOnly="True"></asp:textbox>LastName:
  26.                                     <asp:textbox id="txtLastName" Runat="server" ReadOnly="True"></asp:textbox></td>
  27.                             </tr>
  28.                             <tr>
  29.                                 <td>Login
  30.                                     <asp:textbox id="txtLogin" Runat="server" ReadOnly="True"></asp:textbox>Dept:<asp:textbox id="txtdept" Runat="server" ReadOnly="True"></asp:textbox></td></tr>
  31.                                     <tr>
  32.                                 <td>
  33.  
  34. <asp:textbox id="txttest" Runat="server" Visible="False" OnDataBinding="'<%# DataBinder.Eval(Container.DataItem,"eomId")%>'"></asp:textbox>
  35.  
  36. </td>
  37.                             </tr>
  38.                             <tr>
  39.                                 <td>DateCreated:
  40.                                     <asp:textbox id="txtdatecreated" Runat="server" ReadOnly="True"></asp:textbox>ProejctName:
  41.                                     <asp:dropdownlist id="drpProject" Runat="server" AutoPostBack="True">
  42.                                         <asp:ListItem Value="">Select a Project</asp:ListItem>
  43.                                         <asp:ListItem Value="01">Employee Nominations</asp:ListItem>
  44.                                         <asp:ListItem Value="02">Accomplishments</asp:ListItem>
  45.                                     </asp:dropdownlist><!--<asp:requiredfieldvalidator id="Project" Runat="server" ControlToValidate="drpProject" Display="Dynamic" ErrorMessage="*"></asp:requiredfieldvalidator>!-->
  46.                                     </td>
  47.                             </tr>
  48.                             <tr>
  49.                                 <td><asp:textbox id="txtdescription" Runat="server" TextMode="MultiLine" Height="150" Width="600"></asp:textbox></td>
  50.                             </tr>
  51.                             <tr>
  52.                                 <td><asp:button id="cmdSubmit" Runat="server" Text="Submit"></asp:button></td>
  53.                             </tr>
  54.                         </table>
  55.                     </td>
  56.                 </tr>
  57.             </table>
  58.         </form>
  59.     </body>
  60. </HTML>
  61.  
  62.  
  63.  
Nov 5 '07 #1
3 8778
nateraaaa
663 Expert 512MB
Which line is the server error pointing to ? I think it is probably the required field validator that you have commented out. Remove the required field validator and copy it to notepad temporarily. Now save the file and try to show the page in a browser again.

Nathan
Nov 5 '07 #2
Hi it is pointing this line

Expand|Select|Wrap|Line Numbers
  1.  
  2. <td><asp:textbox id="txttest" Runat="server" Visible="False"  OnDataBinding ="'<%# DataBinder.Eval(Container.DataItem,"eomId")%>'"></asp:textbox></td>
  3.  
Nov 5 '07 #3
nateraaaa
663 Expert 512MB
Hi it is pointing this line

Expand|Select|Wrap|Line Numbers
  1.  
  2. <td><asp:textbox id="txttest" Runat="server" Visible="False"  OnDataBinding ="'<%# DataBinder.Eval(Container.DataItem,"eomId")%>'"></asp:textbox></td>
  3.  
Remove the double quote around your DataBind.Eval statement. Surround it with a single quote only.
Expand|Select|Wrap|Line Numbers
  1. OnDataBinding ='<%# DataBinder.Eval(Container.DataItem,"eomId")%>'
Nov 5 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Stop Bsod | last post by:
Hello, I'm quite a newbie in XML. What I wanted to do is just a simple web page (html or xhtml) that use XML. The point of the page is to show all my links/bookmarks, wherever I want to see them...
0
by: dfgasner | last post by:
I am very new at all of this and am using a book to put together an e-commerce website using VS.NET 2003. I have run into a problem and have looked around the web but with no help. I am getting...
2
by: Arpan | last post by:
I came across the following statement at http://windowssdk.msdn.microsoft.com/en-us/library/hdf992b8.aspx: Although an XML document is considered to be well formed if it meets all the...
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
4
by: =?Utf-8?B?c3Jpbml2YXM=?= | last post by:
Hi all, I'm getting the 'The server tag is not well formed.' error for this tag in aspx page <a href="javascript:openPopup('default.aspx?EmpID=<%# Eval("EmpID") %>&Type=1')" id="lnkDestination"...
1
by: alien_attack | last post by:
I have the a repeater which is databound to an XmlDatasource. Inside the repeater is a Label as follows: <asp:Label ID="lbl" runat="server" Text='<%# XPath("Asset_Metadata/@Value")%>' /> ...
3
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hi,misters I'll try put an attribute runat="server" to TR in ItemTemplate of DAtalist .... <ItemTemplate> <tr id="filaListado<%# Eval("idtareasworkflow") %>"...
1
by: LiveCycle | last post by:
Hi, I've got a longstanding project that's been working fine for about a year. I was working on one of the pages, a simple download page. After making a little tweak on the page, I tried to...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.