Click here to Skip to main content
12,550,111 members (46,265 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP.NET
I am doing a page where the the page lists out all event names by event type with a repeater. The name then will be in hyperlink which will connect to another page. When i run it , this line is where i am getting an error.
<asp:HyperLink ID="HyperLink1" runat="server" Text='<%# Eval ("INV_ActivityName) %>' NavigateUrl='<%# String.Concat("EditEvents.aspx?INV_ActivityID=" ,Eval("INV_ActivityID")) %>'></asp:HyperLink>

Posted 17-Dec-12 10:15am
Updated 17-Dec-12 10:16am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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

are you missing quote here??

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

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.161021.1 | Last Updated 17 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100