donsafar
Posts: 90
|
Posted: 06/22/2004, 6:36 PM |
|
As a way to facilitate my C# learning curve, I published the CCS example pack. In trying to navigate the samples, I keep getting the same type of error. The error is as below
Parser Error Message: The tag contains duplicate 'id' attributes.
Source Error:
Line 422: </asp:PlaceHolder>
Line 423:
Line 424: <tr id="<asp:Literal id="store_orders_itemsRowIDAttribute" Text='<%# Server.HtmlEncode(((store_orders_itemsItem)Container.DataItem).RowIDAttribute.GetFormattedValue()).Replace("\r","").Replace("\n","<br>") %>' runat="server"/>" name="<asp:Literal id="store_orders_itemsRowNameAttribute" Text='<%# Server.HtmlEncode(((store_orders_itemsItem)Container.DataItem).RowNameAttribute.GetFormattedValue()).Replace("\r","").Replace("\n","<br>") %>' runat="server"/>" <asp:Literal id="store_orders_itemsRowStyleAttribute" Text='<%# ((store_orders_itemsItem)Container.DataItem).RowStyleAttribute.GetFormattedValue() %>' runat="server"/>>
Line 425: <td><input name="" type="hidden" value="<%# ((store_orders_itemsItem)Container.DataItem).order_id.GetFormattedValue() %>" id='store_orders_itemsorder_id' runat="server">
Line 426: <select name="" id='store_orders_itemsproduct_id' runat="server">
This same error (duplicate id) occurs in the following samples
Editable Grid with 'Add Row' Button, Editable Grid with Auto New Rows, Master-Detail Form for Order Entry, Updating Many-to-Many via Two ListBoxes , Pop-up List & Smart Lookup .
I am testing on windows xp pro sp1, with 2.2.3.60, IIS 5.1, C#, .NET framework v1.1.4322.
Anyone else had this problem?
_________________
Don Safar
|
|
|
Stan
|
Posted: 06/22/2004, 11:46 PM |
|
Don
Did you switch your project from another language? The C# project should be created using New Project > Solutions - CCS Example Pack with selected language "ASP.NET C#"
Stan
|
|
|
LV
|
Posted: 06/23/2004, 6:34 AM |
|
I was able to generate all CCS example pack in .NET VB. May be something wrong with your CCS installation, you may want to backup any project you may have, remove and reinstall it. The CCS support group is helpful for these types of problems drop them a request and see what may happen.
|
|
|
Don Safar
|
Posted: 06/23/2004, 10:39 AM |
|
Thanks for the tip, I had created the project from the ASP 3.0 file.
"Stan" <Stan@forum.codecharge> wrote in message
news:840d9274c71700@news.codecharge.com...
> Don
>
> Did you switch your project from another language? The C# project should
be
> created using New Project > Solutions - CCS Example Pack with selected
language
> "ASP.NET C#"
>
> Stan
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
eemanuelson
Posts: 3
|
Posted: 03/09/2005, 3:26 PM |
|
Stan, how did you resolve this issue? I'm having the same problem.
Any help is appreciated.
Erik
|
|
|
peterr
Posts: 5971
|
Posted: 03/09/2005, 8:52 PM |
|
I see that Stan described above how to solve this problem.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
mrachow
Posts: 509
|
Posted: 03/10/2005, 1:39 AM |
|
Where do you see this Peter??
_________________
Best regards,
Michael |
|
|
peterr
Posts: 5971
|
Posted: 03/10/2005, 1:48 AM |
|
There is only one post from Stan above. It explains what to do.
Again: Quote Stan:The C# project should be created using New Project > Solutions - CCS Example Pack with selected language "ASP.NET C#"
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
|