I'm creating a custom field that stores multiple link inside. The user control works, but it shows me the link like text so now I'm overloading the GetFieldValueAsHtml to modify the HTML..
How can I write down my link as SPLink? Every SPLink Properties is "readonly", so i can't understand HOW to do that!
I'd like to do something like that:
public override string GetFieldValueAsHtml(object value)
{
string[] address= base.GetFieldValueAsText(value).Split(';');
foreach (string s in address)
{
SPLink link = new SPLink();
/*
* MODIFY LINK
* */
this.FieldRenderingControl.Controls.Add(link);
}
//Code to convert in HTML my Control
}