473,698 Members | 2,632 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

The server tag is not well formed.

67 New Member
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 8798
nateraaaa
663 Recognized Expert Contributor
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
preeti13
67 New Member
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 Recognized Expert Contributor
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
3536
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 through a browser. So, I wrote a simple XML file and a simple XSL-T file that process the XML. I like it : really easy to maintain, change the layout. So far, so good.... BUT :
0
1853
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 the following error when I try to load my website. 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...
2
2186
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 syntactical requirements defined by the World Wide Web Consortium (W3C) Extensible Markup Language (XML) 1.0 Recommendation, it is not considered valid unless it is well formed and also conforms to the constraints defined by its DTD or schema. Therefore,...
2
6956
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 attending interviews. If you own a company best way to judge if the candidate is worth of it. http://www.questpond.com/InterviewRatingSheet.zip
4
25159
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" name="lnkDestination" accesskey="lnkDestination" runat="server">Show</a> Can anybody please help me in resolving this?
1
4594
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")%>' /> This gives me a "The server tag is not well formed". It seems to be because of the single quotes in the XPath statement. I've tried changing the single quotes to &apos; which compiles fine,
3
506
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") %>" onclick="SeleccionarFilaLis('<%# Eval("idtareasworkflow") %>', '<%# Eval("Offset") %>');"
1
20208
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 re-run the project and got the error: The server block is not well formed. Page: FileDownload.aspx, line 23935. Now, there are only about 50 lines on this page, so something's off. I've tried rebooting. I've tried Rebuild Solution. I've...
0
8685
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9171
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9032
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8880
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7743
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4373
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2342
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.