Click here to Skip to main content
15,914,608 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
<a id="A1" runat="server" href='<%# Eval("Url") %>'>
<%# Eval("Title")%>
AND i want to add a ID of Accordian Bootstrapind "#monertrans" in href so how can i add this .

What I have tried:

I m trying to add after Eval("Url").but its not working.
Posted
Updated 20-Jun-16 3:20am
Comments
Karthik_Mahalingam 20-Jun-16 8:32am    
what value you are getting in href?
what is the expected value

1 solution

<a id="A1" runat="server" href='<%#string.Format("{0}#monertrans", Eval("Url")) %>'>
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900