I am working on a internet site which has all the best practices used in it. I have a simple task but want to make sure that i also use the best possible solution.
The requirement is that i have to output a text which contains a link on the webpart
so i have taken a literal
<asp:Literal ID="litVal" runat="server"></asp:Literal>
and in code behind string outVal = someFunction();//get val from list
value of outVal is (without quotes)
"some text here some text, some text here some text here"
Now, what i have to do is - to get the link on the part of the text after "comma"