Click here to Skip to main content
15,881,938 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
XML
<asp:HyperLink ID=&quot;hlcnm&quot; ForeColor=&quot;Blue&quot; runat=&quot;server&quot; DataTextField=&quot;CaseNo&quot;
                                        ItemStyle-Width=&quot;14%&quot; HeaderText=&quot;Incident ID&quot; DataNavigateUrlFields=&quot;ID&quot; NavigateUrl=&#39;&lt;%=&quot;../IncidentSummary.aspx?key=&quot; + CSIRT.Crypto.CryptoOperations.GetEncryptedString(&quot;ID={0}&quot;) %&gt;&#39;
                                        Text=&#39;&lt;%# DataBinder.Eval(Container.DataItem, &quot;CaseNo&quot;)%&gt;&#39; SortExpression=&quot;CaseNo&quot; /&gt;</pre>
<big></big>


please ,i want to convert the NavigateURL to href ...

Thanks in advance ......
Posted
Comments
Sergey Alexandrovich Kryukov 4-Sep-14 2:07am    
I don't understand it and don't think it makes any sense. URL is URL, and "href" is the HTML attribute.
NavigateURL is the property. Using this property, ASP.NET will generate corresponding HTML content...
What are you going to "convert" and why?
—SA

1 solution

 
Share this answer
 
Comments
kavitha3 4-Sep-14 8:20am    
Thanks Hajnal ...
it worked (added unique ClientID)..
Sergey Alexandrovich Kryukov 4-Sep-14 10:14am    
Right... 5ed.
—SA
Sinisa Hajnal 4-Sep-14 15:25pm    
Thank you

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